fix(webchat): route slash commands through agent command fast-path

This commit is contained in:
William Valentin
2026-02-18 16:18:27 -08:00
parent b35a8675b5
commit abd37342fa
2 changed files with 42 additions and 53 deletions
+12 -1
View File
@@ -1,6 +1,6 @@
{
"version": "1.0",
"updated_at": "2026-02-18",
"updated_at": "2026-02-19",
"description": "Tracks the status of all Flynn plans and implementation phases",
"plans": {
"makefile-skills-convenience-targets": {
@@ -5548,6 +5548,17 @@
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/channels/telegram/adapter.test.ts src/config/schema.test.ts src/gateway/handlers/services.test.ts src/cli/doctor.test.ts + pnpm typecheck passing"
},
"webchat-slash-command-agent-fastpath-fix": {
"status": "completed",
"date": "2026-02-19",
"updated": "2026-02-19",
"summary": "Fixed WebChat slash command reliability by routing /reset, /compact, /usage, /status, and /model through agent.send command metadata fast-path instead of mixed local RPC shortcuts. This resolves /model returning unknown and keeps command behavior aligned with backend command registry.",
"files_modified": [
"src/gateway/ui/pages/chat.js",
"docs/plans/state.json"
],
"test_status": "pnpm typecheck + pnpm test:run src/commands/registry.test.ts src/commands/builtin/index.test.ts passing"
}
},
"overall_progress": {