Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit24bd249

Browse files
committed
fix: ignore self-reported status
1 parent9cef0df commit24bd249

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎cli/exp_mcp.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,11 @@ func (s *mcpServer) startServer(ctx context.Context, inv *serpent.Invocation, in
679679
returns.queue.Push(taskReport{
680680
link:args.Link,
681681
selfReported:true,
682-
state:codersdk.WorkspaceAppStatusState(args.State),
683-
summary:args.Summary,
682+
// The agent does not reliably report its status correctly. We will
683+
// always set the status to "working" when we get an MCP message, and
684+
// rely on the screen watcher to eventually catch the idle state.
685+
state:codersdk.WorkspaceAppStatusStateWorking,
686+
summary:args.Summary,
684687
})
685688
}),
686689
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp