• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / agterm / 37249816182
94%

Build:
DEFAULT BRANCH: master
Ran 05 Oct 2026 01:08AM UTC
Jobs 1
Files 183
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Oct 2026 01:02AM UTC coverage: 93.698% (-0.03%) from 93.729%
37249816182

push

github

web-flow
feat(control): address a pane by its stable id for text, type and cursor (#698)

`session type` and `surface cursor` now take `--pane-id`, the stable token a shell sees as `$AGTERM_PANE_ID`, and `tree --json` lists it as `surfaces[].paneID`. A script can read a pane, check its caret and type into it by that id, and the id keeps naming the same terminal after `session swap` or split-pane promotion. `session text` and `session type` report the pane they acted on as `result.pane`, and `surface cursor` returns the resolved surface id in `result.id`.

`session text`, `session type` and `session restore` share one rule: a live id wins over `--pane`, an empty id counts as absent, and an unknown id without an explicit `--pane` fails with `unknown pane id: <id>`. `session status` keeps its fallback to the role. `surface cursor --pane-id` takes a session target and has no fallback. `session type` keeps the id while the pane becomes ready: a pane that moved during the wait is typed into where it is, and one that is gone gets the unknown-id error, so the keystrokes cannot reach another terminal.

**Behavior change:** `session text --pane-id <unknown>` with no `--pane` used to read the on-screen pane and answer ok. It is now an error. Target selection without `--pane-id` is unchanged. `ControlActions` keeps the two-argument cursor requirement and defaults the new overload, so an outside conformer builds unchanged and refuses `surface.cursor --pane-id` as unsupported.

19 of 25 new or added lines in 8 files covered. (76.0%)

14780 of 15774 relevant lines covered (93.7%)

2587049.54 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
5.71
-0.35% agtermCore/Sources/agtermCore/ControlActionsDefaults.swift
Jobs
ID Job ID Ran Files Coverage
1 37249816182.1 05 Oct 2026 01:08AM UTC 183
93.7
GitHub Action Run
Source Files on build 37249816182
  • Tree
  • List 183
  • Changed 9
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37249816182
  • eab672be on github
  • Prev Build on master (#37225991303)
  • Next Build on master (#37250416417)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc