From 04408985849cddea3c079d2d7999bb4f260ccbe5 Mon Sep 17 00:00:00 2001 From: Toshii <94262432+0xToshii@users.noreply.github.com> Date: Tue, 14 Oct 2025 16:02:41 -0700 Subject: [PATCH] rename `task follow` to `task chat`, remove top level `cline send` (#6845) * removing cline send command * rename task follow to task chat --- cli/cmd/cline/main.go | 1 - cli/pkg/cli/task.go | 16 ++++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/cli/cmd/cline/main.go b/cli/cmd/cline/main.go index 4d6c1084..4bf7bc42 100644 --- a/cli/cmd/cline/main.go +++ b/cli/cmd/cline/main.go @@ -161,7 +161,6 @@ This CLI also provides task management, configuration, and monitoring capabiliti rootCmd.AddCommand(cli.NewConfigCommand()) rootCmd.AddCommand(cli.NewVersionCommand()) rootCmd.AddCommand(cli.NewAuthCommand()) - rootCmd.AddCommand(cli.NewTaskSendCommand()) rootCmd.AddCommand(cli.NewLogsCommand()) if err := rootCmd.ExecuteContext(context.Background()); err != nil { diff --git a/cli/pkg/cli/task.go b/cli/pkg/cli/task.go index 8411bac4..202d73b0 100644 --- a/cli/pkg/cli/task.go +++ b/cli/pkg/cli/task.go @@ -38,8 +38,8 @@ func NewTaskCommand() *cobra.Command { cmd.AddCommand(newTaskNewCommand()) cmd.AddCommand(newTaskOneshotCommand()) cmd.AddCommand(newTaskPauseCommand()) - cmd.AddCommand(newTaskFollowCommand()) - cmd.AddCommand(NewTaskSendCommand()) + cmd.AddCommand(newTaskChatCommand()) + cmd.AddCommand(newTaskSendCommand()) cmd.AddCommand(newTaskViewCommand()) cmd.AddCommand(newTaskListCommand()) cmd.AddCommand(newTaskOpenCommand()) @@ -270,7 +270,7 @@ func newTaskPauseCommand() *cobra.Command { return cmd } -func NewTaskSendCommand() *cobra.Command { +func newTaskSendCommand() *cobra.Command { var ( images []string files []string @@ -392,14 +392,14 @@ func NewTaskSendCommand() *cobra.Command { return cmd } -func newTaskFollowCommand() *cobra.Command { +func newTaskChatCommand() *cobra.Command { var address string cmd := &cobra.Command{ - Use: "follow", - Aliases: []string{"f"}, - Short: "Follow current task conversation in real-time", - Long: `Follow the current task conversation, displaying new messages as they arrive in real-time. Interactive input is enabled by default.`, + Use: "chat", + Aliases: []string{"c"}, + Short: "Chat with the current task in interactive mode", + Long: `Chat with the current task, displaying messages in real-time with interactive input enabled.`, Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { ctx := cmd.Context()