Repository navigation
feat: Add OpenClaw tool mappings and missing CC tools - #19
Conversation
- Added Browser, TodoRead, NotebookRead, MCPListTools, MCPCallTool, TaskCreate, TaskUpdate tool definitions - Added OpenClaw tool mappings: browser, message, todo_read/write, mcp_list/call, task_create/update, plan_mode, worktree - Enables full tool compatibility for OpenClaw → Dario → Claude Code routing
Follow-up cleanup after mergeAfter merging this PR, a cleanup pass was done on master covering the changes below. Tool template reverted to captured snapshotThe tool definitions added here (
The useful half of this PR — the client-tool alias entries in CLI backend removedRemoved Removed from Internal codenames scrubbedRemoved internal implementation names from source comments that have no value for public contributors — specifically the seed constant name and the build-tag algorithm name from the billing tag code. Orchestration tag list trimmedRemoved Tool mapping comment updated
README rewrittenFull rewrite for v3.4 accuracy: corrected line count, documented the billing tag algorithm and full beta set, added askalf segue with feature comparison table, removed stale content. |
|
Hey @earlvanze — small thing unrelated to the PR itself. I noticed your commit on master isn't linking to your GitHub profile in the contributors graph, which means you're not currently showing up on https://github.com/askalf/dario/graphs/contributors even though you authored one of the merged changes. The cause: your commit's author email is Fix is a one-time thing on your side:
Once verified, GitHub retroactively re-links every historical commit with that email — usually within a few hours, sometimes up to a day. Your commit here will then get the attribution it should have had from the start. No action needed from my side — just flagging so you don't miss the credit you're owed on this one. |
|
Thanks for the heads up! That email is actually not correct. Let me see what I can do to fix it.
… On Apr 13, 2026, at 4:59 PM, Ask ALF ***@***.***> wrote:
askalf
left a comment
(askalf/dario#19)
<#19 (comment)>
Hey @earlvanze <https://github.com/earlvanze> — small thing unrelated to the PR itself. I noticed your commit on master isn't linking to your GitHub profile in the contributors graph, which means you're not currently showing up on https://github.com/askalf/dario/graphs/contributors even though you authored one of the merged changes.
The cause: your commit's author email is ***@***.***, and that email isn't on the verified-emails list for your GitHub account. GitHub's commit-to-user linking works strictly by email match, so without that, the commit stays attributed to a plain-text name instead of linking to @earlvanze <https://github.com/earlvanze>.
Fix is a one-time thing on your side:
Go to https://github.com/settings/emails
Add ***@***.***
Click the verification link GitHub mails you
Once verified, GitHub retroactively re-links every historical commit with that email — usually within a few hours, sometimes up to a day. Your commit here will then get the attribution it should have had from the start.
No action needed from my side — just flagging so you don't miss the credit you're owed on this one.
—
Reply to this email directly, view it on GitHub <#19 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4POYQS2WJWR5YZAD63OHD4VT6DTAVCNFSM6AAAAACXWQDE5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DEMZXGM3TIMZVGQ>.
You are receiving this because you were mentioned.
|
Summary
This PR adds missing Claude Code tool definitions and OpenClaw-specific tool mappings to enable full tool compatibility when routing requests through Dario.
Changes
New Tool Definitions (cc-template-data.json)
New Tool Mappings (cc-template.ts)
Added mappings for OpenClaw tools:
browser→ Browsermessage→ AskUserQuestiontodo_read/write→ TodoRead/TodoWritemcp_list/call→ MCPListTools/MCPCallToolmcp_list_tools/mcp_call_tool→ MCPListTools/MCPCallTooltask_create/update→ TaskCreate/TaskUpdateenter/exit_plan_mode→ EnterPlanMode/ExitPlanModeenter/exit_worktree→ EnterWorktree/ExitWorktreeMotivation
When OpenClaw routes requests through Dario to Claude Code, tool calls like
browser,message,process, etc. were being stripped or misrouted because the CC template only had 11 tool definitions while Claude Code supports 25+. This caused a mismatch between the system prompt (which mentions all tools) and the actual tool list sent to Claude.Testing
Tested with OpenClaw smart-router → Dario → Claude Code flow. Tool calls now work correctly for all mapped tools.
Related
Fixes tool call parsing mismatch reported in OpenClaw deployments using Dario as the Claude provider.