Repository navigation
CodeTerm v1.10.18
·
8310 commits
to 7ebca27156aea9b5c42d5e61bf2332ead24839a6
since this release
CodeTerm 1.10.18
Agent lifecycle and restore
codeterm agent restartrecovers a provider that exited to its shell in place: same Tab, same PTY, and the same verified session.- A team member whose provider had exited before shutdown is restored as a flagged shell. The restore report names the session and the
agent restartcommand that recovers it. - An in-tab provider relaunch counts as live once its session binding proves it.
- Restored agents relaunch even when the frontend misses its readiness deadline.
- A raw
tab restartof an agent team member is refused, so a resume can no longer silently drop full-access flags. The CLI explains sandboxed connection failures.
Session binding
- Claude and Codex tabs bind their session without hooks: Claude through its per-process session registry (start-time guarded), Codex through the launch marker in its rollout. The binding source is journaled.
codeterm integration install|statusperforms consented hook install and trust grant without opening Settings.- A Codex session is found from its thread row before the index is written.
Pebble ring webhooks
- New authenticated inbound webhook:
POST /api/plugins/pebble/webhookwith a Bearer secret from the secret store. It delivers a sanitized Pebble Index ring event to the General Agent through the newpebbleplugin (codeterm-plugins). Replays are suppressed, and malformed events fail loudly instead of passing as success.
Sessions
- Looking up one session by id asks each provider for that exact record instead of enumerating the whole session history, so
GET /api/sessions/{id}stays fast with thousands of stored sessions. - A restored snapshot's fresh launch carries the tab's launch marker, so a hook-less Codex restored from a snapshot still binds its session.
- The restore report names a team member whose provider exited before shutdown, with the
codeterm agent restartcommand that recovers its session.
Trust and permissions
codeterm workspace create --provisioncreates a fresh directory with trust provenance. Claude and Codex trust dialogs are answered only in such directories. Wrapped Codex trust questions are recognized, and unanswered provisioned tabs are logged with the reason.- Opt-in per-tab permission auto-confirm answers only permission prompts the provider positively recognizes. Toggle it from the chat header "…" menu, which explains the setting, or with
codeterm tab auto-confirm on|off|status. Every decision is journaled.
Known issues (pre-existing, tracked for the next release)
- On Windows, a restored agent's resume command can be lost when it is written right after a fresh PowerShell prompt appears. The tab then comes back as a bare shell;
codeterm agent restart --tab <id>recovers it. - A message sent to a restored agent tab before its session finishes binding can be lost; send again once the agent is ready.
Reliability
- Startup no longer deadlocks when the window misses its readiness deadline. Restored agents relaunch, and the API stays responsive. A second lock-order deadlock on a failed General Agent launch write is also fixed.
- Hook-less Codex agents bind their session from a launch marker on every fresh launch path: visible, hidden and atomic spawn, General Agent start, restore and restart.
- On Windows,
build.sh killstops exactly the dev web watcher and static server it started, recorded by their Windows process ids, so repeated dev starts no longer leak node processes. - The KPI commit-listener test no longer depends on writer wake timing.
- The release manifest validator no longer needs
gh api --slurp. - The restore and lifecycle benches were hardened (busy snapshots, per-tab capture, workspace cleanup).