machineconfig 4.91__py3-none-any.whl → 4.92__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/scripts/python/agents.py +10 -5
- machineconfig/scripts/python/devops_devapps_install.py +3 -2
- machineconfig/scripts/python/repos.py +6 -1
- machineconfig/scripts/python/sessions.py +8 -4
- {machineconfig-4.91.dist-info → machineconfig-4.92.dist-info}/METADATA +1 -1
- {machineconfig-4.91.dist-info → machineconfig-4.92.dist-info}/RECORD +9 -9
- {machineconfig-4.91.dist-info → machineconfig-4.92.dist-info}/WHEEL +0 -0
- {machineconfig-4.91.dist-info → machineconfig-4.92.dist-info}/entry_points.txt +0 -0
- {machineconfig-4.91.dist-info → machineconfig-4.92.dist-info}/top_level.txt +0 -0
|
@@ -165,11 +165,11 @@ AGENTS_DIR="$REPO_ROOT/.ai/agents/$JOB_NAME"
|
|
|
165
165
|
LAYOUT_PATH="$REPO_ROOT/.ai/agents/$JOB_NAME/layout_unbalanced.json"
|
|
166
166
|
LAYOUT_BALANCED_PATH="$REPO_ROOT/.ai/agents/$JOB_NAME/layout_balanced.json"
|
|
167
167
|
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
agents create --context-path $CONTEXT_PATH --tasks-per-prompt 10 --agent crush --prompt-path $PROMPT_PATH --keep-separate --output-path $LAYOUT_PATH --agents-dir $AGENTS_DIR
|
|
169
|
+
sessions balance-load $LAYOUT_PATH --max-thresh 6 --breaking-method moreLayouts --thresh-type number --output-path $LAYOUT_BALANCED_PATH
|
|
170
170
|
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
sessions run $LAYOUT_BALANCED_PATH --kill-upon-completion
|
|
172
|
+
agents collect $AGENTS_DIR "$REPO_ROOT/.ai/agents/$JOB_NAME/collected.txt"
|
|
173
173
|
"""
|
|
174
174
|
template_powershell = """
|
|
175
175
|
|
|
@@ -194,11 +194,16 @@ fire_agents collect $AGENTS_DIR "$REPO_ROOT/.ai/agents/$JOB_NAME/collected.txt"
|
|
|
194
194
|
|
|
195
195
|
|
|
196
196
|
def main_from_parser():
|
|
197
|
+
import sys
|
|
197
198
|
agents_app = typer.Typer(help="🤖 AI Agents management subcommands")
|
|
198
199
|
agents_app.command("create")(create)
|
|
199
200
|
agents_app.command("collect")(collect)
|
|
200
201
|
agents_app.command("template")(template)
|
|
201
|
-
|
|
202
|
+
if len(sys.argv) == 1:
|
|
203
|
+
agents_app(["--help"])
|
|
204
|
+
else:
|
|
205
|
+
agents_app()
|
|
206
|
+
|
|
202
207
|
|
|
203
208
|
if __name__ == "__main__": # pragma: no cover
|
|
204
209
|
pass
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
from machineconfig.utils.installer import get_installers_system_groups
|
|
4
4
|
import typer
|
|
5
|
-
from rich.progress import Progress, SpinnerColumn, TextColumn
|
|
6
5
|
from rich.console import Console
|
|
7
6
|
from rich.panel import Panel
|
|
8
7
|
from rich.table import Table
|
|
@@ -72,7 +71,9 @@ def main(
|
|
|
72
71
|
if interactive:
|
|
73
72
|
return install_interactively()
|
|
74
73
|
typer.echo("❌ You must provide either --which, --group, or --interactive/-ia option.")
|
|
75
|
-
|
|
74
|
+
import click
|
|
75
|
+
ctx = click.get_current_context()
|
|
76
|
+
typer.echo(ctx.get_help())
|
|
76
77
|
raise typer.Exit(1)
|
|
77
78
|
|
|
78
79
|
|
|
@@ -70,7 +70,12 @@ def main(
|
|
|
70
70
|
auto_sync=auto_sync
|
|
71
71
|
)
|
|
72
72
|
else:
|
|
73
|
-
print("❌ No action specified. Try passing --push, --pull, --commit, or --all.")
|
|
73
|
+
# print("❌ No action specified. Try passing --push, --pull, --commit, or --all.")
|
|
74
|
+
typer.echo("❌ No action specified. Try passing --push, --pull, --commit, or --all.")
|
|
75
|
+
import click
|
|
76
|
+
ctx = click.get_current_context()
|
|
77
|
+
typer.echo(ctx.get_help())
|
|
78
|
+
raise typer.Exit(1)
|
|
74
79
|
|
|
75
80
|
|
|
76
81
|
def main_from_parser() -> None:
|
|
@@ -4,7 +4,7 @@ from typing import Optional, Literal
|
|
|
4
4
|
import typer
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
def
|
|
7
|
+
def balance_load(layout_path: Path = typer.Argument(..., help="Path to the layout.json file"),
|
|
8
8
|
max_thresh: int = typer.Option(..., help="Maximum tabs per layout"),
|
|
9
9
|
thresh_type: Literal['number', 'weight'] = typer.Option(..., help="Threshold type"),
|
|
10
10
|
breaking_method: Literal['moreLayouts', 'combineTabs'] = typer.Option(..., help="Breaking method"),
|
|
@@ -129,9 +129,13 @@ def launch(layout_path: str = typer.Argument(..., help="Path to the layout.json
|
|
|
129
129
|
|
|
130
130
|
def main_from_parser():
|
|
131
131
|
layouts_app = typer.Typer(help="Layouts management subcommands")
|
|
132
|
-
layouts_app.command("
|
|
133
|
-
layouts_app.command("load
|
|
134
|
-
|
|
132
|
+
layouts_app.command("run")(launch)
|
|
133
|
+
layouts_app.command("balance-load")(balance_load)
|
|
134
|
+
import sys
|
|
135
|
+
if len(sys.argv) == 1:
|
|
136
|
+
layouts_app(["--help"])
|
|
137
|
+
else:
|
|
138
|
+
layouts_app()
|
|
135
139
|
|
|
136
140
|
|
|
137
141
|
if __name__ == "__main__":
|
|
@@ -139,7 +139,7 @@ machineconfig/scripts/linux/warp-cli.sh,sha256=shFFZ9viet_DSEEHT8kxlGRHoJpO6o85p
|
|
|
139
139
|
machineconfig/scripts/linux/wifi_conn,sha256=X4TH3OvcVZfOveSbF9WW8uXb4U_G7ZSnCERc7VYAqkc,95
|
|
140
140
|
machineconfig/scripts/linux/z_ls,sha256=ATZtu0ccN3AKvAOxkwLq1xgQjJ3en5byEWJ3Q8afnNg,3340
|
|
141
141
|
machineconfig/scripts/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
142
|
-
machineconfig/scripts/python/agents.py,sha256=
|
|
142
|
+
machineconfig/scripts/python/agents.py,sha256=iMR-lpkdIzpm1CEin092IRCq2RbXLD-8Z_SOcV0g33Q,9897
|
|
143
143
|
machineconfig/scripts/python/choose_wezterm_theme.py,sha256=Hlu_EOQhLM6wYdAdY25jcqEK11BkVwQYwkz04xnIBVU,3397
|
|
144
144
|
machineconfig/scripts/python/cloud_copy.py,sha256=_pxA8o3ar5vH9DkrAdwafHcZMiqNCbY_IfNzKCOMJ5k,8395
|
|
145
145
|
machineconfig/scripts/python/cloud_manager.py,sha256=YN0DYLzPKtMBaks-EAVwFmkCu3XeHWMr1D21uqX5dDk,3429
|
|
@@ -151,7 +151,7 @@ machineconfig/scripts/python/devops.py,sha256=fTEut6gTDfmNqzS8-gRyRAsmWJYPGGIt8X
|
|
|
151
151
|
machineconfig/scripts/python/devops_add_identity.py,sha256=JfN3ZrYMCgmt4ks_VCfnV9BIIHAsOYO3E0W0wZ15FR8,3791
|
|
152
152
|
machineconfig/scripts/python/devops_add_ssh_key.py,sha256=KaoX83KltBsmutfKhSfZjd7nP_R1hJ2OLAWRhbswO7o,6889
|
|
153
153
|
machineconfig/scripts/python/devops_backup_retrieve.py,sha256=jZe5Vki7E2GCMG8hvqUZeOONFC4cNzISoGzq_dMG4GA,5601
|
|
154
|
-
machineconfig/scripts/python/devops_devapps_install.py,sha256=
|
|
154
|
+
machineconfig/scripts/python/devops_devapps_install.py,sha256=U3Kl8QCHKmQg3o7c2IRsmFM25fGMX1CoH9wvkf2tdeU,10234
|
|
155
155
|
machineconfig/scripts/python/devops_update_repos.py,sha256=c5qBc9cuTGDEqDHufkjDT4d_vvJsswv3tlqk9MAulYk,8063
|
|
156
156
|
machineconfig/scripts/python/dotfile.py,sha256=SRcX-9Ak1jRvF-killBTTm2IWcsNxfiLucH6ZsytAFA,2202
|
|
157
157
|
machineconfig/scripts/python/fire_agents_help_launch.py,sha256=1ymWiszfjCyPv3ofinWzfOmbzLEt3d7ntac_afLh-V4,5017
|
|
@@ -170,13 +170,13 @@ machineconfig/scripts/python/mount_nw_drive.py,sha256=iru6AtnTyvyuk6WxlK5R4lDkul
|
|
|
170
170
|
machineconfig/scripts/python/mount_ssh.py,sha256=rGY2pgtlnWMi0Rrge1aCdjtfbULrj2cyaStDoX-y2w4,2236
|
|
171
171
|
machineconfig/scripts/python/onetimeshare.py,sha256=bmGsNnskym5OWfIhpOfZG5jq3m89FS0a6dF5Sb8LaZM,2539
|
|
172
172
|
machineconfig/scripts/python/pomodoro.py,sha256=SPkfeoZGv8rylGiOyzQ7UK3aXZ3G2FIOuGkSuBUggOI,2019
|
|
173
|
-
machineconfig/scripts/python/repos.py,sha256=
|
|
173
|
+
machineconfig/scripts/python/repos.py,sha256=Mz-d0ubynOZaKwC6YXKiZq9ojMnKFi4J6n0UbiJYZyY,4449
|
|
174
174
|
machineconfig/scripts/python/repos_helper_action.py,sha256=f0vFjPj9WEA361961ux3SIEg9riVGHtyuf6BnO6lnvU,13336
|
|
175
175
|
machineconfig/scripts/python/repos_helper_clone.py,sha256=xW5YZEoNt3k7h9NIULhUhOnh53-B63eiXF2FjOl1IKQ,5535
|
|
176
176
|
machineconfig/scripts/python/repos_helper_record.py,sha256=YEEQORfEiLddOIIgePo5eEkyQUFruFg3kc8npMvRL-o,10927
|
|
177
177
|
machineconfig/scripts/python/repos_helper_update.py,sha256=AYyKIB7eQ48yoYmFjydIhRI1lV39TBv_S4_LCa-oKuQ,11042
|
|
178
178
|
machineconfig/scripts/python/scheduler.py,sha256=rKhssuxkD697EY6qaV6CSdNhxpAQLDWO4fE8GMCQ9FA,3061
|
|
179
|
-
machineconfig/scripts/python/sessions.py,sha256
|
|
179
|
+
machineconfig/scripts/python/sessions.py,sha256=-pKyA3oOC8ynHNE8Rcos5w0OEDT6t1O81EZWJo-rOU0,8377
|
|
180
180
|
machineconfig/scripts/python/share_terminal.py,sha256=biuG35YiknTMVr3Mzs4bBZwEq53JcuBRlzMTp6eY90M,5009
|
|
181
181
|
machineconfig/scripts/python/snapshot.py,sha256=aDvKeoniZaeTSNv9zWBUajaj2yagAxVdfuvO1_tgq5Y,1026
|
|
182
182
|
machineconfig/scripts/python/start_slidev.py,sha256=U5ujAL7R5Gd5CzFReTsnF2SThjY91aFBg0Qz_MMl6U4,4573
|
|
@@ -404,8 +404,8 @@ machineconfig/utils/schemas/fire_agents/fire_agents_input.py,sha256=pTxvLzIpD5RF
|
|
|
404
404
|
machineconfig/utils/schemas/installer/installer_types.py,sha256=QClRY61QaduBPJoSpdmTIdgS9LS-RvE-QZ-D260tD3o,1214
|
|
405
405
|
machineconfig/utils/schemas/layouts/layout_types.py,sha256=TcqlZdGVoH8htG5fHn1KWXhRdPueAcoyApppZsPAPto,2020
|
|
406
406
|
machineconfig/utils/schemas/repos/repos_types.py,sha256=ECVr-3IVIo8yjmYmVXX2mnDDN1SLSwvQIhx4KDDQHBQ,405
|
|
407
|
-
machineconfig-4.
|
|
408
|
-
machineconfig-4.
|
|
409
|
-
machineconfig-4.
|
|
410
|
-
machineconfig-4.
|
|
411
|
-
machineconfig-4.
|
|
407
|
+
machineconfig-4.92.dist-info/METADATA,sha256=V-IP6VGb9kPGkPancTAaV6j7EqHTKnCqAPBEer-enBg,7061
|
|
408
|
+
machineconfig-4.92.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
409
|
+
machineconfig-4.92.dist-info/entry_points.txt,sha256=LcwklRJPY_uKBvStgtOJn5G_pmFCEdpgRNzUUc6twAQ,1134
|
|
410
|
+
machineconfig-4.92.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
|
|
411
|
+
machineconfig-4.92.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|