yaicli 0.3.1__py3-none-any.whl → 0.3.3__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.
- pyproject.toml +1 -1
- yaicli/cli.py +1 -0
- {yaicli-0.3.1.dist-info → yaicli-0.3.3.dist-info}/METADATA +1 -1
- {yaicli-0.3.1.dist-info → yaicli-0.3.3.dist-info}/RECORD +7 -7
- {yaicli-0.3.1.dist-info → yaicli-0.3.3.dist-info}/WHEEL +0 -0
- {yaicli-0.3.1.dist-info → yaicli-0.3.3.dist-info}/entry_points.txt +0 -0
- {yaicli-0.3.1.dist-info → yaicli-0.3.3.dist-info}/licenses/LICENSE +0 -0
pyproject.toml
CHANGED
yaicli/cli.py
CHANGED
@@ -499,6 +499,7 @@ class CLI:
|
|
499
499
|
@self.bindings.add(Keys.ControlI) # TAB
|
500
500
|
def _(event: KeyPressEvent) -> None:
|
501
501
|
self.current_mode = EXEC_MODE if self.current_mode == CHAT_MODE else CHAT_MODE
|
502
|
+
self.role = DefaultRoleNames.SHELL if self.current_mode == EXEC_MODE else DefaultRoleNames.DEFAULT
|
502
503
|
|
503
504
|
def _run_once(self, input: str, shell: bool) -> None:
|
504
505
|
"""Run a single command (non-interactive)."""
|
@@ -1,8 +1,8 @@
|
|
1
|
-
pyproject.toml,sha256=
|
1
|
+
pyproject.toml,sha256=gRdPPzuSEyfEEyHQ4TuoHqxrrkFhWGC9BXWY4XuOb7E,1519
|
2
2
|
yaicli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
yaicli/api.py,sha256=9kRozzxBKduQsda3acnxzvOD9wRLL0cH182L4ddHY8E,13666
|
4
4
|
yaicli/chat_manager.py,sha256=I7BAMz91FLYT6x69wbomtAGLx0WsoTwS4Wo0MgP6P9I,10644
|
5
|
-
yaicli/cli.py,sha256=
|
5
|
+
yaicli/cli.py,sha256=mw4aeDAEcD0KvbbOxPuripqCY17vEmIeuT2ZcWjK92o,22795
|
6
6
|
yaicli/config.py,sha256=xtzgXApM93zCqSUxmVSBdph0co_NKfEUU3hWtPe8qvM,6236
|
7
7
|
yaicli/console.py,sha256=291F4hGksJtxYpg_mehepCIJ-eB2MaDNIyv1JAMgJ1Y,1985
|
8
8
|
yaicli/const.py,sha256=iOQNG6M4EBmKgbwZdNqRsHrcQ7Od1nKOyLAqUhfMEBM,7020
|
@@ -13,8 +13,8 @@ yaicli/printer.py,sha256=nXpralD5qZJQga3OTdEPhj22g7UoF-4mJbZeOtWXojo,12430
|
|
13
13
|
yaicli/render.py,sha256=mB1OT9859_PTwI9f-KY802lPaeQXKRw6ls_5jN21jWc,511
|
14
14
|
yaicli/roles.py,sha256=bhXpLnGTPRZp3-K1Tt6ppTsuG2v9S0RAXikfMFhDs_U,9144
|
15
15
|
yaicli/utils.py,sha256=MLvb-C5n19AD9Z1nW4Z3Z43ZKNH8STxQmNDnL7mq26E,4490
|
16
|
-
yaicli-0.3.
|
17
|
-
yaicli-0.3.
|
18
|
-
yaicli-0.3.
|
19
|
-
yaicli-0.3.
|
20
|
-
yaicli-0.3.
|
16
|
+
yaicli-0.3.3.dist-info/METADATA,sha256=CdEkOsFz76sEp75xvEf6lVFNAx7U7ff_yylLP-0ETRc,45320
|
17
|
+
yaicli-0.3.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
18
|
+
yaicli-0.3.3.dist-info/entry_points.txt,sha256=iMhGm3btBaqrknQoF6WCg5sdx69ZyNSC73tRpCcbcLw,63
|
19
|
+
yaicli-0.3.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
20
|
+
yaicli-0.3.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|