launcher: agterm overlay always covers the whole session; allow a floating panel size
I maintainer di solito rispondono entro 1 giorno
Una pull request collegata è già stata integrata.
- #404 di @umputun — integrata
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 83/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- cli, developer-experience
Direzione di ricerca
Inizia con .claude-plugin/skills/revdiff/scripts/launch-revdiff.sh e plugins/codex/skills/revdiff/scripts/launch-revdiff.sh, poi confronta il modo in cui ciascuno crea i comandi di overlay agterm per l’intera sessione e per i singoli pannelli. Aggiorna entrambe le copie del launcher e i documenti di configurazione indicati; app/plugin_exit_code_test.go è il punto di partenza suggerito per i test. Il lavoro è completo quando l’impostazione facoltativa delle dimensioni viene applicata agli overlay dell’intera sessione e il comportamento resta invariato quando l’impostazione non è definita.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What is the problem?
In agterm the launcher always runs agtermctl session overlay open "$REVDIFF_CMD" --block with no --size-percent, so revdiff covers the whole agent session. While the review is open I cannot see the agent's chat: its last reply, the question it asked, or the context of the change I am annotating. To read it I have to close revdiff and open it again. REVDIFF_POPUP_WIDTH / REVDIFF_POPUP_HEIGHT work for tmux, zellij and wezterm, but the agterm branch ignores them, and REVDIFF_AGTERM_PANE=1 scopes the overlay to the agent's own pane, which still hides the chat.
How does this solve it?
agterm already supports a floating overlay: agtermctl session overlay open <cmd> --size-percent N. At 70% the chat stays visible around the panel, and on my window revdiff still gets ~190 columns, enough for a 120-character code line with the file tree and line numbers. Only the agterm branch needs a change: append --size-percent "$REVDIFF_AGTERM_SIZE_PERCENT" to the session-wide overlay open when the variable is set (not to the --pane open, which agterm does not combine with --size-percent). Unset keeps today's full-session overlay, so nothing changes for current users.
Size of the change: two lines in each launcher copy (.claude-plugin/skills/revdiff/scripts/launch-revdiff.sh and plugins/codex/skills/revdiff/scripts/launch-revdiff.sh). One line appends --size-percent to AGTERM_OPEN when the open is not pane-scoped. The other adds it to the session-wide fallback open after a refused pane overlay. The rest is one line per place that documents REVDIFF_AGTERM_PANE today (README, both SKILL.md and references/config.md, site/docs.html), plus a case in app/plugin_exit_code_test.go if you want it covered.
Proposed name: REVDIFF_AGTERM_SIZE_PERCENT (an integer percent), next to the existing REVDIFF_AGTERM_PANE. Reusing REVDIFF_POPUP_WIDTH would also work, but its values are tmux-style (90%, columns) and agterm takes one percent for both axes, so a separate variable seems clearer.
Today I get this with a user-layer launch-revdiff.sh override that puts an agtermctl shim first on PATH and appends --size-percent ${REVDIFF_AGTERM_SIZE_PERCENT:-70}. With the variable in the launcher, the shim goes away. I can send the PR if this fits.
- Lingua principale
- Go
- Stelle
- 928
- Fork
- 96
- Merge medio
- 2g 3h
- PR unite (30g)
- 28
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di umputun/revdiff
-
Support horizontal scrollAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
umputun/revdiff#334 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 64/100
umputun/revdiff#324 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
pi extension: herdr never shows the agent as blocked while a revdiff review is openForse già presa @nicdumz l’ha presa 65 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di umputun/revdiff
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
docker/sbx-releases#737 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
area/manager needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
kyma-project/telemetry-manager#3922 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
JakeChampion/lang#12965 ·
I maintainer di solito rispondono entro 1 giorno
-
hacktoberfest priority: low skill: good first issue status: ready for dev
Difficoltà 2/5 1-3 ore Idoneità per principianti 89/100
hyperledger-labs/fabric-smart-client#2218 ·
I maintainer di solito rispondono entro 1 giorno