From 06e995ce03fe944de3f5deaf6ae2b1318491fa45 Mon Sep 17 00:00:00 2001 From: viettranx Date: Wed, 18 Mar 2026 07:38:41 +0700 Subject: [PATCH] feat: Add legacy and Claude Code tool aliases to the system prompt. --- internal/agent/systemprompt.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/agent/systemprompt.go b/internal/agent/systemprompt.go index 1deeaa0f..5ab13002 100644 --- a/internal/agent/systemprompt.go +++ b/internal/agent/systemprompt.go @@ -104,6 +104,10 @@ var coreToolSummaries = map[string]string{ "team_tasks": "Team task board — track progress, manage dependencies (spawn auto-creates delegation tasks)", "team_message": "Send messages to teammates (progress updates, questions)", + // Legacy tool aliases — kept for backward compatibility with older clients + "edit_file": "Alias for edit — Edit a file by replacing exact text matches", + "sessions_spawn": "Alias for spawn — Spawn a self-clone subagent to handle a task in the background", + // Claude Code tool aliases — enable Claude Code skills without modification "Read": "Alias for read_file — Read file contents", "Write": "Alias for write_file — Create or overwrite files",