machineconfig 7.46__py3-none-any.whl → 7.48__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.
Potentially problematic release.
This version of machineconfig might be problematic. Click here for more details.
- machineconfig/profile/create_helper.py +1 -1
- machineconfig/profile/mapper.toml +2 -2
- machineconfig/scripts/python/croshell.py +4 -4
- machineconfig/scripts/python/env_manager/path_manager_tui.py +1 -1
- machineconfig/scripts/python/helpers_devops/cli_config.py +1 -1
- machineconfig/scripts/python/helpers_devops/cli_self.py +3 -3
- machineconfig/scripts/python/helpers_repos/cloud_repo_sync.py +1 -1
- machineconfig/scripts/python/helpers_repos/count_lines_frontend.py +1 -1
- machineconfig/scripts/windows/mounts/mount_ssh.ps1 +1 -1
- machineconfig/settings/yazi/{keymap.toml → keymap_linux.toml} +5 -5
- machineconfig/settings/yazi/keymap_windows.toml +79 -0
- machineconfig/setup_linux/web_shortcuts/interactive.sh +10 -10
- machineconfig/setup_windows/web_shortcuts/interactive.ps1 +10 -10
- machineconfig/utils/ssh.py +1 -1
- {machineconfig-7.46.dist-info → machineconfig-7.48.dist-info}/METADATA +1 -1
- {machineconfig-7.46.dist-info → machineconfig-7.48.dist-info}/RECORD +19 -18
- {machineconfig-7.46.dist-info → machineconfig-7.48.dist-info}/WHEEL +0 -0
- {machineconfig-7.46.dist-info → machineconfig-7.48.dist-info}/entry_points.txt +0 -0
- {machineconfig-7.46.dist-info → machineconfig-7.48.dist-info}/top_level.txt +0 -0
|
@@ -57,7 +57,7 @@ def copy_assets_to_machine(which: Literal["scripts", "settings"]) -> None:
|
|
|
57
57
|
from rich.console import Console
|
|
58
58
|
console = Console()
|
|
59
59
|
console.print("\n[bold]📜 Setting executable permissions for scripts...[/bold]")
|
|
60
|
-
scripts_path = CONFIG_ROOT.joinpath(
|
|
60
|
+
scripts_path = CONFIG_ROOT.joinpath("scripts")
|
|
61
61
|
subprocess.run(f"chmod +x {scripts_path} -R", shell=True, capture_output=True, text=True, check=False)
|
|
62
62
|
console.print("[green]✅ Script permissions updated[/green]")
|
|
63
63
|
|
|
@@ -98,7 +98,7 @@ config = {this = '~/.config/rofi/config.rasi', to_this = 'CONFIG_ROOT/settings/r
|
|
|
98
98
|
|
|
99
99
|
[yazi_windows]
|
|
100
100
|
yazi = {this = '~/AppData/Roaming/yazi/config/yazi.toml', to_this = 'CONFIG_ROOT/settings/yazi/yazi.toml'}
|
|
101
|
-
keymap = {this = '~/AppData/Roaming/yazi/config/
|
|
101
|
+
keymap = {this = '~/AppData/Roaming/yazi/config/keymap_windows.toml', to_this = 'CONFIG_ROOT/settings/yazi/keymap.toml'}
|
|
102
102
|
theme = {this = '~/AppData/Roaming/yazi/config/theme.toml', to_this = 'CONFIG_ROOT/settings/yazi/theme.toml'}
|
|
103
103
|
init = {this = '~/AppData/Roaming/yazi/config/init.lua', to_this = 'CONFIG_ROOT/settings/yazi/init.lua'}
|
|
104
104
|
|
|
@@ -106,7 +106,7 @@ init = {this = '~/AppData/Roaming/yazi/config/init.lua', to_this = 'CONFIG_ROOT/
|
|
|
106
106
|
|
|
107
107
|
[yazi_linux]
|
|
108
108
|
yazi = {this = '~/.config/yazi/yazi.toml', to_this = 'CONFIG_ROOT/settings/yazi/yazi.toml'}
|
|
109
|
-
keymap = {this = '~/.config/yazi/
|
|
109
|
+
keymap = {this = '~/.config/yazi/keymap_linux.toml', to_this = 'CONFIG_ROOT/settings/yazi/keymap.toml'}
|
|
110
110
|
theme = {this = '~/.config/yazi/theme.toml', to_this = 'CONFIG_ROOT/settings/yazi/theme.toml'}
|
|
111
111
|
init = {this = '~/.config/yazi/init.lua', to_this = 'CONFIG_ROOT/settings/yazi/init.lua'}
|
|
112
112
|
|
|
@@ -130,7 +130,7 @@ def croshell(
|
|
|
130
130
|
fire_line = f"uv run --python 3.14 --with visidata,pyarrow vd {str(file_obj)}"
|
|
131
131
|
elif marimo:
|
|
132
132
|
if Path.home().joinpath("code/machineconfig").exists(): requirements = f"""--with marimo --project "{str(Path.home().joinpath("code/machineconfig"))}" """
|
|
133
|
-
else: requirements = """--python 3.14 --with "marimo,machineconfig[plot]>=7.
|
|
133
|
+
else: requirements = """--python 3.14 --with "marimo,machineconfig[plot]>=7.48" """
|
|
134
134
|
fire_line = f"""
|
|
135
135
|
cd {str(pyfile.parent)}
|
|
136
136
|
uv run --python 3.14 --with "marimo" marimo convert {pyfile.name} -o marimo_nb.py
|
|
@@ -138,14 +138,14 @@ uv run {requirements} marimo edit --host 0.0.0.0 marimo_nb.py
|
|
|
138
138
|
"""
|
|
139
139
|
elif jupyter:
|
|
140
140
|
if Path.home().joinpath("code/machineconfig").exists(): requirements = f"""--project "{str(Path.home().joinpath("code/machineconfig"))}" --with jupyterlab """
|
|
141
|
-
else: requirements = """--with "machineconfig[plot]>=7.
|
|
141
|
+
else: requirements = """--with "machineconfig[plot]>=7.48" """
|
|
142
142
|
fire_line = f"uv run {requirements} jupyter-lab {str(nb_target)}"
|
|
143
143
|
elif vscode:
|
|
144
144
|
fire_line = f"""
|
|
145
145
|
cd {str(pyfile.parent)}
|
|
146
146
|
uv init --python 3.14
|
|
147
147
|
uv venv
|
|
148
|
-
uv add "machineconfig[plot]>=7.
|
|
148
|
+
uv add "machineconfig[plot]>=7.48"
|
|
149
149
|
# code serve-web
|
|
150
150
|
code --new-window {str(pyfile)}
|
|
151
151
|
"""
|
|
@@ -153,7 +153,7 @@ code --new-window {str(pyfile)}
|
|
|
153
153
|
if interpreter == "ipython": profile = f" --profile {ipython_profile} --no-banner"
|
|
154
154
|
else: profile = ""
|
|
155
155
|
if Path.home().joinpath("code/machineconfig").exists(): ve_line = f"""--project "{str(Path.home().joinpath("code/machineconfig"))}" """
|
|
156
|
-
else: ve_line = """--python 3.14 --with "machineconfig[plot]>=7.
|
|
156
|
+
else: ve_line = """--python 3.14 --with "machineconfig[plot]>=7.48" """
|
|
157
157
|
# ve_path_maybe, ipython_profile_maybe = get_ve_path_and_ipython_profile(Path.cwd())
|
|
158
158
|
# --python 3.14
|
|
159
159
|
fire_line = f"uv run {ve_line} {interpreter} {interactivity} {profile} {str(pyfile)}"
|
|
@@ -29,7 +29,7 @@ def path():
|
|
|
29
29
|
uv_with = ["textual"]
|
|
30
30
|
uv_project_dir = None
|
|
31
31
|
if not Path.home().joinpath("code/machineconfig").exists():
|
|
32
|
-
uv_with.append("machineconfig>=7.
|
|
32
|
+
uv_with.append("machineconfig>=7.48")
|
|
33
33
|
else:
|
|
34
34
|
uv_project_dir = str(Path.home().joinpath("code/machineconfig"))
|
|
35
35
|
run_shell_script(get_uv_command_executing_python_script(python_script=path.read_text(encoding="utf-8"), uv_with=uv_with, uv_project_dir=uv_project_dir)[0])
|
|
@@ -46,9 +46,9 @@ def install(no_copy_assets: Annotated[bool, typer.Option("--no-assets-copy", "-n
|
|
|
46
46
|
else:
|
|
47
47
|
import platform
|
|
48
48
|
if platform.system() == "Windows":
|
|
49
|
-
run_shell_script(r"""& "$HOME\.local\bin\uv.exe" tool install --upgrade "machineconfig>=7.
|
|
49
|
+
run_shell_script(r"""& "$HOME\.local\bin\uv.exe" tool install --upgrade "machineconfig>=7.48" """)
|
|
50
50
|
else:
|
|
51
|
-
run_shell_script("""$HOME/.local/bin/uv tool install --upgrade "machineconfig>=7.
|
|
51
|
+
run_shell_script("""$HOME/.local/bin/uv tool install --upgrade "machineconfig>=7.48" """)
|
|
52
52
|
from machineconfig.profile.create_shell_profile import create_default_shell_profile
|
|
53
53
|
if not no_copy_assets:
|
|
54
54
|
create_default_shell_profile() # involves copying assets too
|
|
@@ -73,7 +73,7 @@ def navigate():
|
|
|
73
73
|
path = Path(navigator.__file__).resolve().parent.joinpath("devops_navigator.py")
|
|
74
74
|
from machineconfig.utils.code import run_shell_script
|
|
75
75
|
if Path.home().joinpath("code/machineconfig").exists(): executable = f"""--project "{str(Path.home().joinpath("code/machineconfig"))}" --with textual"""
|
|
76
|
-
else: executable = """--with "machineconfig>=7.
|
|
76
|
+
else: executable = """--with "machineconfig>=7.48,textual" """
|
|
77
77
|
run_shell_script(f"""uv run {executable} {path}""")
|
|
78
78
|
|
|
79
79
|
|
|
@@ -99,7 +99,7 @@ git pull originEnc master
|
|
|
99
99
|
uv_project_dir = f"""{str(Path.home().joinpath("code/machineconfig"))}"""
|
|
100
100
|
uv_with = None
|
|
101
101
|
else:
|
|
102
|
-
uv_with = ["machineconfig>=7.
|
|
102
|
+
uv_with = ["machineconfig>=7.48"]
|
|
103
103
|
uv_project_dir = None
|
|
104
104
|
|
|
105
105
|
import tempfile
|
|
@@ -8,7 +8,7 @@ def analyze_repo_development(repo_path: Annotated[str, typer.Argument(..., help=
|
|
|
8
8
|
from pathlib import Path
|
|
9
9
|
count_lines_path = Path(count_lines.__file__)
|
|
10
10
|
# --project $HOME/code/ machineconfig --group plot
|
|
11
|
-
cmd = f"""uv run --python 3.14 --with "machineconfig[plot]>=7.
|
|
11
|
+
cmd = f"""uv run --python 3.14 --with "machineconfig[plot]>=7.48" {count_lines_path} analyze-over-time {repo_path}"""
|
|
12
12
|
from machineconfig.utils.code import run_shell_script
|
|
13
13
|
run_shell_script(cmd)
|
|
14
14
|
|
|
@@ -7,7 +7,7 @@ $user = ''
|
|
|
7
7
|
$sharePath = ''
|
|
8
8
|
$driveLetter = ''
|
|
9
9
|
|
|
10
|
-
uv run --python 3.14 --with "machineconfig>=7.
|
|
10
|
+
uv run --python 3.14 --with "machineconfig>=7.48" python -m machineconfig.scripts.python.mount_ssh
|
|
11
11
|
|
|
12
12
|
net use T: \\sshfs.kr\$user@$host.local
|
|
13
13
|
# this worked: net use T: \\sshfs\alex@alex-p51s-5.local
|
|
@@ -39,7 +39,7 @@ run = 'shell -- qlmanage -p "$@"'
|
|
|
39
39
|
|
|
40
40
|
[[mgr.prepend_keymap]]
|
|
41
41
|
on = "F"
|
|
42
|
-
run = 'shell --block --
|
|
42
|
+
run = 'shell --block -- $HOME/.config/machineconfig/scripts/wrap_mcfg fire "$0"'
|
|
43
43
|
desc = "Run fire on hovered file"
|
|
44
44
|
|
|
45
45
|
|
|
@@ -55,23 +55,23 @@ desc = "Read with vscode"
|
|
|
55
55
|
|
|
56
56
|
[[mgr.prepend_keymap]]
|
|
57
57
|
on = ["R", "h"]
|
|
58
|
-
run = 'shell --block --
|
|
58
|
+
run = 'shell --block -- $HOME/.config/machineconfig/scripts/wrap_mcfg utils edit "$0"'
|
|
59
59
|
desc = "Read with helix"
|
|
60
60
|
|
|
61
61
|
[[mgr.prepend_keymap]]
|
|
62
62
|
on = ["R", "c"]
|
|
63
|
-
run = 'shell --block --
|
|
63
|
+
run = 'shell --block -- $HOME/.config/machineconfig/scripts/wrap_mcfg croshell "$0"'
|
|
64
64
|
desc = "Read with croshell"
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
[[mgr.prepend_keymap]]
|
|
68
68
|
on = ["R", "f"]
|
|
69
|
-
run = 'shell --block --
|
|
69
|
+
run = 'shell --block -- $HOME/.config/machineconfig/scripts/wrap_mcfg fire "$0"'
|
|
70
70
|
desc = "Read with fire"
|
|
71
71
|
|
|
72
72
|
[[mgr.prepend_keymap]]
|
|
73
73
|
on = ["R", "F"]
|
|
74
|
-
run = 'shell --block --
|
|
74
|
+
run = 'shell --block -- $HOME/.config/machineconfig/scripts/wrap_mcfg fire -i "$0"'
|
|
75
75
|
desc = "Read with fire interactively"
|
|
76
76
|
|
|
77
77
|
[[mgr.prepend_keymap]]
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
|
|
2
|
+
[[mgr.prepend_keymap]]
|
|
3
|
+
on = "!"
|
|
4
|
+
for = "unix"
|
|
5
|
+
run = 'shell "$SHELL" --block'
|
|
6
|
+
desc = "Open $SHELL here"
|
|
7
|
+
|
|
8
|
+
# If you also using Yazi on Windows:
|
|
9
|
+
[[mgr.prepend_keymap]]
|
|
10
|
+
on = "!"
|
|
11
|
+
for = "windows"
|
|
12
|
+
run = 'shell "powershell.exe" --block'
|
|
13
|
+
desc = "Open PowerShell here"
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# FROM https://github.com/yazi-rs/plugins/tree/main/toggle-pane.yazi
|
|
17
|
+
# keymap.toml
|
|
18
|
+
# parent, current, preview
|
|
19
|
+
[[mgr.prepend_keymap]]
|
|
20
|
+
on = "T"
|
|
21
|
+
run = "plugin toggle-pane min-preview"
|
|
22
|
+
desc = "Show or hide the preview pane"
|
|
23
|
+
# keymap.toml
|
|
24
|
+
[[mgr.prepend_keymap]]
|
|
25
|
+
on = "T"
|
|
26
|
+
run = "plugin toggle-pane max-preview"
|
|
27
|
+
desc = "Maximize or restore the preview pane"
|
|
28
|
+
|
|
29
|
+
[[mgr.prepend_keymap]]
|
|
30
|
+
on = "M" # whatever key you choose
|
|
31
|
+
run = "plugin toggle-pane"
|
|
32
|
+
desc = "Toggle preview pane / maximize pane"
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
# https://yazi-rs.github.io/docs/tips#macos-quick-look
|
|
36
|
+
[[mgr.prepend_keymap]]
|
|
37
|
+
on = "<C-p>"
|
|
38
|
+
run = 'shell -- qlmanage -p "$@"'
|
|
39
|
+
|
|
40
|
+
[[mgr.prepend_keymap]]
|
|
41
|
+
on = "F"
|
|
42
|
+
run = 'shell --block -- powershell "~\.config\machineconfig\scripts\wrap_mcfg"fire "$0"'
|
|
43
|
+
desc = "Run fire on hovered file"
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
[[mgr.prepend_keymap]]
|
|
47
|
+
on = [ "g", "r" ]
|
|
48
|
+
run = 'shell -- ya emit cd "$(git rev-parse --show-toplevel)"'
|
|
49
|
+
desc = "go to repo root"
|
|
50
|
+
|
|
51
|
+
[[mgr.prepend_keymap]]
|
|
52
|
+
on = ["R", "v"]
|
|
53
|
+
run = 'shell -- code "$0"'
|
|
54
|
+
desc = "Read with vscode"
|
|
55
|
+
|
|
56
|
+
[[mgr.prepend_keymap]]
|
|
57
|
+
on = ["R", "h"]
|
|
58
|
+
# run = 'shell --block -- powershell "~\.config\machineconfig\scripts\wrap_mcfg"utils edit "$0"'
|
|
59
|
+
desc = "Read with helix"
|
|
60
|
+
|
|
61
|
+
[[mgr.prepend_keymap]]
|
|
62
|
+
on = ["R", "c"]
|
|
63
|
+
run = 'shell --block -- powershell "~\.config\machineconfig\scripts\wrap_mcfg" croshell "$0"'
|
|
64
|
+
desc = "Read with croshell"
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
[[mgr.prepend_keymap]]
|
|
68
|
+
on = ["R", "f"]
|
|
69
|
+
run = 'shell --block -- powershell "~\.config\machineconfig\scripts\wrap_mcfg"fire "$0"'
|
|
70
|
+
desc = "Read with fire"
|
|
71
|
+
|
|
72
|
+
[[mgr.prepend_keymap]]
|
|
73
|
+
on = ["R", "F"]
|
|
74
|
+
run = 'shell --block -- powershell "~\.config\machineconfig\scripts\wrap_mcfg"fire -i "$0"'
|
|
75
|
+
desc = "Read with fire interactively"
|
|
76
|
+
|
|
77
|
+
[[mgr.prepend_keymap]]
|
|
78
|
+
on = "y"
|
|
79
|
+
run = [ 'shell -- echo "$@" | cb cp0', "yank" ]
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
. <( curl -sSL "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_linux/uv.sh")
|
|
3
3
|
. <( curl -sSL "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/scripts/linux/wrap_mcfg")
|
|
4
4
|
|
|
5
|
-
alias devops='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.
|
|
6
|
-
alias cloud='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.
|
|
7
|
-
alias agents='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.
|
|
8
|
-
alias sessions='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.
|
|
9
|
-
alias ftpx='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.
|
|
10
|
-
alias fire='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.
|
|
11
|
-
alias croshell='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.
|
|
12
|
-
alias utils='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.
|
|
13
|
-
alias terminal='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.
|
|
14
|
-
alias msearch='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.
|
|
5
|
+
alias devops='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.48" devops'
|
|
6
|
+
alias cloud='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.48" cloud'
|
|
7
|
+
alias agents='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.48" agents'
|
|
8
|
+
alias sessions='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.48" sessions'
|
|
9
|
+
alias ftpx='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.48" ftpx'
|
|
10
|
+
alias fire='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.48" fire'
|
|
11
|
+
alias croshell='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.48" croshell'
|
|
12
|
+
alias utils='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.48" utils'
|
|
13
|
+
alias terminal='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.48" terminal'
|
|
14
|
+
alias msearch='$HOME/.local/bin/uvx --python 3.14 --from "machineconfig>=7.48" msearch'
|
|
15
15
|
|
|
16
16
|
alias d='wrap_in_shell_script devops'
|
|
17
17
|
alias c='wrap_in_shell_script cloud'
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
iex (iwr "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/setup_windows/uv.ps1").Content
|
|
4
4
|
iex (iwr "https://raw.githubusercontent.com/thisismygitrepo/machineconfig/main/src/machineconfig/scripts/windows/wrap_mcfg.ps1").Content
|
|
5
5
|
|
|
6
|
-
function devops { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.
|
|
7
|
-
function cloud { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.
|
|
8
|
-
function agents { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.
|
|
9
|
-
function sessions { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.
|
|
10
|
-
function ftpx { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.
|
|
11
|
-
function fire { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.
|
|
12
|
-
function croshell { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.
|
|
13
|
-
function utils { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.
|
|
14
|
-
function terminal { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.
|
|
15
|
-
function msearch { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.
|
|
6
|
+
function devops { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.48" devops $args }
|
|
7
|
+
function cloud { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.48" cloud $args }
|
|
8
|
+
function agents { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.48" agents $args }
|
|
9
|
+
function sessions { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.48" sessions $args }
|
|
10
|
+
function ftpx { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.48" ftpx $args }
|
|
11
|
+
function fire { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.48" fire $args }
|
|
12
|
+
function croshell { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.48" croshell $args }
|
|
13
|
+
function utils { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.48" utils $args }
|
|
14
|
+
function terminal { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.48" terminal $args }
|
|
15
|
+
function msearch { & "$HOME\.local\bin\uvx.exe" --python 3.14 --from "machineconfig>=7.48" msearch $args }
|
|
16
16
|
|
|
17
17
|
function d { wrap_in_shell_script devops @args }
|
|
18
18
|
function c { wrap_in_shell_script cloud @args }
|
machineconfig/utils/ssh.py
CHANGED
|
@@ -8,7 +8,7 @@ from machineconfig.utils.terminal import Response
|
|
|
8
8
|
from machineconfig.utils.accessories import pprint, randstr
|
|
9
9
|
from machineconfig.utils.meta import lambda_to_python_script
|
|
10
10
|
UV_RUN_CMD = "$HOME/.local/bin/uv run" if platform.system() != "Windows" else """& "$env:USERPROFILE/.local/bin/uv" run"""
|
|
11
|
-
MACHINECONFIG_VERSION = "machineconfig>=7.
|
|
11
|
+
MACHINECONFIG_VERSION = "machineconfig>=7.48"
|
|
12
12
|
DEFAULT_PICKLE_SUBDIR = "tmp_results/tmp_scripts/ssh"
|
|
13
13
|
|
|
14
14
|
class SSH:
|
|
@@ -93,11 +93,11 @@ machineconfig/jobs/installer/powershell_scripts/openssh-server_copy-ssh-id.ps1,s
|
|
|
93
93
|
machineconfig/profile/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
94
94
|
machineconfig/profile/backup.toml,sha256=Hb25sIdKVvLqOF62NgiOpGZxd45I6IhsNHu623RtfQQ,766
|
|
95
95
|
machineconfig/profile/bash_shell_profiles.md,sha256=mio0xkMTwO-F3fikWIfgcdQaPCmQrmkxJMNtZsTe9TI,514
|
|
96
|
-
machineconfig/profile/create_helper.py,sha256=
|
|
96
|
+
machineconfig/profile/create_helper.py,sha256=jBwgf2r6Wid9LNXw_O8JpVmm7Vk5sZJWlN0qeIkQhjE,2986
|
|
97
97
|
machineconfig/profile/create_links.py,sha256=42U5dEu7fMnGBAqyhQ1VspFaZg3VssMMQSdpGEmpHnE,14199
|
|
98
98
|
machineconfig/profile/create_links_export.py,sha256=DNBdylSzDdBq_wAduIYbscpOWoTx_QVynOP27y0mklA,4444
|
|
99
99
|
machineconfig/profile/create_shell_profile.py,sha256=jjCwH3rNxVOcb9sgbZQsjYlKGfqhDvPxBDrkFLThT3c,7221
|
|
100
|
-
machineconfig/profile/mapper.toml,sha256=
|
|
100
|
+
machineconfig/profile/mapper.toml,sha256=HwQ5mSV0u40wUler5GXc5IQpvhEpJecFyqVOmFG8fpE,12793
|
|
101
101
|
machineconfig/profile/records/generic/shares.toml,sha256=FduDztfyQtZcr5bfx-RSKhEEweweQSWfVXkKWnx8hCY,143
|
|
102
102
|
machineconfig/profile/records/linux/apps_summary_report.csv,sha256=pw9djvaRUPalKDLn2sl3odcbD2_Zx3aEupsQ8UPfaaY,2738
|
|
103
103
|
machineconfig/profile/records/linux/apps_summary_report.md,sha256=l77oofA6Rliql0ZgKGIZi8bstFoGyyGTxeS8p2PtOj0,5634
|
|
@@ -114,7 +114,7 @@ machineconfig/scripts/nu/wrap_mcfg.nu,sha256=9heiUHVkHjI_AMXT5QJJixk7ZK_hJNV_A8l
|
|
|
114
114
|
machineconfig/scripts/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
115
115
|
machineconfig/scripts/python/agents.py,sha256=aVbLQDgpngXZm4taHcED4sAxyHvV2_Dz5VW3apPcQcY,10651
|
|
116
116
|
machineconfig/scripts/python/cloud.py,sha256=yAD6ciKiEtv2CH3g2NScDK5cpCZQi7Vu8yyeehw_cU8,1263
|
|
117
|
-
machineconfig/scripts/python/croshell.py,sha256=
|
|
117
|
+
machineconfig/scripts/python/croshell.py,sha256=CvToLopMroOoI0BglrIrLXf-A0VikoTLr0vwfjcTsEM,8379
|
|
118
118
|
machineconfig/scripts/python/define.py,sha256=AtuVac6tJeDMcxtbWmQh1TH3dYAPSGFdO51b75zJVeI,717
|
|
119
119
|
machineconfig/scripts/python/devops.py,sha256=Lv4d-UlyOREj4VTcu_pxswYo54Mawe3XGeKjreGQDYg,2222
|
|
120
120
|
machineconfig/scripts/python/devops_navigator.py,sha256=5Cm384D4S8_GsvMzTwr0C16D0ktf8_5Mk5bEJncwDO8,237
|
|
@@ -159,7 +159,7 @@ machineconfig/scripts/python/ai/solutions/opencode/opencode.json,sha256=nahHKRw1
|
|
|
159
159
|
machineconfig/scripts/python/ai/solutions/opencode/opencode.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
160
160
|
machineconfig/scripts/python/env_manager/__init__.py,sha256=E4LAHbU1wo2dLjE36ntv8U7QNTe8TasujUAYK9SLvWk,6
|
|
161
161
|
machineconfig/scripts/python/env_manager/path_manager_backend.py,sha256=ZVGlGJALhg7zNABDdwXxL7MFbL2BXPebObipXSLGbic,1552
|
|
162
|
-
machineconfig/scripts/python/env_manager/path_manager_tui.py,sha256=
|
|
162
|
+
machineconfig/scripts/python/env_manager/path_manager_tui.py,sha256=oODBdRkzbWw374WynnRe5XRN65zcq2wKoY_kNbsFPhw,6932
|
|
163
163
|
machineconfig/scripts/python/helpers_agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
164
164
|
machineconfig/scripts/python/helpers_agents/fire_agents_help_launch.py,sha256=YD6-rtudHNip8tx85amSmOZZIHBP9khq4az3dF41j6U,5934
|
|
165
165
|
machineconfig/scripts/python/helpers_agents/fire_agents_help_search.py,sha256=qIfSS_su2YJ1Gb0_lu4cbjlJlYMBw0v52NTGiSrGjk8,2991
|
|
@@ -189,12 +189,12 @@ machineconfig/scripts/python/helpers_croshell/start_slidev.py,sha256=HfJReOusTPh
|
|
|
189
189
|
machineconfig/scripts/python/helpers_croshell/viewer.py,sha256=heQNjB9fwn3xxbPgMofhv1Lp6Vtkl76YjjexWWBM0pM,2041
|
|
190
190
|
machineconfig/scripts/python/helpers_croshell/viewer_template.py,sha256=ve3Q1-iKhCLc0VJijKvAeOYp2xaFOeIOC_XW956GWCc,3944
|
|
191
191
|
machineconfig/scripts/python/helpers_devops/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
192
|
-
machineconfig/scripts/python/helpers_devops/cli_config.py,sha256=
|
|
192
|
+
machineconfig/scripts/python/helpers_devops/cli_config.py,sha256=iD20PmbYrf2nFCNUiY66coOuVhOnGPuQaQd6hCD8QzE,5922
|
|
193
193
|
machineconfig/scripts/python/helpers_devops/cli_config_dotfile.py,sha256=SL6P3Ioib3P9OWG1GmULb5-l4ySYZ1RuuIDCHY4lCyU,3502
|
|
194
194
|
machineconfig/scripts/python/helpers_devops/cli_data.py,sha256=79Xvx7YnbueruEnl69hrDg2AhVxf_zCUdlVcKfeMGyQ,1774
|
|
195
195
|
machineconfig/scripts/python/helpers_devops/cli_nw.py,sha256=u_2l5Cc3dFnh0seKrbH9j-Z0bUCrgy45MOM6HCjgkQg,7562
|
|
196
196
|
machineconfig/scripts/python/helpers_devops/cli_repos.py,sha256=mFrhosIFCCT70d82NYUxp9ta6BYeAHQNhsx7CEmWcg4,12478
|
|
197
|
-
machineconfig/scripts/python/helpers_devops/cli_self.py,sha256=
|
|
197
|
+
machineconfig/scripts/python/helpers_devops/cli_self.py,sha256=KmG4lKt1NcS-osUWItICn_c_9Q-42YJoOMQvarQborE,6515
|
|
198
198
|
machineconfig/scripts/python/helpers_devops/cli_share_file.py,sha256=AL04784ncdP9ue5bKyqJfXrMksxjFKtuv_w353kQQsI,6298
|
|
199
199
|
machineconfig/scripts/python/helpers_devops/cli_share_server.py,sha256=S2xQ7sDVvfvGKcJNlquXj9Gc0ofk2EXnfvpRx2AWVD8,6278
|
|
200
200
|
machineconfig/scripts/python/helpers_devops/cli_terminal.py,sha256=k_PzXaiGyE0vXr0Ii1XcJz2A7UvyPJrR31TRWt4RKRI,6019
|
|
@@ -231,9 +231,9 @@ machineconfig/scripts/python/helpers_navigator/search_bar.py,sha256=kDi8Jhxap8wd
|
|
|
231
231
|
machineconfig/scripts/python/helpers_repos/action.py,sha256=8je051kpGZ7A_GRsQyWKhPZ8xVW7tSm4bnPu6VjxaXk,9755
|
|
232
232
|
machineconfig/scripts/python/helpers_repos/action_helper.py,sha256=XRCtkGkNrxauqUd9qkxtfJt02Mx2gejSYDLL0jyWn24,6176
|
|
233
233
|
machineconfig/scripts/python/helpers_repos/clone.py,sha256=UULEG5xJuXlPGU0nqXH6U45jA9DOFqLw8B4iPytCwOQ,5471
|
|
234
|
-
machineconfig/scripts/python/helpers_repos/cloud_repo_sync.py,sha256=
|
|
234
|
+
machineconfig/scripts/python/helpers_repos/cloud_repo_sync.py,sha256=w2VPL-PtquUNjph5fbSrK169Zr7BBwlXJkcAECeWVl8,11271
|
|
235
235
|
machineconfig/scripts/python/helpers_repos/count_lines.py,sha256=Q5c7b-DxvTlQmljoic7niTuiAVyFlwYvkVQ7uRJHiTo,16009
|
|
236
|
-
machineconfig/scripts/python/helpers_repos/count_lines_frontend.py,sha256=
|
|
236
|
+
machineconfig/scripts/python/helpers_repos/count_lines_frontend.py,sha256=x3FemwZZwaMF5uKb-5GrHb5NPVeh9b7BSScWxgw3pyQ,607
|
|
237
237
|
machineconfig/scripts/python/helpers_repos/entrypoint.py,sha256=WYEFGUJp9HWImlFjbs_hiFZrUqM_KEYm5VvSUjWd04I,2810
|
|
238
238
|
machineconfig/scripts/python/helpers_repos/grource.py,sha256=lHxyfsIQr4pbu71Ekqu-9nohR7LXbN2wufw7LPTyOgM,14639
|
|
239
239
|
machineconfig/scripts/python/helpers_repos/record.py,sha256=FQo0swuJZOp0I2XGK-t1OQU4zJHmQ2z9zTpDD30Tmg4,11001
|
|
@@ -261,7 +261,7 @@ machineconfig/scripts/windows/wrap_mcfg.ps1,sha256=tFCj4wK7B35Uf6kdGCRV7EIr1xZFT
|
|
|
261
261
|
machineconfig/scripts/windows/mounts/mount_nfs.ps1,sha256=XrAdzpxE6a4OccSmWJ7YWHJTnsZK8uXnFE5j9GOPA20,2026
|
|
262
262
|
machineconfig/scripts/windows/mounts/mount_nw.ps1,sha256=puxcfZc3ZCJerm8pj8OZGVoTYkhzp-h7oV-MrksSqIE,454
|
|
263
263
|
machineconfig/scripts/windows/mounts/mount_smb.ps1,sha256=PzYWpIO9BpwXjdWlUQL9pnMRnOGNSkxfh4bHukJFme8,69
|
|
264
|
-
machineconfig/scripts/windows/mounts/mount_ssh.ps1,sha256
|
|
264
|
+
machineconfig/scripts/windows/mounts/mount_ssh.ps1,sha256=-gUKFtMKW4ZW-uPorPweHVPbAHJgOXvhZahhjosfHHI,322
|
|
265
265
|
machineconfig/scripts/windows/mounts/share_cloud.cmd,sha256=exD7JCdxw2LqVjw2MKCYHbVZlEqmelXtwnATng-dhJ4,1028
|
|
266
266
|
machineconfig/scripts/windows/mounts/share_smb.ps1,sha256=U7x8ULYSjbgzTtiHNSKQuTaZ_apilDvkGV5Xm5hXk5M,384
|
|
267
267
|
machineconfig/scripts/windows/mounts/unlock_bitlocker.ps1,sha256=Wv-SLscdckV-1mG3p82VXKPY9zW3hgkRmcLUXIZ1daE,253
|
|
@@ -359,7 +359,8 @@ machineconfig/settings/tmux/.tmate.conf,sha256=dhj8IbNUe_oaBSmnAE-k2rcHJ6_zcd7pH
|
|
|
359
359
|
machineconfig/settings/tmux/.tmux.conf,sha256=55qyCgKHOyg70kJ42GXrHwqAAtRtnsWtdHCuPt-8Hy8,94
|
|
360
360
|
machineconfig/settings/wsl/.wslconfig,sha256=wL4oWxRw_0vLQXheSLNuGUQqypqEKlVqYALosPI9jhY,1279
|
|
361
361
|
machineconfig/settings/yazi/init.lua,sha256=fW_FIMNSh8mFGMYqwPerr61HJYMNQJfeKMWzoaVpFKs,892
|
|
362
|
-
machineconfig/settings/yazi/
|
|
362
|
+
machineconfig/settings/yazi/keymap_linux.toml,sha256=DFLc_KcyaskQT26Y5eNsvUOPbQeShURbmilyew-8ctI,1982
|
|
363
|
+
machineconfig/settings/yazi/keymap_windows.toml,sha256=zYniF6XBtJ27mmR4R_g6hskr-tseMI9Q2Oko56v7KpA,2025
|
|
363
364
|
machineconfig/settings/yazi/theme.toml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
364
365
|
machineconfig/settings/yazi/yazi.toml,sha256=KRGbjMkCmbCdTRxEXJXd5gI1kTEQK7VtDGm1MXsOJDw,234
|
|
365
366
|
machineconfig/settings/yazi/shell/yazi_cd.ps1,sha256=gvXZyD2Csil8KjaMtrx5ZkF9AqRt0LaVfTL724vxMCE,312
|
|
@@ -384,7 +385,7 @@ machineconfig/setup_linux/others/cli_installation.sh,sha256=gVvszYZJgKPRJx2SEaE3
|
|
|
384
385
|
machineconfig/setup_linux/others/mint_keyboard_shortcuts.sh,sha256=F5dbg0n9RHsKGPn8fIdZMn3p0RrHEkb8rWBGsdVGbus,1207
|
|
385
386
|
machineconfig/setup_linux/ssh/openssh_all.sh,sha256=3dg6HEUFbHQOzLfSAtzK_D_GB8rGCCp_aBnxNdnidVc,824
|
|
386
387
|
machineconfig/setup_linux/ssh/openssh_wsl.sh,sha256=1eeRGrloVB34K5z8yWVUMG5b9pV-WBfHgV9jqXiYgCQ,1398
|
|
387
|
-
machineconfig/setup_linux/web_shortcuts/interactive.sh,sha256=
|
|
388
|
+
machineconfig/setup_linux/web_shortcuts/interactive.sh,sha256=km31_3EiP_9ej0RahcswBCVtUHius68aosFStDkUTsY,1581
|
|
388
389
|
machineconfig/setup_mac/__init__.py,sha256=Q1waupi5vCBroLqc8Rtnw69_7jLnm2Cs7_zH_GSZgMs,616
|
|
389
390
|
machineconfig/setup_mac/apps.sh,sha256=R0N6fBwLCzwy4qAormyMerXXXrHazibSkY6NrNOpTQU,2772
|
|
390
391
|
machineconfig/setup_mac/apps_gui.sh,sha256=3alvddg918oMlJB2aUWJWpGGoaq5atlxcaOwhnyXlRI,9517
|
|
@@ -399,7 +400,7 @@ machineconfig/setup_windows/others/power_options.ps1,sha256=c7Hn94jBD5GWF29CxMhm
|
|
|
399
400
|
machineconfig/setup_windows/ssh/add-sshkey.ps1,sha256=qfPdqCpd9KP3VhH4ifsUm1Xvec7c0QVl4Wt8JIAm9HQ,1653
|
|
400
401
|
machineconfig/setup_windows/ssh/add_identity.ps1,sha256=b8ZXpmNUSw3IMYvqSY7ClpdWPG39FS7MefoWnRhWN2U,506
|
|
401
402
|
machineconfig/setup_windows/ssh/openssh-server.ps1,sha256=OMlYQdvuJQNxF5EILLPizB6BZAT3jAmDsv1WcVVxpFQ,2529
|
|
402
|
-
machineconfig/setup_windows/web_shortcuts/interactive.ps1,sha256=
|
|
403
|
+
machineconfig/setup_windows/web_shortcuts/interactive.ps1,sha256=q84DB2DtLEDNztO5QJ8CTokIXWbyJkPplNeQs2gNkIM,1916
|
|
403
404
|
machineconfig/setup_windows/wt_and_pwsh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
404
405
|
machineconfig/setup_windows/wt_and_pwsh/set_wt_settings.py,sha256=ogxJnwpdcpH7N6dFJu95UCNoGYirZKQho_3X0F_hmXs,6791
|
|
405
406
|
machineconfig/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -417,7 +418,7 @@ machineconfig/utils/procs.py,sha256=YPA_vEYQGwPd_o_Lc6nOTBo5BrB1tSs8PJ42XiGpenM,
|
|
|
417
418
|
machineconfig/utils/scheduler.py,sha256=fguwvINyaupOxdU5Uadyxalh_jXTXDzt0ioEgjEOKcM,14705
|
|
418
419
|
machineconfig/utils/scheduling.py,sha256=vcJgajeJPSWkJNlarYJSmLvasdOuCtBM4druOAB1Nwc,11089
|
|
419
420
|
machineconfig/utils/source_of_truth.py,sha256=ZAnCRltiM07ig--P6g9_6nEAvNFC4X4ERFTVcvpIYsE,764
|
|
420
|
-
machineconfig/utils/ssh.py,sha256=
|
|
421
|
+
machineconfig/utils/ssh.py,sha256=f7ySVYwwe16m2XsMKFPhKlmVN0y1PdjovN9LY8b0bd4,39274
|
|
421
422
|
machineconfig/utils/terminal.py,sha256=VDgsjTjBmMGgZN0YIc0pJ8YksLDrBtiXON1EThy7_is,4264
|
|
422
423
|
machineconfig/utils/tst.py,sha256=6u1GI49NdcpxH2BYGAusNfY5q9G_ytCGVzFM5b6HYpM,674
|
|
423
424
|
machineconfig/utils/upgrade_packages.py,sha256=e4iJn_9vL2zCJxAR2dhKJjM0__ALKgI5yB1uBRxSjhQ,6994
|
|
@@ -446,8 +447,8 @@ machineconfig/utils/schemas/installer/installer_types.py,sha256=QClRY61QaduBPJoS
|
|
|
446
447
|
machineconfig/utils/schemas/layouts/layout_types.py,sha256=TcqlZdGVoH8htG5fHn1KWXhRdPueAcoyApppZsPAPto,2020
|
|
447
448
|
machineconfig/utils/schemas/repos/repos_types.py,sha256=ECVr-3IVIo8yjmYmVXX2mnDDN1SLSwvQIhx4KDDQHBQ,405
|
|
448
449
|
machineconfig/utils/ssh_utils/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
449
|
-
machineconfig-7.
|
|
450
|
-
machineconfig-7.
|
|
451
|
-
machineconfig-7.
|
|
452
|
-
machineconfig-7.
|
|
453
|
-
machineconfig-7.
|
|
450
|
+
machineconfig-7.48.dist-info/METADATA,sha256=y26YW9DbHr5t1IMo-VCl_1zcmdJfB7tvfB9SOU5q9rE,3396
|
|
451
|
+
machineconfig-7.48.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
452
|
+
machineconfig-7.48.dist-info/entry_points.txt,sha256=_JNgkzaa_gVAWyZ6UwPwXXQqURRSvAGhrVQ1RiU2sHc,746
|
|
453
|
+
machineconfig-7.48.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
|
|
454
|
+
machineconfig-7.48.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|