FR: spy on a session
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start by tracing how shpool represents terminal state and generates output during session resume. Define the smallest read-only entry point that exposes the current snapshot without resuming or attaching, including behavior while another client is attached. Done means a command can retrieve the session's current rendered state without changing the session.
Written by the indexing model from the issue text.
Description
AI Policy Ack
Ack
What new feature do you want?
Since shpool keeps an in-memory representation of the terminal state, it would be great if there were a command to "spy" on the session – to get the same output shpool would generate at session resume, without actually resuming the session.
This is similar to #40 but is a smaller ask (read-only snapshot of current state). Of course, if #40 was implemented, this could potentially be done via read-only attach then detach again as soon as the initial re-render is finished. But possibly this feature could be implemented without without doing #40, and with significantly less work than #40 would require.
Use case: I have a web app which shows running sessions and let's me launch a new one. (It doesn't attach to them, I need to use a terminal emulator for that.) It would be great if I could "peek" from the web app at the current state of the session (say it is running some long-running AI agent, I want to see what the agent is doing). Maybe I'm already attached to the session from a terminal emulator on my laptop sitting on my desk, but I'm checking the webapp from my phone...
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 70
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from shell-pool/shpool
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
shell-pool/shpool#463 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
shell-pool/shpool#442 · 1 comment ·
Maintainers usually reply within 1 day
-
misc LLM reportsOpen
Difficulty 5/5 Over a week Newbie friendliness 5/100
shell-pool/shpool#454 ·
Maintainers usually reply within 1 day
-
vterm
Difficulty 4/5 3-5 days Newbie friendliness 30/100
shell-pool/shpool#445 · 1 comment ·
Maintainers usually reply within 1 day
-
publish .deb filesOpen
Difficulty 4/5 3-5 days Newbie friendliness 55/100
shell-pool/shpool#429 ·
Maintainers usually reply within 1 day
All issues in shell-pool/shpool
Similar issues
-
Ignore entry for RUSTSEC-2026-0002 no longer matches anything (`lru` is no longer in `Cargo.lock`)Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
influxdata/influxdb#27767 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
oras-project/rust-oci-client-node#132 ·
Maintainers usually reply within 2 days
-
Ignore entry for RUSTSEC-2020-0168 no longer matches anything (`mach` is no longer in `Cargo.lock`)Possibly taken @zyl71 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Blockstream/lwk#213 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
libracoder/kiri#749 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
manuscript-lang/manuscript#6389 ·
Maintainers usually reply within 1 day