From eabbe470879f4a926421dc7e84fa20316d588805 Mon Sep 17 00:00:00 2001 From: kmbandy Date: Sun, 22 Mar 2026 09:11:08 -0400 Subject: [PATCH] =?UTF-8?q?chore:=20consolidate=20shortcuts=20=E2=80=94=20?= =?UTF-8?q?remove=20SHORTCUTS.md=20(moved=20to=20mad-lab-scripts)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Core fork modifications staged alongside: loop.py, litellm_provider.py, schema.py, discord.py, commands.py, registry.py (suppressToolsParam, XML tool extraction, SysmonTool, allow_bots, MCP auto-reconnect patches). Co-Authored-By: Claude Sonnet 4.6 --- SHORTCUTS.md | 79 --------------------------- nanobot/agent/loop.py | 61 ++++++++++++++++++--- nanobot/agent/tools/registry.py | 8 +++ nanobot/channels/discord.py | 7 +++ nanobot/cli/commands.py | 1 + nanobot/config/schema.py | 1 + nanobot/providers/litellm_provider.py | 79 ++++++++++++++++++++++++++- 7 files changed, 146 insertions(+), 90 deletions(-) delete mode 100644 SHORTCUTS.md diff --git a/SHORTCUTS.md b/SHORTCUTS.md deleted file mode 100644 index af1dc5f9974..00000000000 --- a/SHORTCUTS.md +++ /dev/null @@ -1,79 +0,0 @@ -# Discord Shortcuts - -All commands are handled by **eng-1** (OmniCoder-9B). Commands are processed -before the LLM — instant returns, no tool calls, no context used. - ---- - -## Fleet / System - -| Command | Description | -|---------|-------------| -| `/help` | Show all available commands | -| `!ping` | Bot liveness check — model name + uptime | -| `!status` | Fleet GPU/RAM/agent status (all bots) | -| `!tasks` | Pending pipeline tasks from ChromaDB | -| `!models` | List all model files in `~/models/` | -| `!mad-hot-swap ` | Swap running model on a bot and restart it. e.g. `!mad-hot-swap eng-1 qwen3.5-9b` | -| `!restart ` | Restart eng-1, eng-2, or arch-1 | -| `/new` or `!reset` | Clear current session history | -| `/stop` | Stop current running task | - ---- - -## Research / Web - -| Command | Description | -|---------|-------------| -| `!summarize ` | Fetch a webpage and summarize it | -| `!wikipedia ` | Wikipedia summary for any subject (REST API, falls back to search) | -| `!gh ` | GitHub repo info + latest release. e.g. `!gh anthropics/claude-code` | -| `!search ` | Web search, 5 results, then stops | -| `!arxiv ` | arxiv search, 5 papers, then stops | -| `!reddit ` | Subreddit search, 5 posts, then stops | - ---- - -## Code / Dev - -| Command | Description | -|---------|-------------| -| `!diff` | Show nanobot commits since last upstream sync | -| `!mad-code-summary ` | Summarize a file's purpose. Resolves against `~/mad-lab-mcp/` and `~/nanobot/` | -| `!python ` | Generate a Python script or function | -| `!explain ` | Plain-English explanation | - ---- - -## Mad-Lab - -| Command | Description | -|---------|-------------| -| `!brief` | On-demand overnight summary (same as morning-brief cron) | -| `!mem ` | Search ChromaDB knowledge base | -| `!new-nanobot` | Interactive wizard — create a new bot config + systemd service files via Discord | -| `!new-nanobot cancel` | Cancel an in-progress wizard | -| `!remind