autosh 0.0.8__py3-none-any.whl → 0.0.9__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.
- autosh/config.py +1 -1
- autosh/session.py +3 -2
- {autosh-0.0.8.dist-info → autosh-0.0.9.dist-info}/METADATA +4 -2
- {autosh-0.0.8.dist-info → autosh-0.0.9.dist-info}/RECORD +7 -7
- {autosh-0.0.8.dist-info → autosh-0.0.9.dist-info}/WHEEL +0 -0
- {autosh-0.0.8.dist-info → autosh-0.0.9.dist-info}/entry_points.txt +0 -0
- {autosh-0.0.8.dist-info → autosh-0.0.9.dist-info}/licenses/LICENSE +0 -0
autosh/config.py
CHANGED
@@ -40,7 +40,7 @@ class Config(BaseModel):
|
|
40
40
|
description="The banner for the REPL.",
|
41
41
|
)
|
42
42
|
repl_prompt: str = Field(
|
43
|
-
default="
|
43
|
+
default="{short_cwd}> ",
|
44
44
|
description="The prompt for the REPL user input.",
|
45
45
|
)
|
46
46
|
|
autosh/session.py
CHANGED
@@ -211,8 +211,9 @@ class Session:
|
|
211
211
|
print()
|
212
212
|
first = False
|
213
213
|
input_prompt = self.__get_input_prompt()
|
214
|
-
|
215
|
-
|
214
|
+
prompt = await ng.input(
|
215
|
+
input_prompt, sync=False, persist="/tmp/autosh-history"
|
216
|
+
)
|
216
217
|
prompt = prompt.strip()
|
217
218
|
if prompt in ["exit", "quit"]:
|
218
219
|
break
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: autosh
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.9
|
4
4
|
Summary: The AI-powered, noob-friendly interactive shell
|
5
5
|
Author-email: Wenyu Zhao <wenyuzhaox@gmail.com>
|
6
6
|
License-Expression: MIT
|
@@ -10,7 +10,7 @@ Requires-Python: >=3.12
|
|
10
10
|
Requires-Dist: agentia>=0.0.8
|
11
11
|
Requires-Dist: asyncio>=3.4.3
|
12
12
|
Requires-Dist: markdownify>=1.1.0
|
13
|
-
Requires-Dist: neongrid>=0.0.
|
13
|
+
Requires-Dist: neongrid>=0.0.3
|
14
14
|
Requires-Dist: prompt-toolkit>=3.0.51
|
15
15
|
Requires-Dist: pydantic>=2.11.3
|
16
16
|
Requires-Dist: python-dotenv>=1.1.0
|
@@ -22,6 +22,8 @@ Description-Content-Type: text/markdown
|
|
22
22
|
|
23
23
|
# `autosh` - The AI-powered, noob-friendly interactive shell
|
24
24
|
|
25
|
+
 <!-- https://ezgif.com/video-to-gif -->
|
26
|
+
|
25
27
|
# Getting Started
|
26
28
|
|
27
29
|
## Install
|
@@ -1,8 +1,8 @@
|
|
1
1
|
autosh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
autosh/config-template.toml,sha256=iLdCBHIK0czWgNHtwAgvuhV670aiNc-IOmaPHP12i0Y,269
|
3
|
-
autosh/config.py,sha256=
|
3
|
+
autosh/config.py,sha256=tv7s7VsuKvKlKNij6ctUe_kUEeqJbd1PhlaqKzi5jFI,3013
|
4
4
|
autosh/main.py,sha256=Fvaxg-vkpEITZRxLxOXs_sE4_tZ8P_F0PKxQzZF455o,5782
|
5
|
-
autosh/session.py,sha256=
|
5
|
+
autosh/session.py,sha256=qGLTup2bGwNGLw6do0fBVZ7fKiq4c57k3Q2zYswZNtU,9378
|
6
6
|
autosh/plugins/__init__.py,sha256=I_lDaPxoPTiAVegpCGV3LpdBLQl4dbKmWPBZjQrmGIs,3260
|
7
7
|
autosh/plugins/calc.py,sha256=n37BxwnBZW8Fez8VeN2CRizkZlUgbVGCuip_8lGxzBs,606
|
8
8
|
autosh/plugins/cli.py,sha256=5u96BySehoejyqTOAaJIqUx4bmymhk5xmjVVCrz-XJ0,9375
|
@@ -10,8 +10,8 @@ autosh/plugins/clock.py,sha256=4a_zpEggzJilgIA1DPP7ZdGA8cbYYH6hOL3MotkzpUk,556
|
|
10
10
|
autosh/plugins/code.py,sha256=jMw4YWRkmvSKZ24DiVtXjxhfbuV7qs4x6o0IJLYFszE,2423
|
11
11
|
autosh/plugins/search.py,sha256=_ey7myAbTILi3fbWfl6gGBbkPi8txP3dIKVL27o4ZVw,2798
|
12
12
|
autosh/plugins/web.py,sha256=7DT7adgN6FPlrmGvnHynilh_WZevjWZaHiNa0egNXHs,2618
|
13
|
-
autosh-0.0.
|
14
|
-
autosh-0.0.
|
15
|
-
autosh-0.0.
|
16
|
-
autosh-0.0.
|
17
|
-
autosh-0.0.
|
13
|
+
autosh-0.0.9.dist-info/METADATA,sha256=5n_SzKNofPL-lK3SjPokBUgzC5xg7BhLYpkMvCoDBB8,2234
|
14
|
+
autosh-0.0.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
15
|
+
autosh-0.0.9.dist-info/entry_points.txt,sha256=BV7bzUnxG6Z5InEkrfajGCxjooYORC5tZDDZctOPenQ,67
|
16
|
+
autosh-0.0.9.dist-info/licenses/LICENSE,sha256=BnLDJsIJe-Dm18unR9DOoSv7QOfAz6LeIQc1yHAjxp0,1066
|
17
|
+
autosh-0.0.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|