janito 1.14.0__py3-none-any.whl → 1.14.2__py3-none-any.whl
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/__init__.py +1 -1
- janito/shell/commands/prompt.py +13 -3
- janito/shell/main.py +1 -0
- {janito-1.14.0.dist-info → janito-1.14.2.dist-info}/METADATA +2 -4
- {janito-1.14.0.dist-info → janito-1.14.2.dist-info}/RECORD +9 -9
- {janito-1.14.0.dist-info → janito-1.14.2.dist-info}/WHEEL +1 -1
- {janito-1.14.0.dist-info → janito-1.14.2.dist-info}/entry_points.txt +0 -0
- {janito-1.14.0.dist-info → janito-1.14.2.dist-info}/licenses/LICENSE +0 -0
- {janito-1.14.0.dist-info → janito-1.14.2.dist-info}/top_level.txt +0 -0
janito/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "1.
|
1
|
+
__version__ = "1.14.2"
|
janito/shell/commands/prompt.py
CHANGED
@@ -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"
|
janito/shell/main.py
CHANGED
@@ -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,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: janito
|
3
|
-
Version: 1.14.
|
3
|
+
Version: 1.14.2
|
4
4
|
Summary: Natural Language Programming Agent,
|
5
5
|
Author-email: João Pinto <joao.pinto@gmail.com>
|
6
6
|
License-Expression: MIT
|
@@ -33,8 +33,6 @@ Dynamic: license-file
|
|
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
|
|
@@ -66,7 +64,7 @@ Janito supports multiple ways for users to interact with the agent:
|
|
66
64
|
- **Web Interface:** Launch a browser-based UI for chat and project management (`janito --web`).
|
67
65
|
|
68
66
|
|
69
|
-

|
70
68
|
|
71
69
|
### 🛠️ Common CLI Modifiers
|
72
70
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
janito/__init__.py,sha256=
|
1
|
+
janito/__init__.py,sha256=zJRoy77_r2KF58iETlIMjUPXBk25T4I90LCHzWbGjB8,24
|
2
2
|
janito/__main__.py,sha256=KKIoPBE9xPcb54PRYO2UOt0ti04iAwLeJlg8YY36vew,76
|
3
3
|
janito/rich_utils.py,sha256=x7OsZdwtAOtUu_HYbrAMga0LElFMPbQL8GZ62vw5Jh8,1825
|
4
4
|
janito/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -105,7 +105,7 @@ janito/i18n/pt.py,sha256=52-ENCIrPW4A1tXFRT28xA8TwuUFoihs6ezJj-m3-Y4,4260
|
|
105
105
|
janito/livereload/app.py,sha256=oJTKDN5vpix26d1MA5iQz9mPLDu4VaHisAW8wtOUEhY,666
|
106
106
|
janito/shell/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
107
107
|
janito/shell/input_history.py,sha256=JedB9TQoRf31l2XGadeQtyx1qAAFPLRyXSvMLltRwZE,2542
|
108
|
-
janito/shell/main.py,sha256=
|
108
|
+
janito/shell/main.py,sha256=q_Odl3mZRlWF91ZqH9z2TLQuOaiJxtcaTZ-ExR93_PE,12207
|
109
109
|
janito/shell/commands/__init__.py,sha256=CJGXhVFEQdbIL214g3vF7vhyvlvtjqjFHjSMMTjXHjM,2016
|
110
110
|
janito/shell/commands/config.py,sha256=UTNbyNOLpIqlAle_JpCiffP7h5IOk7wxih-10_ok62w,959
|
111
111
|
janito/shell/commands/conversation_restart.py,sha256=b32vWa7rm43lA1SrFZ0v-OAB-zf4dTP307rEr52Mt9A,2825
|
@@ -113,7 +113,7 @@ janito/shell/commands/edit.py,sha256=l06cigmTSfWmhzCSP7enajHf2EW6HaKlQyr-5QLLEFw
|
|
113
113
|
janito/shell/commands/history_view.py,sha256=SoAR5bPIF6xN85F6HoxQJxAV8BluU_934T-CaMYnN7A,797
|
114
114
|
janito/shell/commands/lang.py,sha256=Ry1OgQmzgR0p6SgjWg-j5sdpHkLRIUCVGtTzkBOhJzg,599
|
115
115
|
janito/shell/commands/livelogs.py,sha256=GDx9UL7bYOfemCBsIWLrKOCgG-PYy7X_VLrl5USqpgE,1758
|
116
|
-
janito/shell/commands/prompt.py,sha256=
|
116
|
+
janito/shell/commands/prompt.py,sha256=r16Xmjv5mSn4eVF7SHy9mSSxvYoXM3L-ij0WeELG_Qo,2437
|
117
117
|
janito/shell/commands/session.py,sha256=tYav6GgjAZkvWhlI_rfG6OArNqW6Wn2DTv39Hb20QYc,1262
|
118
118
|
janito/shell/commands/session_control.py,sha256=PAFg00vXQvIhAuCtd4L149hrj8jGguB0EtBJwo-CFLo,1295
|
119
119
|
janito/shell/commands/termweb_log.py,sha256=xxFz2GhFRI7w7jNk0D0Gq6RFBuzIZF1paDMK2MBeNWA,3519
|
@@ -154,9 +154,9 @@ janito/tests/test_rich_utils.py,sha256=S_mGVynekAP0DM4A_ZaY-SseJGtdlBJxOlzc-v8lJ
|
|
154
154
|
janito/web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
155
155
|
janito/web/__main__.py,sha256=5Ck6okOZmxKYkQ-ir4mxXDH7XWMNR-9szgsm0UyQLE0,734
|
156
156
|
janito/web/app.py,sha256=-zUBA1zlnrZdYbI421CSAgFZXOisLmIznNzUJrkSLQQ,4762
|
157
|
-
janito-1.14.
|
158
|
-
janito-1.14.
|
159
|
-
janito-1.14.
|
160
|
-
janito-1.14.
|
161
|
-
janito-1.14.
|
162
|
-
janito-1.14.
|
157
|
+
janito-1.14.2.dist-info/licenses/LICENSE,sha256=sHBqv0bvtrb29H7WRR-Z603YHm9pLtJIo3nHU_9cmgE,1091
|
158
|
+
janito-1.14.2.dist-info/METADATA,sha256=OYMJuF4sXaidDtmv5kBzT-x6yfg4ekMHAnlc5iE2YZM,12919
|
159
|
+
janito-1.14.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
160
|
+
janito-1.14.2.dist-info/entry_points.txt,sha256=wIo5zZxbmu4fC-ZMrsKD0T0vq7IqkOOLYhrqRGypkx4,48
|
161
|
+
janito-1.14.2.dist-info/top_level.txt,sha256=m0NaVCq0-ivxbazE2-ND0EA9Hmuijj_OGkmCbnBcCig,7
|
162
|
+
janito-1.14.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|