augint-shell 0.98.2__tar.gz → 0.98.3__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.
Files changed (39) hide show
  1. {augint_shell-0.98.2 → augint_shell-0.98.3}/PKG-INFO +1 -1
  2. {augint_shell-0.98.2 → augint_shell-0.98.3}/pyproject.toml +1 -1
  3. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/__init__.py +1 -1
  4. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/cli/commands/tools.py +26 -8
  5. {augint_shell-0.98.2 → augint_shell-0.98.3}/README.md +0 -0
  6. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/assets/__init__.py +0 -0
  7. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/assets/comfyui/__init__.py +0 -0
  8. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/assets/comfyui/provision.sh +0 -0
  9. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/cli/__init__.py +0 -0
  10. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/cli/__main__.py +0 -0
  11. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/cli/commands/__init__.py +0 -0
  12. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/cli/commands/llm.py +0 -0
  13. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/cli/commands/manage.py +0 -0
  14. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/config.py +0 -0
  15. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/container.py +0 -0
  16. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/defaults.py +0 -0
  17. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/exceptions.py +0 -0
  18. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/gpu.py +0 -0
  19. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/interactive.py +0 -0
  20. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/local_chrome.py +0 -0
  21. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/models.py +0 -0
  22. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/scaffold.py +0 -0
  23. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/selector.py +0 -0
  24. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/__init__.py +0 -0
  25. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/ai-shell.toml +0 -0
  26. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/ai-shell.yaml +0 -0
  27. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/augint-ai-shell.example.yaml +0 -0
  28. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/augint-env.example +0 -0
  29. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/claude/__init__.py +0 -0
  30. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/claude/settings.json +0 -0
  31. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/codex/__init__.py +0 -0
  32. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/n8n/workflows/chat_with_ollama.json +0 -0
  33. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/n8n/workflows/text_to_speech.json +0 -0
  34. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/n8n/workflows/transcribe_audio.json +0 -0
  35. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/opencode/__init__.py +0 -0
  36. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/pi/__init__.py +0 -0
  37. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/templates/pi/models.json +0 -0
  38. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/tmux.py +0 -0
  39. {augint_shell-0.98.2 → augint_shell-0.98.3}/src/ai_shell/typeahead.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: augint-shell
3
- Version: 0.98.2
3
+ Version: 0.98.3
4
4
  Summary: Launch AI coding tools and local LLMs in Docker containers
5
5
  Author: svange
6
6
  Requires-Dist: docker>=7.0.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "augint-shell"
3
- version = "0.98.2"
3
+ version = "0.98.3"
4
4
  description = "Launch AI coding tools and local LLMs in Docker containers"
5
5
  authors = [{name = "svange"}]
6
6
  readme = "README.md"
@@ -1,6 +1,6 @@
1
1
  """augint-shell (ai-shell) - Launch AI coding tools and local LLMs in Docker containers."""
2
2
 
3
- __version__ = "0.98.2"
3
+ __version__ = "0.98.3"
4
4
 
5
5
  __all__ = [
6
6
  "__version__",
@@ -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
- attach_url = f"http://localhost:{port}"
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
- manager.exec_detached(
1470
- name,
1471
- ["opencode", "attach", attach_url],
1472
- extra_env=exec_env,
1473
- workdir=container_path,
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
- console.print(f" [green]+[/green] {rel}")
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]Attached {len(repos)} terminal(s).[/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
 
File without changes