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

umputun / agterm / 33692913491
97%

Build:
DEFAULT BRANCH: master
Ran 02 Sep 2026 11:03PM UTC
Jobs 1
Files 119
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

02 Sep 2026 10:58PM UTC coverage: 97.449% (+0.005%) from 97.444%
33692913491

push

github

web-flow
fix(control): honour the pane aliases session.type, session.text and font accept (#530)

`.claude/rules/control-api.md:251` says `session.type --pane` accepts `primary|left|top`,
`split|right|bottom` or `scratch`, and the shared CLI `validatePaneArgument` does accept all of them.
The app then matched raw spellings, so an alias passed `validate()` on the client and was refused by
the server. On 0.26.0 `agtermctl session text --pane split` answers `invalid pane: split`, the same
for `primary` and `bottom`, on `session.type`, `session.text` and `font.inc/dec/reset`.
`session.status` and `session.restore` were never affected: they already parse in the dispatcher.

The spelling is parsed once now, in the dispatcher, and the host actions take a `StatusPane`. Three
consequences past the aliases resolving: an unknown pane is unrepresentable in the app target, which
is where the module boundary wants the parsing, and three hand-rolled switches lose their
`invalid pane` arm; the aliases resolve for a raw socket client too, not only behind the CLI; and the
three `font.*` arms share one parse rather than three copies of the argument.

Nothing else changes on the wire. These three keep the `invalid pane: <value>` rejection they have
answered since they shipped (#46, #90, #188), which the reference records as their difference from
`session.status`'s pinned string, so `parseSurfacePane` carries that wording while `parsePane` keeps
the pinned one. Unifying the two is a separate decision from parsing the value.

`session.text` keeps checking the extent before the pane, so `--all --lines` still reports the extent
error first; a test pins that ordering.

31 of 31 new or added lines in 2 files covered. (100.0%)

9625 of 9877 relevant lines covered (97.45%)

4131358.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33692913491.1 02 Sep 2026 11:03PM UTC 119
97.45
GitHub Action Run
Source Files on build 33692913491
  • Tree
  • List 119
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33692913491
  • b3ef1baf on github
  • Prev Build on master (#33692583628)
  • Next Build on master (#33694942769)
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