[Feature]: wsh command to send input to a terminal block (expose controllerinput)
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
- 55/100
Hướng nghiên cứu
Start by locating the existing wsh command implementations and the controllerinput RPC using CommandBlockInputData. Trace how wsh commands connect through wave.sock and authenticate, then add the proposed text, enter, signal, and stdin input modes. Done means input reaches the selected terminal block through the existing RPC without requiring a hand-rolled client.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Use case
I run a small external dashboard that watches my terminal blocks (via wsh blocks list + wsh termscrollback) and I'd like to also send keystrokes to a block — e.g. answer an interactive prompt in a long-running session from another machine/phone.
What exists today
The controllerinput RPC (CommandBlockInputData: blockid, inputdata64, signame, termsize) already does exactly this — the frontend uses it for all typing. It works great when called directly over wave.sock with the WAVETERM_JWT auth handshake (tested on v0.14.5, Windows). But there's no wsh subcommand for it, so scripts have to hand-roll the domain-socket RPC.
Proposal
wsh sendinput -b <blockid> "text to type" # raw bytes to the pty
wsh sendinput -b <blockid> --enter # append \r
wsh sendinput -b <blockid> --signal SIGINT # signame variant
Reading input from stdin (wsh sendinput -b <id> -) would also cover binary/control sequences.
Related: #3196 (wsh tab rename), #3285 (wsh tab create) — same theme of making existing RPCs scriptable.
🤖 Generated with Claude Code
- Ngôn ngữ chính
- Go
- Star
- 22.4k
- Fork
- 1.1k
- Merge trung bình
- 12 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 14
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của wavetermdev/waveterm
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
wavetermdev/waveterm#3481 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
wavetermdev/waveterm#3435 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
wavetermdev/waveterm#3432 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
wavetermdev/waveterm#3431 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
wavetermdev/waveterm#3428 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của wavetermdev/waveterm
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
kind/engineering pulumi/pulumi-terraform Task Workflow Failure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
pulumi/pulumi-terraform#1215 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-acceptance wg/developer-experience-ecosystem
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
vllm-project/semantic-router#4480 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/docs kind/documentation priority/backlog triage/accepted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
lexfrei/cloudflare-tunnel-gateway-controller#943 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
keyxmakerx/Chronicle#967 ·
Maintainer thường phản hồi trong vòng 1 ngày