Skip to content

Commit 7076949

Browse files
docs(prime-agent): use packaged installer in quickstart
1 parent 2cadc34 commit 7076949

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

integrations/prime_agent/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ fleet's dict interface.
126126
After the package is installed, register it with prime-agent's tool manager:
127127

128128
```bash
129-
python scripts/install_prime_agent.py
129+
engraphis-prime-agent install
130130
```
131131

132132
The installer is idempotent: re-running updates the existing entry instead of
@@ -146,7 +146,7 @@ adapter) if prime-agent's real API differs.
146146
| `ENGRAPHIS_DB_PATH` | Path to the local Engraphis SQLite database. The integration inherits whatever the gateway sees, so the dashboard and the fleet share one store. |
147147
| `ENGRAPHIS_WORKSPACE` | Default workspace name. The fleet's `workspace=` overrides this. |
148148
| `ENGRAPHIS_REPO` | Default repo scope. The fleet's `repo=` overrides this. |
149-
| `PRIME_AGENT_CONFIG_PATH` | Override the prime-agent config file path used by `scripts/install_prime_agent.py`. |
149+
| `PRIME_AGENT_CONFIG_PATH` | Override the prime-agent config file path used by `engraphis-prime-agent install`. |
150150

151151
Only the following variables are forwarded to the gateway subprocess —
152152
never the full environment:

integrations/prime_agent/tests/test_mcp_client.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import pytest
88

9-
from engraphis_prime_agent.config import EngraphisRuntimeConfig
9+
from engraphis_prime_agent.config import CORE_DIRECT_TOOLS, EngraphisRuntimeConfig
1010
from engraphis_prime_agent.mcp_client import (
1111
READ_ONLY_TOOLS,
1212
MAX_TOOL_LIST_PAGES,
@@ -35,6 +35,14 @@ async def test_connect_lists_core_tools(mcp_client) -> None:
3535
assert expected.issubset(names)
3636

3737

38+
@pytest.mark.asyncio
39+
async def test_live_gateway_exposes_smart_tools(live_mcp_client) -> None:
40+
"""The opt-in live gate must exercise the real gateway's tool contract."""
41+
tools = await live_mcp_client.list_tools()
42+
names = {tool["name"] for tool in tools}
43+
assert set(CORE_DIRECT_TOOLS).issubset(names)
44+
45+
3846
@pytest.mark.asyncio
3947
async def test_status_reports_connected(mcp_client) -> None:
4048
status = await mcp_client.status()

0 commit comments

Comments
 (0)