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

umputun / agterm / 29657303789
98%

Build:
DEFAULT BRANCH: master
Ran 18 Jul 2026 07:13PM UTC
Jobs 1
Files 70
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

18 Jul 2026 07:11PM UTC coverage: 97.572% (+0.003%) from 97.569%
29657303789

push

github

web-flow
feat: session.new --no-select for background session creation (#250)

Adds an opt-in `--no-select` flag to `session.new` (agtermctl + the control protocol) that creates a session in the background without selecting or focusing it, so the current selection and focus stay put. It is the inverse of the overlay's `--follow`: overlay opens in the background and opts into focusing, while `session.new` selects by default and opts out. The default (select + focus) is unchanged.

**Implementation.** A new opt-in `ControlArgs.noSelect` / `ControlSessionCreateOptions.noSelect`, kept separate from the existing `select` arg (which is `session.type --select`). `AppStore.addSession` gained a `select: Bool = true` parameter that gates `selectedSessionID` / `autoUnfocusIfOutsideFocus` / `recordRecency`, and `makeSessionResponse` passes `select: !noSelect` and skips the focus call. No new `Command` case, so the catalog stays at 61. The read-back is the existing `tree` `active` flag: a background session is not `active`.

**Workspace focus.** The `--create-workspace` case also keeps the workspace-focus filter. A background create threads `clearFocus: !noSelect` through `ensureWorkspace` / `addWorkspace` (a defaulted parameter, so the GUI and every other caller keep the auto-reveal), so `--no-select --create-workspace` no longer drops a focused workspace.

Tests: protocol round-trip, dispatcher, CLI parse, and AppStore unit tests, plus e2e for the background create and the workspace-focus preservation. Docs updated across the agent skill, `site/commands.html`, `site/docs.html`, README, and the control-api rule.

19 of 19 new or added lines in 5 files covered. (100.0%)

5344 of 5477 relevant lines covered (97.57%)

5489428.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29657303789.1 18 Jul 2026 07:13PM UTC 70
97.57
GitHub Action Run
Source Files on build 29657303789
  • Tree
  • List 70
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29657303789
  • bdc3684f on github
  • Prev Build on master (#29656914500)
  • Next Build on master (#29658645708)
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