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

umputun / agterm / 29358374850
98%

Build:
DEFAULT BRANCH: master
Ran 14 Jul 2026 06:37PM UTC
Jobs 1
Files 67
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

14 Jul 2026 06:33PM UTC coverage: 97.844% (+0.004%) from 97.84%
29358374850

push

github

web-flow
feat: add Pi agent-status support to Install Agent Status Hooks (#208)

* feat: add Pi agent-status support to Install Agent Status Hooks

Install a Pi lifecycle extension (agterm-status.ts) into
~/.pi/agent/extensions/ when Pi is set up, so a Pi agent running inside
agterm reports active/completed onto its session's sidebar row, matching
the Claude Code and Codex auto-wiring.

- agent_start -> 'active --blink'; agent_settled -> 'completed
  --auto-reset' (settled is Pi's own event for status integrations that
  need to know it will not continue automatically).
- The extension delegates to the shared agterm-agent-status.sh wrapper,
  no-ops outside agterm (guards on AGTERM_SESSION_ID), and uses a
  type-only SDK import so it needs no runtime package.
- Installer mirrors the Codex path: gated on ~/.pi/agent existing,
  ownership-marker protected, symlink/posix-mode preserving. Host-free
  path/marker logic in AgentHooksInstall (+ tests).

Pi has no native permission/question event, so status is active ->
completed only, never blocked (documented).

Control-API keep-in-sync exempt (drives the existing session status);
docs updated across README, control-api rule, agent skill, and site.

* address review: degrade Pi install on FS error, sync shell headers, reuse readExistingConfig

- installPiExtension catches the create-directory/write errors and returns a
  new PiResult.writeFailed warning instead of throwing, so a filesystem problem
  on ~/.pi/agent/extensions no longer aborts the whole install and hides that
  the Claude/Codex/shell steps succeeded. Build-integrity throws stay throws.
- integration.sh/.fish headers now list Pi alongside Claude Code and Codex as
  excluded from the default AGTERM_AGENT_RE, matching the README.
- installPiExtension reads the destination via readExistingConfig (nil=absent /
  throw=unreadable) like the Claude/Codex merges, so a non-ENOENT stat error
  can't read as absent and bypass the ownership-marker gate.
- document... (continued)

11 of 11 new or added lines in 1 file covered. (100.0%)

5265 of 5381 relevant lines covered (97.84%)

5587356.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29358374850.1 14 Jul 2026 06:37PM UTC 67
97.84
GitHub Action Run
Source Files on build 29358374850
  • Tree
  • List 67
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29358374850
  • 2a23eecc on github
  • Prev Build on master (#29317179173)
  • Next Build on master (#29367699506)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc