openclaw - 💡(How to fix) Fix [Webchat UI] /tasks command routes to agent instead of rendering task panel [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#60011Fetched 2026-04-08 02:37:29
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
mentioned ×1subscribed ×1

Root Cause

Root cause: The webchat UI is missing the front-end handler that intercepts certain slash commands and renders native UI panels.

RAW_BUFFERClick to expand / collapse

Bug Description

Environment:

  • OpenClaw version: 2026.4.2
  • Control panel UI version: 4.2 (webchat)
  • Platform: macOS

Steps to reproduce:

  1. Open the webchat control panel UI at http://localhost:18789/chat
  2. Type `/tasks` in the message input box
  3. Observe: instead of rendering a task panel above the input, the command text is sent to the agent as a regular message

Expected behavior: `/tasks` should open a task board/panel in the webchat UI, listing background tasks for the current session — as documented in the 4.1 release notes.

Actual behavior: The slash command is recognized (appears in autocomplete) but the UI does not render a task panel. The text `/tasks` is forwarded to the agent as a regular user message instead.

Evidence:

  • The `/tasks` command IS registered in the webchat codebase (index-Bx1QDj3a.js slash command registry)
  • Properly defined with `nativeName: "tasks"`, `textAlias: "/tasks"`, `category: "status"`
  • The webchat component lacks the UI rendering layer to display task panel before forwarding

Root cause: The webchat UI is missing the front-end handler that intercepts certain slash commands and renders native UI panels.

Impact:

  • `/tasks` is a flagship 4.1 feature inaccessible via webchat UI
  • Users must use Telegram or other native clients to access this functionality
  • Command appears in autocomplete but behavior is broken, creating user confusion

Suggested fix: Implement the front-end handler in the webchat component to intercept `/tasks` and render the task board panel.


Reported via OpenClaw webchat control panel by @YMIR777

extent analysis

TL;DR

Implement a front-end handler in the webchat component to intercept the /tasks slash command and render the task board panel.

Guidance

  • Verify that the /tasks command is correctly registered in the webchat codebase by checking the index-Bx1QDj3a.js file for the slash command registry.
  • Check the webchat component's code for any existing handlers that might be interfering with the rendering of the task panel.
  • Implement the suggested fix by adding a front-end handler that intercepts the /tasks command and renders the task board panel, as described in the Root cause section.
  • Test the fix by typing /tasks in the message input box and verifying that the task panel is rendered correctly.

Example

No code example is provided as the issue does not include specific code snippets or implementation details.

Notes

The fix assumes that the task board panel rendering layer is already implemented and available in the webchat component. If this is not the case, additional development may be required to create the rendering layer.

Recommendation

Apply the workaround by implementing the front-end handler to intercept the /tasks command, as this is the most direct solution to the problem. This will allow users to access the task board panel via the webchat UI.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING