Skip to content

v0.6.0 — MCP server, Copilot CLI support, event-dedup and supervisor fixes

Choose a tag to compare

@jstuart0 jstuart0 released this 30 Sep 03:11
· 757 commits to main since this release

Highlights

  • MCP server. agentpulse mcp serve and agentpulse mcp install expose AgentPulse to Claude Code, Codex CLI or any MCP client.
    • Observability tools and orchestration tools are gated by new observe and manage API-key scopes. observe never exposes secrets.
    • Transports: stdio and streamable HTTP.
    • The package lives in this repo as @agentpulse/mcp. It isn't on npm yet; see the note below.
  • GitHub Copilot CLI support (AGEN-13). Copilot sessions appear on the dashboard as an observed agent. AgentPulse can't launch or steer them. Every installer can set up Copilot hooks.
  • Codex CLI native command hooks. Covers SessionEnd, Interrupt and correct turn boundaries. Out-of-order async hooks can't reopen a closed session.
  • Repeated tool calls are no longer dropped (AGEN-16). Hook deduplication now keys on tool-call or delivery identity, never on content. Relays stamp a delivery id on every hook.
  • Supervisor fixes (AGEN-17, AGEN-15).
    • Fixes a crash loop caused by supervisor routes being shadowed by operator auth.
    • Enforces session ownership: a supervisor can only write to sessions it owns (403 session_not_owned).
    • Registration retries with backoff, and a revoked credential shuts the supervisor down cleanly.
  • Installer hardening.
    • The API key moved out of shell rc files into ~/.agentpulse/env (mode 0600).
    • All key and config writes refuse to follow symlinks.
    • Installers refuse to write hooks when a key requirement can't be confirmed (--no-auth-check overrides).
    • The server URL is validated, and the AGENTPULSE_KEY environment variable is supported.
  • Other changes.
    • Session-name sync: shows "Renamed by you" when you've renamed a session.
    • GET /projects/summary: a project list that observe-scoped keys can read safely.
    • Unknown agent_type filters now return 400 invalid_agent_type instead of empty results.
    • Fixed the Postgres /search 500 error.
    • SQLite session deletes are much faster.

⚠ Breaking changes

Read the Changed section of CHANGELOG.md before upgrading. In summary:

  • Codex hooks are regenerated as command handlers. Re-run your installer and re-trust them with /hooks in Codex.
  • setup-relay.sh requires a key with the Hook ingest and Observe scopes.
  • The relay rejects browser-origin requests.
  • The served installers use PUBLIC_URL and return 503 when it isn't set.
  • PUT /sessions/:id/native-name accepts ingest-scoped keys.
  • Codex thread-name sync behaves differently.
  • Async hooks observe a 30-second terminal latch.
  • Direct-install hooks refuse to install without a confirmable key.
  • The API key is no longer written into shell rc files. The installer warns about any old export line and prints the command to remove it.

Upgrade notes

  • Database migrations 0003 and 0004 run automatically at boot. Both are additive.
    • SQLite: back up first. The first boot also rebuilds the search index once.
    • Large Postgres installs: build the new indexes in a maintenance window, or pre-create them concurrently. See deploy/k8s/README.md.
  • Re-run the hook installer on every machine after upgrading the server.
  • Supervisors: upgrade the server first. A running supervisor reconnects on its own. See the upgrade runbook in deploy/k8s/FORWARDAUTH.md.
  • Storage growth: events grow about 840 MB per 30 days on a busy install. Size your volume accordingly.

Deprecated

These are still supported in 0.6.0 and will be removed in v0.7.0:

  • the AGENTPULSE_AUTHENTIK_TRUST_SECRET env var (use FORWARDAUTH_TRUST_SECRET);
  • the agentpulse-strip-client-authentik middleware (use agentpulse-strip-client-forwardauth);
  • deploy/k8s/AUTHENTIK-FORWARDAUTH.md;
  • the "authentik" auth-source value.

MCP package

@agentpulse/mcp@0.2.0 targets this release. It will be published separately under the mcp-v0.2.0 tag. Until then, use agentpulse mcp serve from a checkout.

Full details: CHANGELOG.md