M8 — Linux support

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, swift
Lĩnh vực
cli, desktop, operating-systems

Hướng nghiên cứu

Đọc thiết kế remote-daemon M7 trong docs/superpowers/specs/2026-07-31-clowder-m7-remote-daemon-design.md, sau đó kiểm tra clowder-daemon, clowder-client và clowder-workspace về khả năng chạy trên Linux. Xác minh liệu daemon Rust có build và chạy được trên Linux hay không, cũng như có thể sử dụng remote transport M7d hiện có hay không; đối với issue này, hoàn thành nghĩa là các sub-project đã được phân rã và có thứ tự được thống nhất trước khi xây dựng các đặc tả và kế hoạch dành riêng cho từng slice.

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

Mô tả

enhancement priority: medium rust

Context

clowder is macOS-centric today: the frontend is a SwiftUI app embedding libghostty (macos/), and packaging/signing/Homebrew are all macOS. The Rust core is cross-platform in principle:

  • clowder-daemon (agent PTYs, control/hook sockets, worktrees) — Rust + portable-pty + unix sockets; likely portable to Linux with modest work.
  • clowder CLI (clowder attach, clowder connect, spawn) — Rust, raw-mode terminal; likely portable.
  • The macOS app is the hard part — there is no equivalent on Linux.

The M7 remote-daemon spec gestured at this (docs/superpowers/specs/2026-07-31-clowder-m7-remote-daemon-design.md, "the M8 Linux …" is listed as out-of-scope/future).

Needs scoping (its own brainstorm first)

This is a large, new direction that should be decomposed before committing to a plan. Open questions:

  • Frontend on Linux: no SwiftUI/libghostty app. Options: (a) a pure-CLI / terminal-multiplexer client (run clowder attach <pane> panes inside tmux/zellij or a plain terminal), (b) a native Linux GUI embedding ghostty's GTK path, (c) rely on the M7 remote path — a Linux box runs clowder-daemon, the user drives it from the macOS app over TLS (already shipped in M7d, #53).
  • Daemon portability: audit clowder-daemon/clowder-client/clowder-workspace for macOS-isms (paths, signals, PTY specifics); confirm the socket/runtime-dir logic ($XDG_RUNTIME_DIR already handled) and worktree provisioning work on Linux.
  • CI/packaging: a Linux job (currently CI is runs-on: macos-15 only) + a Linux distribution story.

First step

Brainstorm → decompose into sub-projects (which pieces, what order), then spec → plan → SDD per slice. The cheapest early win may be (c): verify the Rust daemon builds+runs on Linux and is drivable from the existing macOS app via the M7d remote transport, deferring a native Linux frontend.

Ngôn ngữ chính
Rust
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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 richardcase/clowder

Tất cả issue của richardcase/clowder

Issue tương tự

Thêm issue về Rust

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.