bug: Agent Browser process not killed on exit of TUI

Đang mở
#1,080 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cli, typescript
Lĩnh vực
cli

Hướng nghiên cứu

Start at the TUI shutdown and agent-browser launch or process-management entry points, then trace how child processes are handled when the TUI exits. Reproduce by launching the agent browser, quitting the TUI, and checking whether agent-browser-darwin-arm64 remains in Activity Monitor. Done means the browser process exits with the TUI so mounted filesystems can unmount.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

When using the agent-browser via TUI, the process remains even when exiting the Command Code TUI

Image
Expected Behavior

Process released on quite

Actual Behavior

Process remains. This means that any app that is using filesystem on it when mounted cannot unmount as it is held.

Steps to reproduce the issue
  • PROMPT: ❯ launch agent browser and screenshot as a walktrhough of prototype and save
  • See agent browser in use and appear in activity monitor
  • quit Command Code TUI
  • process remains agent-browser-darwin-arm64
Command Code Version

1.88.0

Operating System

macOS

Terminal/IDE

ghostty

Shell

zsh

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

OS: macOS 27.0.1

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
4.2k
Fork
377
Merge trung bình
1 ngày 17 phút
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CommandCodeAI/command-code

Tất cả issue của CommandCodeAI/command-code

Issue tương tự

Thêm issue về CLI

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.