aru-code 0.12.0__tar.gz → 0.12.1__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 (57) hide show
  1. {aru_code-0.12.0/aru_code.egg-info → aru_code-0.12.1}/PKG-INFO +1 -1
  2. aru_code-0.12.1/aru/__init__.py +1 -0
  3. {aru_code-0.12.0 → aru_code-0.12.1}/aru/cli.py +12 -10
  4. {aru_code-0.12.0 → aru_code-0.12.1/aru_code.egg-info}/PKG-INFO +1 -1
  5. {aru_code-0.12.0 → aru_code-0.12.1}/pyproject.toml +1 -1
  6. aru_code-0.12.0/aru/__init__.py +0 -1
  7. {aru_code-0.12.0 → aru_code-0.12.1}/LICENSE +0 -0
  8. {aru_code-0.12.0 → aru_code-0.12.1}/README.md +0 -0
  9. {aru_code-0.12.0 → aru_code-0.12.1}/aru/agent_factory.py +0 -0
  10. {aru_code-0.12.0 → aru_code-0.12.1}/aru/agents/__init__.py +0 -0
  11. {aru_code-0.12.0 → aru_code-0.12.1}/aru/agents/base.py +0 -0
  12. {aru_code-0.12.0 → aru_code-0.12.1}/aru/agents/executor.py +0 -0
  13. {aru_code-0.12.0 → aru_code-0.12.1}/aru/agents/planner.py +0 -0
  14. {aru_code-0.12.0 → aru_code-0.12.1}/aru/commands.py +0 -0
  15. {aru_code-0.12.0 → aru_code-0.12.1}/aru/completers.py +0 -0
  16. {aru_code-0.12.0 → aru_code-0.12.1}/aru/config.py +0 -0
  17. {aru_code-0.12.0 → aru_code-0.12.1}/aru/context.py +0 -0
  18. {aru_code-0.12.0 → aru_code-0.12.1}/aru/display.py +0 -0
  19. {aru_code-0.12.0 → aru_code-0.12.1}/aru/permissions.py +0 -0
  20. {aru_code-0.12.0 → aru_code-0.12.1}/aru/providers.py +0 -0
  21. {aru_code-0.12.0 → aru_code-0.12.1}/aru/runner.py +0 -0
  22. {aru_code-0.12.0 → aru_code-0.12.1}/aru/runtime.py +0 -0
  23. {aru_code-0.12.0 → aru_code-0.12.1}/aru/session.py +0 -0
  24. {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/__init__.py +0 -0
  25. {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/ast_tools.py +0 -0
  26. {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/codebase.py +0 -0
  27. {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/gitignore.py +0 -0
  28. {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/mcp_client.py +0 -0
  29. {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/ranker.py +0 -0
  30. {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/tasklist.py +0 -0
  31. {aru_code-0.12.0 → aru_code-0.12.1}/aru_code.egg-info/SOURCES.txt +0 -0
  32. {aru_code-0.12.0 → aru_code-0.12.1}/aru_code.egg-info/dependency_links.txt +0 -0
  33. {aru_code-0.12.0 → aru_code-0.12.1}/aru_code.egg-info/entry_points.txt +0 -0
  34. {aru_code-0.12.0 → aru_code-0.12.1}/aru_code.egg-info/requires.txt +0 -0
  35. {aru_code-0.12.0 → aru_code-0.12.1}/aru_code.egg-info/top_level.txt +0 -0
  36. {aru_code-0.12.0 → aru_code-0.12.1}/setup.cfg +0 -0
  37. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_agents_base.py +0 -0
  38. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_ast_tools.py +0 -0
  39. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli.py +0 -0
  40. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_advanced.py +0 -0
  41. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_base.py +0 -0
  42. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_completers.py +0 -0
  43. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_new.py +0 -0
  44. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_run_cli.py +0 -0
  45. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_session.py +0 -0
  46. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_shell.py +0 -0
  47. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_codebase.py +0 -0
  48. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_config.py +0 -0
  49. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_context.py +0 -0
  50. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_executor.py +0 -0
  51. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_gitignore.py +0 -0
  52. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_main.py +0 -0
  53. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_mcp_client.py +0 -0
  54. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_permissions.py +0 -0
  55. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_planner.py +0 -0
  56. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_providers.py +0 -0
  57. {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_ranker.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aru-code
3
- Version: 0.12.0
3
+ Version: 0.12.1
4
4
  Summary: A Claude Code clone built with Agno agents
5
5
  Author-email: Estevao <estevaofon@gmail.com>
6
6
  License-Expression: MIT
@@ -0,0 +1 @@
1
+ __version__ = "0.12.1"
@@ -192,9 +192,12 @@ async def run_cli(skip_permissions: bool = False, resume_id: str | None = None):
192
192
  paste_state = PasteState()
193
193
  prompt_session = _create_prompt_session(paste_state, config)
194
194
 
195
- # Startup: load MCP tools
196
- from aru.tools.codebase import load_mcp_tools
197
- await load_mcp_tools()
195
+ # Startup: load MCP tools in background (don't block REPL)
196
+ async def _load_mcp_background():
197
+ from aru.tools.codebase import load_mcp_tools
198
+ await load_mcp_tools()
199
+
200
+ asyncio.create_task(_load_mcp_background())
198
201
 
199
202
  while True:
200
203
  try:
@@ -359,15 +362,14 @@ async def run_cli(skip_permissions: bool = False, resume_id: str | None = None):
359
362
  continue
360
363
 
361
364
  if user_input.lower() == "/mcp":
362
- from aru.tools.codebase import ALL_TOOLS
363
- from agno.tools import Function
364
- mcp_tools = [t for t in ALL_TOOLS if isinstance(t, Function) and getattr(t, "name", "").count("__") > 0]
365
- if not mcp_tools:
365
+ from aru.tools.mcp_client import get_mcp_manager
366
+ manager = get_mcp_manager()
367
+ if not manager or not manager.catalog:
366
368
  console.print("[dim]No MCP tools loaded. Check aru.mcp.json config.[/dim]")
367
369
  else:
368
- console.print(f"[bold]Loaded MCP Tools ({len(mcp_tools)}):[/bold]\n")
369
- for t in mcp_tools:
370
- console.print(f" [bold cyan]{t.name}[/bold cyan] [dim]{t.description}[/dim]")
370
+ console.print(f"[bold]MCP Tools ({len(manager.catalog)}):[/bold]\n")
371
+ for entry in manager.catalog.values():
372
+ console.print(f" [bold cyan]{entry.name}[/bold cyan] [dim]{entry.description}[/dim]")
371
373
  continue
372
374
 
373
375
  if user_input.lower() == "/help":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aru-code
3
- Version: 0.12.0
3
+ Version: 0.12.1
4
4
  Summary: A Claude Code clone built with Agno agents
5
5
  Author-email: Estevao <estevaofon@gmail.com>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "aru-code"
7
- version = "0.12.0"
7
+ version = "0.12.1"
8
8
  description = "A Claude Code clone built with Agno agents"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -1 +0,0 @@
1
- __version__ = "0.12.0"
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