janito 1.13.1__tar.gz → 1.14.0__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 (190) hide show
  1. {janito-1.13.1/janito.egg-info → janito-1.14.0}/PKG-INFO +6 -3
  2. {janito-1.13.1 → janito-1.14.0}/README.md +4 -1
  3. {janito-1.13.1 → janito-1.14.0}/janito/agent/config.py +9 -3
  4. {janito-1.13.1 → janito-1.14.0}/janito/agent/templates/profiles/system_prompt_template_base.txt.j2 +9 -4
  5. {janito-1.13.1 → janito-1.14.0}/janito/shell/ui/interactive.py +11 -9
  6. {janito-1.13.1 → janito-1.14.0/janito.egg-info}/PKG-INFO +6 -3
  7. {janito-1.13.1 → janito-1.14.0}/pyproject.toml +2 -2
  8. {janito-1.13.1 → janito-1.14.0}/LICENSE +0 -0
  9. {janito-1.13.1 → janito-1.14.0}/MANIFEST.in +0 -0
  10. {janito-1.13.1 → janito-1.14.0}/janito/__init__.py +0 -0
  11. {janito-1.13.1 → janito-1.14.0}/janito/__main__.py +0 -0
  12. {janito-1.13.1 → janito-1.14.0}/janito/agent/__init__.py +0 -0
  13. {janito-1.13.1 → janito-1.14.0}/janito/agent/api_exceptions.py +0 -0
  14. {janito-1.13.1 → janito-1.14.0}/janito/agent/config_defaults.py +0 -0
  15. {janito-1.13.1 → janito-1.14.0}/janito/agent/config_utils.py +0 -0
  16. {janito-1.13.1 → janito-1.14.0}/janito/agent/content_handler.py +0 -0
  17. {janito-1.13.1 → janito-1.14.0}/janito/agent/conversation.py +0 -0
  18. {janito-1.13.1 → janito-1.14.0}/janito/agent/conversation_api.py +0 -0
  19. {janito-1.13.1 → janito-1.14.0}/janito/agent/conversation_exceptions.py +0 -0
  20. {janito-1.13.1 → janito-1.14.0}/janito/agent/conversation_tool_calls.py +0 -0
  21. {janito-1.13.1 → janito-1.14.0}/janito/agent/conversation_ui.py +0 -0
  22. {janito-1.13.1 → janito-1.14.0}/janito/agent/event.py +0 -0
  23. {janito-1.13.1 → janito-1.14.0}/janito/agent/event_dispatcher.py +0 -0
  24. {janito-1.13.1 → janito-1.14.0}/janito/agent/event_handler_protocol.py +0 -0
  25. {janito-1.13.1 → janito-1.14.0}/janito/agent/event_system.py +0 -0
  26. {janito-1.13.1 → janito-1.14.0}/janito/agent/llm_conversation_history.py +0 -0
  27. {janito-1.13.1 → janito-1.14.0}/janito/agent/message_handler.py +0 -0
  28. {janito-1.13.1 → janito-1.14.0}/janito/agent/message_handler_protocol.py +0 -0
  29. {janito-1.13.1 → janito-1.14.0}/janito/agent/openai_client.py +0 -0
  30. {janito-1.13.1 → janito-1.14.0}/janito/agent/openai_schema_generator.py +0 -0
  31. {janito-1.13.1 → janito-1.14.0}/janito/agent/platform_discovery.py +0 -0
  32. {janito-1.13.1 → janito-1.14.0}/janito/agent/profile_manager.py +0 -0
  33. {janito-1.13.1 → janito-1.14.0}/janito/agent/queued_message_handler.py +0 -0
  34. {janito-1.13.1 → janito-1.14.0}/janito/agent/rich_live.py +0 -0
  35. {janito-1.13.1 → janito-1.14.0}/janito/agent/rich_message_handler.py +0 -0
  36. {janito-1.13.1 → janito-1.14.0}/janito/agent/runtime_config.py +0 -0
  37. {janito-1.13.1 → janito-1.14.0}/janito/agent/templates/profiles/system_prompt_template_base_pt.txt.j2 +0 -0
  38. {janito-1.13.1 → janito-1.14.0}/janito/agent/test_handler_protocols.py +0 -0
  39. {janito-1.13.1 → janito-1.14.0}/janito/agent/test_openai_schema_generator.py +0 -0
  40. {janito-1.13.1 → janito-1.14.0}/janito/agent/tests/__init__.py +0 -0
  41. {janito-1.13.1 → janito-1.14.0}/janito/agent/tool_base.py +0 -0
  42. {janito-1.13.1 → janito-1.14.0}/janito/agent/tool_executor.py +0 -0
  43. {janito-1.13.1 → janito-1.14.0}/janito/agent/tool_registry.py +0 -0
  44. {janito-1.13.1 → janito-1.14.0}/janito/agent/tool_use_tracker.py +0 -0
  45. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/__init__.py +0 -0
  46. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/ask_user.py +0 -0
  47. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/create_directory.py +0 -0
  48. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/create_file.py +0 -0
  49. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/delete_text_in_file.py +0 -0
  50. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/fetch_url.py +0 -0
  51. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/find_files.py +0 -0
  52. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/get_file_outline/__init__.py +0 -0
  53. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/get_file_outline/core.py +0 -0
  54. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/get_file_outline/markdown_outline.py +0 -0
  55. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/get_file_outline/python_outline.py +0 -0
  56. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/get_file_outline/search_outline.py +0 -0
  57. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/get_lines.py +0 -0
  58. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/move_file.py +0 -0
  59. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/open_url.py +0 -0
  60. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/present_choices.py +0 -0
  61. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/python_command_runner.py +0 -0
  62. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/python_file_runner.py +0 -0
  63. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/python_stdin_runner.py +0 -0
  64. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/remove_directory.py +0 -0
  65. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/remove_file.py +0 -0
  66. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/replace_file.py +0 -0
  67. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/replace_text_in_file.py +0 -0
  68. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/run_bash_command.py +0 -0
  69. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/run_powershell_command.py +0 -0
  70. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/search_text/__init__.py +0 -0
  71. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/search_text/core.py +0 -0
  72. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/search_text/match_lines.py +0 -0
  73. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/search_text/pattern_utils.py +0 -0
  74. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/search_text/traverse_directory.py +0 -0
  75. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/validate_file_syntax/__init__.py +0 -0
  76. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/validate_file_syntax/core.py +0 -0
  77. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/validate_file_syntax/css_validator.py +0 -0
  78. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/validate_file_syntax/html_validator.py +0 -0
  79. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/validate_file_syntax/js_validator.py +0 -0
  80. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/validate_file_syntax/json_validator.py +0 -0
  81. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/validate_file_syntax/markdown_validator.py +0 -0
  82. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/validate_file_syntax/ps1_validator.py +0 -0
  83. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/validate_file_syntax/python_validator.py +0 -0
  84. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/validate_file_syntax/xml_validator.py +0 -0
  85. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools/validate_file_syntax/yaml_validator.py +0 -0
  86. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools_utils/__init__.py +0 -0
  87. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools_utils/action_type.py +0 -0
  88. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools_utils/dir_walk_utils.py +0 -0
  89. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools_utils/formatting.py +0 -0
  90. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools_utils/gitignore_utils.py +0 -0
  91. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools_utils/test_gitignore_utils.py +0 -0
  92. {janito-1.13.1 → janito-1.14.0}/janito/agent/tools_utils/utils.py +0 -0
  93. {janito-1.13.1 → janito-1.14.0}/janito/cli/__init__.py +0 -0
  94. {janito-1.13.1 → janito-1.14.0}/janito/cli/_livereload_log_utils.py +0 -0
  95. {janito-1.13.1 → janito-1.14.0}/janito/cli/_print_config.py +0 -0
  96. {janito-1.13.1 → janito-1.14.0}/janito/cli/_termweb_log_utils.py +0 -0
  97. {janito-1.13.1 → janito-1.14.0}/janito/cli/_utils.py +0 -0
  98. {janito-1.13.1 → janito-1.14.0}/janito/cli/arg_parser.py +0 -0
  99. {janito-1.13.1 → janito-1.14.0}/janito/cli/cli_main.py +0 -0
  100. {janito-1.13.1 → janito-1.14.0}/janito/cli/config_commands.py +0 -0
  101. {janito-1.13.1 → janito-1.14.0}/janito/cli/config_runner.py +0 -0
  102. {janito-1.13.1 → janito-1.14.0}/janito/cli/formatting_runner.py +0 -0
  103. {janito-1.13.1 → janito-1.14.0}/janito/cli/livereload_starter.py +0 -0
  104. {janito-1.13.1 → janito-1.14.0}/janito/cli/logging_setup.py +0 -0
  105. {janito-1.13.1 → janito-1.14.0}/janito/cli/main.py +0 -0
  106. {janito-1.13.1 → janito-1.14.0}/janito/cli/one_shot.py +0 -0
  107. {janito-1.13.1 → janito-1.14.0}/janito/cli/termweb_starter.py +0 -0
  108. {janito-1.13.1 → janito-1.14.0}/janito/i18n/__init__.py +0 -0
  109. {janito-1.13.1 → janito-1.14.0}/janito/i18n/messages.py +0 -0
  110. {janito-1.13.1 → janito-1.14.0}/janito/i18n/pt.py +0 -0
  111. {janito-1.13.1 → janito-1.14.0}/janito/livereload/app.py +0 -0
  112. {janito-1.13.1 → janito-1.14.0}/janito/rich_utils.py +0 -0
  113. {janito-1.13.1 → janito-1.14.0}/janito/shell/__init__.py +0 -0
  114. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/__init__.py +0 -0
  115. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/config.py +0 -0
  116. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/conversation_restart.py +0 -0
  117. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/edit.py +0 -0
  118. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/history_view.py +0 -0
  119. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/lang.py +0 -0
  120. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/livelogs.py +0 -0
  121. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/prompt.py +0 -0
  122. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/session.py +0 -0
  123. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/session_control.py +0 -0
  124. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/termweb_log.py +0 -0
  125. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/tools.py +0 -0
  126. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/track.py +0 -0
  127. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/utility.py +0 -0
  128. {janito-1.13.1 → janito-1.14.0}/janito/shell/commands/verbose.py +0 -0
  129. {janito-1.13.1 → janito-1.14.0}/janito/shell/input_history.py +0 -0
  130. {janito-1.13.1 → janito-1.14.0}/janito/shell/main.py +0 -0
  131. {janito-1.13.1 → janito-1.14.0}/janito/shell/prompt/completer.py +0 -0
  132. {janito-1.13.1 → janito-1.14.0}/janito/shell/prompt/load_prompt.py +0 -0
  133. {janito-1.13.1 → janito-1.14.0}/janito/shell/prompt/session_setup.py +0 -0
  134. {janito-1.13.1 → janito-1.14.0}/janito/shell/session/config.py +0 -0
  135. {janito-1.13.1 → janito-1.14.0}/janito/shell/session/history.py +0 -0
  136. {janito-1.13.1 → janito-1.14.0}/janito/shell/session/manager.py +0 -0
  137. {janito-1.13.1 → janito-1.14.0}/janito/termweb/app.py +0 -0
  138. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/editor.css +0 -0
  139. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/editor.css.bak +0 -0
  140. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/editor.html +0 -0
  141. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/editor.html.bak +0 -0
  142. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/editor.js +0 -0
  143. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/editor.js.bak +0 -0
  144. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/explorer.html.bak +0 -0
  145. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/favicon.ico +0 -0
  146. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/favicon.ico.bak +0 -0
  147. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/index.html +0 -0
  148. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/index.html.bak +0 -0
  149. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/index.html.bak.bak +0 -0
  150. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/landing.html.bak +0 -0
  151. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/termicon.svg +0 -0
  152. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/termweb.css +0 -0
  153. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/termweb.css.bak +0 -0
  154. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/termweb.js +0 -0
  155. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/termweb.js.bak +0 -0
  156. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/termweb.js.bak.bak +0 -0
  157. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/termweb_quickopen.js +0 -0
  158. {janito-1.13.1 → janito-1.14.0}/janito/termweb/static/termweb_quickopen.js.bak +0 -0
  159. {janito-1.13.1 → janito-1.14.0}/janito/tests/test_rich_utils.py +0 -0
  160. {janito-1.13.1 → janito-1.14.0}/janito/web/__init__.py +0 -0
  161. {janito-1.13.1 → janito-1.14.0}/janito/web/__main__.py +0 -0
  162. {janito-1.13.1 → janito-1.14.0}/janito/web/app.py +0 -0
  163. {janito-1.13.1 → janito-1.14.0}/janito.egg-info/SOURCES.txt +0 -0
  164. {janito-1.13.1 → janito-1.14.0}/janito.egg-info/dependency_links.txt +0 -0
  165. {janito-1.13.1 → janito-1.14.0}/janito.egg-info/entry_points.txt +0 -0
  166. {janito-1.13.1 → janito-1.14.0}/janito.egg-info/requires.txt +0 -0
  167. {janito-1.13.1 → janito-1.14.0}/janito.egg-info/top_level.txt +0 -0
  168. {janito-1.13.1 → janito-1.14.0}/setup.cfg +0 -0
  169. {janito-1.13.1 → janito-1.14.0}/tests/test_basic.py +0 -0
  170. {janito-1.13.1 → janito-1.14.0}/tests/test_find_files.py +0 -0
  171. {janito-1.13.1 → janito-1.14.0}/tests/test_outline_formatter.py +0 -0
  172. {janito-1.13.1 → janito-1.14.0}/tests/test_outline_no_overlap.py +0 -0
  173. {janito-1.13.1 → janito-1.14.0}/tests/test_outline_python_file.py +0 -0
  174. {janito-1.13.1 → janito-1.14.0}/tests/test_outline_python_file_complex.py +0 -0
  175. {janito-1.13.1 → janito-1.14.0}/tests/test_outline_tool_run.py +0 -0
  176. {janito-1.13.1 → janito-1.14.0}/tests/test_platform_discovery.py +0 -0
  177. {janito-1.13.1 → janito-1.14.0}/tests/test_python_command_runner.py +0 -0
  178. {janito-1.13.1 → janito-1.14.0}/tests/test_python_file_runner.py +0 -0
  179. {janito-1.13.1 → janito-1.14.0}/tests/test_python_stdin_runner.py +0 -0
  180. {janito-1.13.1 → janito-1.14.0}/tests/test_rich_message_handler_action_type.py +0 -0
  181. {janito-1.13.1 → janito-1.14.0}/tests/test_run_powershell_command.py +0 -0
  182. {janito-1.13.1 → janito-1.14.0}/tests/test_search_text.py +0 -0
  183. {janito-1.13.1 → janito-1.14.0}/tests/test_set_role.py +0 -0
  184. {janito-1.13.1 → janito-1.14.0}/tests/test_tool_registry_docstring_formats.py +0 -0
  185. {janito-1.13.1 → janito-1.14.0}/tests/test_tool_registry_manual_sim.py +0 -0
  186. {janito-1.13.1 → janito-1.14.0}/tests/test_tool_registry_validation.py +0 -0
  187. {janito-1.13.1 → janito-1.14.0}/tests/test_tool_use_tracker.py +0 -0
  188. {janito-1.13.1 → janito-1.14.0}/tests/test_validate_file_syntax.py +0 -0
  189. {janito-1.13.1 → janito-1.14.0}/tests/test_validate_file_syntax_xml_html.py +0 -0
  190. {janito-1.13.1 → janito-1.14.0}/tests/test_validate_markdown_syntax.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: janito
3
- Version: 1.13.1
4
- Summary: Natural Language Coding Agent,
3
+ Version: 1.14.0
4
+ Summary: Natural Language Programming Agent,
5
5
  Author-email: João Pinto <joao.pinto@gmail.com>
6
6
  License-Expression: MIT
7
7
  Project-URL: homepage, https://janito.dev
@@ -29,10 +29,13 @@ Requires-Dist: mkdocs>=1.5.3; extra == "docs"
29
29
  Requires-Dist: mkdocs-material>=9.4.8; extra == "docs"
30
30
  Dynamic: license-file
31
31
 
32
- # 🚀 Janito: Natural Language Coding Agent
32
+ # 🚀 Janito: Natural Language Programming Agent
33
33
 
34
34
  Janito is an AI-powered assistant for the command line and web that interprets natural language system_prompt_template to edit code, manage files, and analyze projects using patterns and tools designed by experienced software engineers. It prioritizes transparency, interactive clarification, and precise, reviewable changes.
35
35
 
36
+ ![Janito Terminal Shell Screenshot](https://github.com/joaompinto/janito/raw/main/docs/imgs/terminal_shell.png)
37
+
38
+
36
39
  For a technical overview, see the [Architecture Guide](docs/reference/architecture.md).
37
40
 
38
41
  ## 📖 Full Documentation & Overview
@@ -1,7 +1,10 @@
1
- # 🚀 Janito: Natural Language Coding Agent
1
+ # 🚀 Janito: Natural Language Programming Agent
2
2
 
3
3
  Janito is an AI-powered assistant for the command line and web that interprets natural language system_prompt_template to edit code, manage files, and analyze projects using patterns and tools designed by experienced software engineers. It prioritizes transparency, interactive clarification, and precise, reviewable changes.
4
4
 
5
+ ![Janito Terminal Shell Screenshot](https://github.com/joaompinto/janito/raw/main/docs/imgs/terminal_shell.png)
6
+
7
+
5
8
  For a technical overview, see the [Architecture Guide](docs/reference/architecture.md).
6
9
 
7
10
  ## 📖 Full Documentation & Overview
@@ -39,9 +39,15 @@ class FileConfig(BaseConfig):
39
39
  def load(self):
40
40
  if self.path.exists():
41
41
  with open(self.path, "r", encoding="utf-8") as f:
42
- self._data = json.load(f)
43
- # Remove keys with value None (null in JSON)
44
- self._data = {k: v for k, v in self._data.items() if v is not None}
42
+ try:
43
+ self._data = json.load(f)
44
+ # Remove keys with value None (null in JSON)
45
+ self._data = {k: v for k, v in self._data.items() if v is not None}
46
+ except json.JSONDecodeError as e:
47
+ print(
48
+ f"⚠️ Warning: The config file '{self.path}' is corrupted (invalid JSON): {e}. Using empty config."
49
+ )
50
+ self._data = {}
45
51
 
46
52
  else:
47
53
  self._data = {}
@@ -3,11 +3,15 @@
3
3
  #}
4
4
  You are: {{ role }}
5
5
 
6
+ You will answer following a pattern of: discovery, description, implementation (when a change was request) and validation.
7
+
6
8
  {# Improves tool selection and platform specific constrains, eg, path format, C:\ vs /path #}
7
- You will be developing and testing in the following environment:
9
+ You will be using the following environment:
8
10
  Platform: {{ platform }}
9
11
  Python version: {{ python_version }}
10
12
  Shell/Environment: {{ shell_info }}
13
+
14
+ Before answering map the questions to artifacts found in the current directory - the current project.
11
15
 
12
16
  Respond according to the following guidelines:
13
17
  {# Exploratory hint #}
@@ -20,11 +24,12 @@ Respond according to the following guidelines:
20
24
  - Use the namespace functions to deliver the code changes instead of showing the code.
21
25
  {# Drive edit mode, place holders critical as shown to be crucial to avoid corruption with code placeholders #}
22
26
  - Prefer making localized edits using string replacements. If the required change is extensive, replace the entire file instead, provide full content without placeholders.
23
- {# Trying to prevent surrogates generation, found this frequently in gpt4.1/windows #}
27
+ {# Trying to prevent surrogates generation, found this frequently in gpt4.1/windows #}
24
28
  - While writing code, if you need an emoji or special Unicode character in a string, then insert the actual character (e.g., 📖) directly instead of using surrogate pairs or escape sequences.
25
29
  {# Without this, the LLM choses to create files from a literal interpretation of the purpose and intention #}
26
30
  - Before creating files search the code for the location related to the file purpose
27
- {# This will trigger a search for the old names/locations to be updates #}
31
+ {# This will trigger a search for the old names/locations to be updates #}
28
32
  - After moving, removing or renaming functions or classes to different modules, update all imports, references, tests, and documentation to reflect the new locations, then verify functionality.
29
33
  {# Keeping docstrings update is key to have semanatic match between prompts and code #}
30
- - Once development or updates are finished, ensure that new or updated packages, modules, functions are properly documented.
34
+ - Once development or updates are finished, ensure that new or updated packages, modules, functions are properly documented.
35
+
@@ -105,11 +105,11 @@ def assemble_second_line(
105
105
 
106
106
  def assemble_bindings_line():
107
107
  return (
108
- f"<b> F12</b>: {tr('Quick Action')} | "
108
+ f" <b>F1</b>: {tr('Restart Conversation')} | "
109
+ f"<b>F12</b>: {tr('Do It')} | "
109
110
  f"<b>Ctrl-Y</b>: {tr('Yes')} | "
110
111
  f"<b>Ctrl-N</b>: {tr('No')} | "
111
- f"<b>/help</b>: {tr('Help')} | "
112
- f"<b>/restart</b>: {tr('Reset Conversation')}"
112
+ f"<b>/help</b>: {tr('Help')}"
113
113
  )
114
114
 
115
115
 
@@ -154,21 +154,17 @@ def get_toolbar_func(
154
154
  def get_custom_key_bindings():
155
155
  """
156
156
  Returns prompt_toolkit KeyBindings for custom CLI shortcuts:
157
- - F12: Cycles through quick action phrases and submits.
157
+ - F12: Inserts 'Do It' and submits.
158
158
  - Ctrl-Y: Inserts 'Yes' and submits (for confirmation prompts).
159
159
  - Ctrl-N: Inserts 'No' and submits (for confirmation prompts).
160
160
  """
161
161
  bindings = KeyBindings()
162
- _f12_instructions = ["proceed", "go ahead", "continue", "next", "okay"]
163
- _f12_index = {"value": 0}
164
162
 
165
163
  @bindings.add("f12")
166
164
  def _(event):
167
165
  buf = event.app.current_buffer
168
- idx = _f12_index["value"]
169
- buf.text = _f12_instructions[idx]
166
+ buf.text = "Do It"
170
167
  buf.validate_and_handle()
171
- _f12_index["value"] = (idx + 1) % len(_f12_instructions)
172
168
 
173
169
  @bindings.add("c-y")
174
170
  def _(event):
@@ -182,6 +178,12 @@ def get_custom_key_bindings():
182
178
  buf.text = "No"
183
179
  buf.validate_and_handle()
184
180
 
181
+ @bindings.add("f1")
182
+ def _(event):
183
+ buf = event.app.current_buffer
184
+ buf.text = "/restart"
185
+ buf.validate_and_handle()
186
+
185
187
  return bindings
186
188
 
187
189
 
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: janito
3
- Version: 1.13.1
4
- Summary: Natural Language Coding Agent,
3
+ Version: 1.14.0
4
+ Summary: Natural Language Programming Agent,
5
5
  Author-email: João Pinto <joao.pinto@gmail.com>
6
6
  License-Expression: MIT
7
7
  Project-URL: homepage, https://janito.dev
@@ -29,10 +29,13 @@ Requires-Dist: mkdocs>=1.5.3; extra == "docs"
29
29
  Requires-Dist: mkdocs-material>=9.4.8; extra == "docs"
30
30
  Dynamic: license-file
31
31
 
32
- # 🚀 Janito: Natural Language Coding Agent
32
+ # 🚀 Janito: Natural Language Programming Agent
33
33
 
34
34
  Janito is an AI-powered assistant for the command line and web that interprets natural language system_prompt_template to edit code, manage files, and analyze projects using patterns and tools designed by experienced software engineers. It prioritizes transparency, interactive clarification, and precise, reviewable changes.
35
35
 
36
+ ![Janito Terminal Shell Screenshot](https://github.com/joaompinto/janito/raw/main/docs/imgs/terminal_shell.png)
37
+
38
+
36
39
  For a technical overview, see the [Architecture Guide](docs/reference/architecture.md).
37
40
 
38
41
  ## 📖 Full Documentation & Overview
@@ -1,8 +1,8 @@
1
1
  [project]
2
2
  name = "janito"
3
3
 
4
- version = "1.13.1"
5
- description = "Natural Language Coding Agent,"
4
+ version = "1.14.0"
5
+ description = "Natural Language Programming Agent,"
6
6
  authors = [
7
7
  { name = "João Pinto", email = "joao.pinto@gmail.com" }
8
8
  ]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes