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.
- {aru_code-0.12.0/aru_code.egg-info → aru_code-0.12.1}/PKG-INFO +1 -1
- aru_code-0.12.1/aru/__init__.py +1 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/cli.py +12 -10
- {aru_code-0.12.0 → aru_code-0.12.1/aru_code.egg-info}/PKG-INFO +1 -1
- {aru_code-0.12.0 → aru_code-0.12.1}/pyproject.toml +1 -1
- aru_code-0.12.0/aru/__init__.py +0 -1
- {aru_code-0.12.0 → aru_code-0.12.1}/LICENSE +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/README.md +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/agent_factory.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/agents/__init__.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/agents/base.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/agents/executor.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/agents/planner.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/commands.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/completers.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/config.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/context.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/display.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/permissions.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/providers.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/runner.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/runtime.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/session.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/__init__.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/ast_tools.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/codebase.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/gitignore.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/mcp_client.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/ranker.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru/tools/tasklist.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru_code.egg-info/SOURCES.txt +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru_code.egg-info/dependency_links.txt +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru_code.egg-info/entry_points.txt +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru_code.egg-info/requires.txt +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/aru_code.egg-info/top_level.txt +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/setup.cfg +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_agents_base.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_ast_tools.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_advanced.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_base.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_completers.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_new.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_run_cli.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_session.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_cli_shell.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_codebase.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_config.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_context.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_executor.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_gitignore.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_main.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_mcp_client.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_permissions.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_planner.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_providers.py +0 -0
- {aru_code-0.12.0 → aru_code-0.12.1}/tests/test_ranker.py +0 -0
|
@@ -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
|
-
|
|
197
|
-
|
|
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.
|
|
363
|
-
|
|
364
|
-
|
|
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]
|
|
369
|
-
for
|
|
370
|
-
console.print(f" [bold cyan]{
|
|
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":
|
aru_code-0.12.0/aru/__init__.py
DELETED
|
@@ -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
|
|
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
|
|
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
|