augint-shell 0.98.2__tar.gz → 0.99.0__tar.gz
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.
- {augint_shell-0.98.2 → augint_shell-0.99.0}/PKG-INFO +1 -1
- {augint_shell-0.98.2 → augint_shell-0.99.0}/pyproject.toml +1 -1
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/__init__.py +1 -1
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/cli/commands/tools.py +26 -8
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/defaults.py +2 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/README.md +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/assets/__init__.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/assets/comfyui/__init__.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/assets/comfyui/provision.sh +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/cli/__init__.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/cli/__main__.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/cli/commands/__init__.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/cli/commands/llm.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/cli/commands/manage.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/config.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/container.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/exceptions.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/gpu.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/interactive.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/local_chrome.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/models.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/scaffold.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/selector.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/__init__.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/ai-shell.toml +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/ai-shell.yaml +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/augint-ai-shell.example.yaml +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/augint-env.example +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/claude/__init__.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/claude/settings.json +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/codex/__init__.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/n8n/workflows/chat_with_ollama.json +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/n8n/workflows/text_to_speech.json +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/n8n/workflows/transcribe_audio.json +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/opencode/__init__.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/pi/__init__.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/pi/models.json +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/tmux.py +0 -0
- {augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/typeahead.py +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
import base64
|
|
5
6
|
import json
|
|
6
7
|
import logging
|
|
7
8
|
import subprocess
|
|
@@ -1459,27 +1460,44 @@ def serve(ctx, port: int, skip_root: bool, open_browser: bool) -> None:
|
|
|
1459
1460
|
repos.extend(_find_git_repos(cwd))
|
|
1460
1461
|
|
|
1461
1462
|
container_root = f"/root/projects/{config.project_name}"
|
|
1462
|
-
|
|
1463
|
+
registered = 0
|
|
1463
1464
|
|
|
1464
1465
|
for repo in repos:
|
|
1465
1466
|
rel = repo.relative_to(cwd) if repo != cwd else Path(".")
|
|
1466
1467
|
container_path = (
|
|
1467
1468
|
f"{container_root}/{rel.as_posix()}" if rel != Path(".") else container_root
|
|
1468
1469
|
)
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
[
|
|
1472
|
-
|
|
1473
|
-
|
|
1470
|
+
project_id = base64.b64encode(container_path.encode()).decode().rstrip("=")
|
|
1471
|
+
result = subprocess.run(
|
|
1472
|
+
[
|
|
1473
|
+
"docker",
|
|
1474
|
+
"exec",
|
|
1475
|
+
name,
|
|
1476
|
+
"curl",
|
|
1477
|
+
"-sf",
|
|
1478
|
+
"-X",
|
|
1479
|
+
"POST",
|
|
1480
|
+
f"http://localhost:{port}/project/{project_id}/session",
|
|
1481
|
+
"-H",
|
|
1482
|
+
"Content-Type: application/json",
|
|
1483
|
+
"-d",
|
|
1484
|
+
json.dumps({"directory": container_path}),
|
|
1485
|
+
],
|
|
1486
|
+
capture_output=True,
|
|
1487
|
+
timeout=10,
|
|
1474
1488
|
)
|
|
1475
|
-
|
|
1489
|
+
if result.returncode == 0:
|
|
1490
|
+
console.print(f" [green]+[/green] {rel}")
|
|
1491
|
+
registered += 1
|
|
1492
|
+
else:
|
|
1493
|
+
console.print(f" [yellow]![/yellow] {rel}")
|
|
1476
1494
|
|
|
1477
1495
|
host_port = project_dev_port(config.project_dir or cwd, port, config.project_name)
|
|
1478
1496
|
mdns_name = f"{project_slug}.local"
|
|
1479
1497
|
console.print()
|
|
1480
1498
|
console.print(f"[green bold]Server: http://localhost:{host_port}[/green bold]")
|
|
1481
1499
|
console.print(f"[green]mDNS: http://{mdns_name}:{port}[/green]")
|
|
1482
|
-
console.print(f"[dim]
|
|
1500
|
+
console.print(f"[dim]Registered {registered}/{len(repos)} project(s).[/dim]")
|
|
1483
1501
|
if exec_env.get("OPENCODE_SERVER_PASSWORD"):
|
|
1484
1502
|
console.print("[dim]Password protection enabled.[/dim]")
|
|
1485
1503
|
|
|
@@ -361,6 +361,7 @@ _SHARED_ENV_PASSTHROUGH = (
|
|
|
361
361
|
"COMFYUI_PORT",
|
|
362
362
|
"OPENCODE_SERVER_PASSWORD",
|
|
363
363
|
"OPENCODE_SERVER_USERNAME",
|
|
364
|
+
"PI_STUDIO_HOST",
|
|
364
365
|
)
|
|
365
366
|
|
|
366
367
|
|
|
@@ -422,6 +423,7 @@ def build_dev_environment(
|
|
|
422
423
|
"HUSKY": "0",
|
|
423
424
|
"IS_SANDBOX": "1",
|
|
424
425
|
"PRE_COMMIT_HOME": PRE_COMMIT_CACHE_PATH,
|
|
426
|
+
"PI_STUDIO_HOST": "0.0.0.0", # nosec B104
|
|
425
427
|
}
|
|
426
428
|
|
|
427
429
|
if env_file is not None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/augint-ai-shell.example.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{augint_shell-0.98.2 → augint_shell-0.99.0}/src/ai_shell/templates/n8n/workflows/text_to_speech.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|