diff --git a/README.md b/README.md index 04c621c..f524551 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ PhoneWork uses a **Router + Host Client** architecture that supports both single | Module | Purpose | |--------|---------| | `standalone.py` | Single-process entry point: runs router + host client together | -| `router/main.py` | FastAPI app factory, mounts `/ws/node` endpoint, can be run directly | +| `router/main.py` | FastAPI app factory, mounts `//ws/node` endpoint, can be run directly | | `shared/protocol.py` | Wire protocol for router-host communication | | `router/nodes.py` | Node registry, connection management, user-to-node mapping | | `router/ws.py` | WebSocket endpoint for host clients, heartbeat, message routing | @@ -51,7 +51,7 @@ PhoneWork uses a **Router + Host Client** architecture that supports both single | `host_client/config.py` | Host client configuration loader | | `bot/handler.py` | Receives Feishu events via long-connection WebSocket | | `bot/feishu.py` | Sends text/file replies back to Feishu | -| `bot/commands.py` | Slash command handler (`/new`, `/status`, `/shell`, `/remind`, `/tasks`, `/nodes`, `/node`) | +| `bot/commands.py` | Slash command handler (`//new`, `//status`, `//shell`, `//remind`, `//tasks`, `//nodes`, `//node`) | | `orchestrator/agent.py` | LangChain agent with per-user history + direct/smart mode + direct Q&A | | `orchestrator/tools.py` | Tools: session management, shell, file ops, web search, scheduler, task status | | `agent/manager.py` | Session registry with persistence, idle timeout, and auto-background tasks | @@ -281,30 +281,30 @@ GET /health | Command | Description | |---------|-------------| -| `/new [msg]` | Create a new Claude Code session in `` | -| `/new [msg] --timeout N` | Create with custom CC timeout (seconds) | -| `/new [msg] --idle N` | Create with custom idle timeout (seconds) | -| `/status` | Show your sessions and current mode | -| `/switch ` | Switch active session to number `` from `/status` | -| `/close [n]` | Close active session (or session ``) | -| `/direct` | Direct mode: messages go straight to Claude Code (no LLM overhead) | -| `/smart` | Smart mode: messages go through LLM for intelligent routing (default) | -| `/shell ` | Run a shell command directly (bypasses LLM) | -| `/remind