janito 1.14.1__tar.gz → 1.14.3__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.
- {janito-1.14.1/janito.egg-info → janito-1.14.3}/PKG-INFO +11 -6
- {janito-1.14.1 → janito-1.14.3}/README.md +9 -4
- janito-1.14.3/janito/__init__.py +1 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/prompt.py +13 -3
- {janito-1.14.1 → janito-1.14.3}/janito/shell/main.py +1 -0
- {janito-1.14.1 → janito-1.14.3/janito.egg-info}/PKG-INFO +11 -6
- {janito-1.14.1 → janito-1.14.3}/pyproject.toml +2 -2
- janito-1.14.1/janito/__init__.py +0 -1
- {janito-1.14.1 → janito-1.14.3}/LICENSE +0 -0
- {janito-1.14.1 → janito-1.14.3}/MANIFEST.in +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/__main__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/__init__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/api_exceptions.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/config.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/config_defaults.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/config_utils.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/content_handler.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/conversation.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/conversation_api.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/conversation_exceptions.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/conversation_tool_calls.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/conversation_ui.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/event.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/event_dispatcher.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/event_handler_protocol.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/event_system.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/llm_conversation_history.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/message_handler.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/message_handler_protocol.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/openai_client.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/openai_schema_generator.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/platform_discovery.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/profile_manager.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/queued_message_handler.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/rich_live.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/rich_message_handler.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/runtime_config.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/templates/profiles/system_prompt_template_base.txt.j2 +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/templates/profiles/system_prompt_template_base_pt.txt.j2 +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/test_handler_protocols.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/test_openai_schema_generator.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tests/__init__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tool_base.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tool_executor.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tool_registry.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tool_use_tracker.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/__init__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/ask_user.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/create_directory.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/create_file.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/delete_text_in_file.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/fetch_url.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/find_files.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/get_file_outline/__init__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/get_file_outline/core.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/get_file_outline/markdown_outline.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/get_file_outline/python_outline.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/get_file_outline/search_outline.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/get_lines.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/move_file.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/open_url.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/present_choices.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/python_command_runner.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/python_file_runner.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/python_stdin_runner.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/remove_directory.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/remove_file.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/replace_file.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/replace_text_in_file.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/run_bash_command.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/run_powershell_command.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/search_text/__init__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/search_text/core.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/search_text/match_lines.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/search_text/pattern_utils.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/search_text/traverse_directory.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/validate_file_syntax/__init__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/validate_file_syntax/core.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/validate_file_syntax/css_validator.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/validate_file_syntax/html_validator.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/validate_file_syntax/js_validator.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/validate_file_syntax/json_validator.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/validate_file_syntax/markdown_validator.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/validate_file_syntax/ps1_validator.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/validate_file_syntax/python_validator.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/validate_file_syntax/xml_validator.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools/validate_file_syntax/yaml_validator.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools_utils/__init__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools_utils/action_type.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools_utils/dir_walk_utils.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools_utils/formatting.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools_utils/gitignore_utils.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools_utils/test_gitignore_utils.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/agent/tools_utils/utils.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/__init__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/_livereload_log_utils.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/_print_config.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/_termweb_log_utils.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/_utils.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/arg_parser.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/cli_main.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/config_commands.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/config_runner.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/formatting_runner.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/livereload_starter.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/logging_setup.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/main.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/one_shot.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/cli/termweb_starter.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/i18n/__init__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/i18n/messages.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/i18n/pt.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/livereload/app.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/rich_utils.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/__init__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/__init__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/config.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/conversation_restart.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/edit.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/history_view.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/lang.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/livelogs.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/session.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/session_control.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/termweb_log.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/tools.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/track.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/utility.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/commands/verbose.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/input_history.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/prompt/completer.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/prompt/load_prompt.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/prompt/session_setup.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/session/config.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/session/history.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/session/manager.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/shell/ui/interactive.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/app.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/editor.css +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/editor.css.bak +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/editor.html +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/editor.html.bak +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/editor.js +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/editor.js.bak +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/explorer.html.bak +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/favicon.ico +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/favicon.ico.bak +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/index.html +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/index.html.bak +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/index.html.bak.bak +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/landing.html.bak +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/termicon.svg +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/termweb.css +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/termweb.css.bak +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/termweb.js +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/termweb.js.bak +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/termweb.js.bak.bak +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/termweb_quickopen.js +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/termweb/static/termweb_quickopen.js.bak +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/tests/test_rich_utils.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/web/__init__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/web/__main__.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito/web/app.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito.egg-info/SOURCES.txt +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito.egg-info/dependency_links.txt +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito.egg-info/entry_points.txt +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito.egg-info/requires.txt +0 -0
- {janito-1.14.1 → janito-1.14.3}/janito.egg-info/top_level.txt +0 -0
- {janito-1.14.1 → janito-1.14.3}/setup.cfg +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_basic.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_find_files.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_outline_formatter.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_outline_no_overlap.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_outline_python_file.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_outline_python_file_complex.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_outline_tool_run.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_platform_discovery.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_python_command_runner.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_python_file_runner.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_python_stdin_runner.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_rich_message_handler_action_type.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_run_powershell_command.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_search_text.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_set_role.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_tool_registry_docstring_formats.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_tool_registry_manual_sim.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_tool_registry_validation.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_tool_use_tracker.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_validate_file_syntax.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/tests/test_validate_file_syntax_xml_html.py +0 -0
- {janito-1.14.1 → janito-1.14.3}/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.14.
|
4
|
-
Summary:
|
3
|
+
Version: 1.14.3
|
4
|
+
Summary: Language Model Thin Client,
|
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,12 +29,10 @@ 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:
|
32
|
+
# 🚀 Janito: Language Model Thin Client
|
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
|
-

|
37
|
-
|
38
36
|
|
39
37
|
For a technical overview, see the [Architecture Guide](docs/reference/architecture.md).
|
40
38
|
|
@@ -45,6 +43,7 @@ For a technical overview, see the [Architecture Guide](docs/reference/architectu
|
|
45
43
|
|
46
44
|
---
|
47
45
|
|
46
|
+
|
48
47
|
## Listing Available Tools
|
49
48
|
|
50
49
|
To list all registered tools on the command line, use the option:
|
@@ -66,7 +65,7 @@ Janito supports multiple ways for users to interact with the agent:
|
|
66
65
|
- **Web Interface:** Launch a browser-based UI for chat and project management (`janito --web`).
|
67
66
|
|
68
67
|
|
69
|
-

|
70
69
|
|
71
70
|
### 🛠️ Common CLI Modifiers
|
72
71
|
|
@@ -82,6 +81,7 @@ These modifiers can be combined with any interface mode for tailored workflows.
|
|
82
81
|
|
83
82
|
---
|
84
83
|
|
84
|
+
|
85
85
|
## 📝 Full CLI Options Reference
|
86
86
|
|
87
87
|
The full list of CLI options has been moved to its own document for clarity. Please see [docs/CLI_OPTIONS.md](docs/CLI_OPTIONS.md) for a comprehensive, up-to-date reference of all supported command-line flags and their descriptions.
|
@@ -108,6 +108,7 @@ janito --web
|
|
108
108
|
|
109
109
|
---
|
110
110
|
|
111
|
+
|
111
112
|
## ✨ Key Features
|
112
113
|
|
113
114
|
- 📝 **Code Editing via Natural Language:** Modify, create, or delete code files simply by describing the changes.
|
@@ -159,6 +160,7 @@ For details on using models hosted on Azure OpenAI, see [docs/reference/azure-op
|
|
159
160
|
|
160
161
|
---
|
161
162
|
|
163
|
+
|
162
164
|
## 🧑💻 System Prompt & Role
|
163
165
|
|
164
166
|
Janito operates using a system prompt template that defines its behavior, communication profile, and capabilities. By default, Janito assumes the role of a "software engineer"—this means its responses and actions are tailored to the expectations and best practices of professional software engineering.
|
@@ -178,6 +180,7 @@ For more details or to customize the prompt, see the template file at `janito/ag
|
|
178
180
|
|
179
181
|
---
|
180
182
|
|
183
|
+
|
181
184
|
## 🥛 Vanilla Mode
|
182
185
|
|
183
186
|
Janito supports a "vanilla mode" for pure LLM interaction:
|
@@ -278,6 +281,7 @@ See `janito/render_prompt.py` and `janito/agent/templates/` for implementation d
|
|
278
281
|
|
279
282
|
---
|
280
283
|
|
284
|
+
|
281
285
|
## 📂 termweb File Viewer (Web File Preview)
|
282
286
|
|
283
287
|
Janito includes a lightweight web file viewer (termweb) that starts by default when you use the CLI chat shell. This feature allows you to click on file paths in the terminal (when using a Rich-compatible terminal) and instantly preview file contents in your browser—no full IDE required!
|
@@ -305,4 +309,5 @@ Janito includes a lightweight web file viewer (termweb) that starts by default w
|
|
305
309
|
- Uses the Rich library’s link markup for clickable terminal links.
|
306
310
|
|
307
311
|
---
|
312
|
+
|
308
313
|
_generated by janito.dev_
|
@@ -1,9 +1,7 @@
|
|
1
|
-
# 🚀 Janito:
|
1
|
+
# 🚀 Janito: Language Model Thin Client
|
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
|
-

|
6
|
-
|
7
5
|
|
8
6
|
For a technical overview, see the [Architecture Guide](docs/reference/architecture.md).
|
9
7
|
|
@@ -14,6 +12,7 @@ For a technical overview, see the [Architecture Guide](docs/reference/architectu
|
|
14
12
|
|
15
13
|
---
|
16
14
|
|
15
|
+
|
17
16
|
## Listing Available Tools
|
18
17
|
|
19
18
|
To list all registered tools on the command line, use the option:
|
@@ -35,7 +34,7 @@ Janito supports multiple ways for users to interact with the agent:
|
|
35
34
|
- **Web Interface:** Launch a browser-based UI for chat and project management (`janito --web`).
|
36
35
|
|
37
36
|
|
38
|
-

|
39
38
|
|
40
39
|
### 🛠️ Common CLI Modifiers
|
41
40
|
|
@@ -51,6 +50,7 @@ These modifiers can be combined with any interface mode for tailored workflows.
|
|
51
50
|
|
52
51
|
---
|
53
52
|
|
53
|
+
|
54
54
|
## 📝 Full CLI Options Reference
|
55
55
|
|
56
56
|
The full list of CLI options has been moved to its own document for clarity. Please see [docs/CLI_OPTIONS.md](docs/CLI_OPTIONS.md) for a comprehensive, up-to-date reference of all supported command-line flags and their descriptions.
|
@@ -77,6 +77,7 @@ janito --web
|
|
77
77
|
|
78
78
|
---
|
79
79
|
|
80
|
+
|
80
81
|
## ✨ Key Features
|
81
82
|
|
82
83
|
- 📝 **Code Editing via Natural Language:** Modify, create, or delete code files simply by describing the changes.
|
@@ -128,6 +129,7 @@ For details on using models hosted on Azure OpenAI, see [docs/reference/azure-op
|
|
128
129
|
|
129
130
|
---
|
130
131
|
|
132
|
+
|
131
133
|
## 🧑💻 System Prompt & Role
|
132
134
|
|
133
135
|
Janito operates using a system prompt template that defines its behavior, communication profile, and capabilities. By default, Janito assumes the role of a "software engineer"—this means its responses and actions are tailored to the expectations and best practices of professional software engineering.
|
@@ -147,6 +149,7 @@ For more details or to customize the prompt, see the template file at `janito/ag
|
|
147
149
|
|
148
150
|
---
|
149
151
|
|
152
|
+
|
150
153
|
## 🥛 Vanilla Mode
|
151
154
|
|
152
155
|
Janito supports a "vanilla mode" for pure LLM interaction:
|
@@ -247,6 +250,7 @@ See `janito/render_prompt.py` and `janito/agent/templates/` for implementation d
|
|
247
250
|
|
248
251
|
---
|
249
252
|
|
253
|
+
|
250
254
|
## 📂 termweb File Viewer (Web File Preview)
|
251
255
|
|
252
256
|
Janito includes a lightweight web file viewer (termweb) that starts by default when you use the CLI chat shell. This feature allows you to click on file paths in the terminal (when using a Rich-compatible terminal) and instantly preview file contents in your browser—no full IDE required!
|
@@ -274,4 +278,5 @@ Janito includes a lightweight web file viewer (termweb) that starts by default w
|
|
274
278
|
- Uses the Rich library’s link markup for clickable terminal links.
|
275
279
|
|
276
280
|
---
|
281
|
+
|
277
282
|
_generated by janito.dev_
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "1.14.3"
|
@@ -3,10 +3,20 @@ from janito.agent.runtime_config import runtime_config
|
|
3
3
|
|
4
4
|
def handle_prompt(console, shell_state=None, **kwargs):
|
5
5
|
profile_manager = kwargs.get("profile_manager")
|
6
|
-
|
7
|
-
|
6
|
+
if not profile_manager and shell_state and hasattr(shell_state, "profile_manager"):
|
7
|
+
profile_manager = shell_state.profile_manager
|
8
|
+
prompt = None
|
9
|
+
if profile_manager:
|
8
10
|
prompt = profile_manager.system_prompt_template
|
9
|
-
|
11
|
+
if not prompt:
|
12
|
+
profile_manager.refresh_prompt()
|
13
|
+
prompt = profile_manager.system_prompt_template
|
14
|
+
if not prompt:
|
15
|
+
console.print(
|
16
|
+
"[bold red]System prompt is not initialized. Please check your profile configuration.[/bold red]"
|
17
|
+
)
|
18
|
+
else:
|
19
|
+
console.print(f"[bold magenta]System Prompt:[/bold magenta]\n{prompt}")
|
10
20
|
|
11
21
|
|
12
22
|
handle_prompt.help_text = "Show the system prompt"
|
@@ -295,6 +295,7 @@ def start_chat_shell(
|
|
295
295
|
console.clear()
|
296
296
|
shell_state = ShellState()
|
297
297
|
shell_state.profile_manager = profile_manager
|
298
|
+
profile_manager.refresh_prompt()
|
298
299
|
user_input_history = UserInputHistory()
|
299
300
|
user_input_dicts = user_input_history.load()
|
300
301
|
mem_history = shell_state.mem_history
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: janito
|
3
|
-
Version: 1.14.
|
4
|
-
Summary:
|
3
|
+
Version: 1.14.3
|
4
|
+
Summary: Language Model Thin Client,
|
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,12 +29,10 @@ 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:
|
32
|
+
# 🚀 Janito: Language Model Thin Client
|
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
|
-

|
37
|
-
|
38
36
|
|
39
37
|
For a technical overview, see the [Architecture Guide](docs/reference/architecture.md).
|
40
38
|
|
@@ -45,6 +43,7 @@ For a technical overview, see the [Architecture Guide](docs/reference/architectu
|
|
45
43
|
|
46
44
|
---
|
47
45
|
|
46
|
+
|
48
47
|
## Listing Available Tools
|
49
48
|
|
50
49
|
To list all registered tools on the command line, use the option:
|
@@ -66,7 +65,7 @@ Janito supports multiple ways for users to interact with the agent:
|
|
66
65
|
- **Web Interface:** Launch a browser-based UI for chat and project management (`janito --web`).
|
67
66
|
|
68
67
|
|
69
|
-

|
70
69
|
|
71
70
|
### 🛠️ Common CLI Modifiers
|
72
71
|
|
@@ -82,6 +81,7 @@ These modifiers can be combined with any interface mode for tailored workflows.
|
|
82
81
|
|
83
82
|
---
|
84
83
|
|
84
|
+
|
85
85
|
## 📝 Full CLI Options Reference
|
86
86
|
|
87
87
|
The full list of CLI options has been moved to its own document for clarity. Please see [docs/CLI_OPTIONS.md](docs/CLI_OPTIONS.md) for a comprehensive, up-to-date reference of all supported command-line flags and their descriptions.
|
@@ -108,6 +108,7 @@ janito --web
|
|
108
108
|
|
109
109
|
---
|
110
110
|
|
111
|
+
|
111
112
|
## ✨ Key Features
|
112
113
|
|
113
114
|
- 📝 **Code Editing via Natural Language:** Modify, create, or delete code files simply by describing the changes.
|
@@ -159,6 +160,7 @@ For details on using models hosted on Azure OpenAI, see [docs/reference/azure-op
|
|
159
160
|
|
160
161
|
---
|
161
162
|
|
163
|
+
|
162
164
|
## 🧑💻 System Prompt & Role
|
163
165
|
|
164
166
|
Janito operates using a system prompt template that defines its behavior, communication profile, and capabilities. By default, Janito assumes the role of a "software engineer"—this means its responses and actions are tailored to the expectations and best practices of professional software engineering.
|
@@ -178,6 +180,7 @@ For more details or to customize the prompt, see the template file at `janito/ag
|
|
178
180
|
|
179
181
|
---
|
180
182
|
|
183
|
+
|
181
184
|
## 🥛 Vanilla Mode
|
182
185
|
|
183
186
|
Janito supports a "vanilla mode" for pure LLM interaction:
|
@@ -278,6 +281,7 @@ See `janito/render_prompt.py` and `janito/agent/templates/` for implementation d
|
|
278
281
|
|
279
282
|
---
|
280
283
|
|
284
|
+
|
281
285
|
## 📂 termweb File Viewer (Web File Preview)
|
282
286
|
|
283
287
|
Janito includes a lightweight web file viewer (termweb) that starts by default when you use the CLI chat shell. This feature allows you to click on file paths in the terminal (when using a Rich-compatible terminal) and instantly preview file contents in your browser—no full IDE required!
|
@@ -305,4 +309,5 @@ Janito includes a lightweight web file viewer (termweb) that starts by default w
|
|
305
309
|
- Uses the Rich library’s link markup for clickable terminal links.
|
306
310
|
|
307
311
|
---
|
312
|
+
|
308
313
|
_generated by janito.dev_
|
janito-1.14.1/janito/__init__.py
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "1.14.1"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{janito-1.14.1 → janito-1.14.3}/janito/agent/templates/profiles/system_prompt_template_base.txt.j2
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{janito-1.14.1 → janito-1.14.3}/janito/agent/tools/validate_file_syntax/markdown_validator.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|