Skip to content

fix(GH-34): persist AgentAPI state - #35

Merged
au-re merged 3 commits into
mainfrom
bugfix/persist-agentapi-state
Aug 26, 2026
Merged

fix(GH-34): persist AgentAPI state#35
au-re merged 3 commits into
mainfrom
bugfix/persist-agentapi-state

Conversation

@au-re

@au-re au-re commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add optional agent.stateFile support and pass it to AgentAPI as --state-file.
  • Require native PTY templates with conversationRestore: "supported" to place the state file below a persistence mount.
  • Reject AgentAPI state persistence and supported conversation restore for native ACP templates because AgentAPI v0.12.2 does not support that combination.
  • Document the fixed 127.0.0.1 AgentAPI service host and the PTY-only state persistence contract.
  • Add regression tests and a CLI patch changeset.

Fixes #34

Validation

  • bun run check
  • bun run typecheck
  • bun run test
  • bun run build
  • bun run pack:check
  • bun changeset status
  • git diff --check origin/main...HEAD

@au-re
au-re marked this pull request as ready for review August 13, 2026 12:50
@au-re
au-re merged commit cb12513 into main Aug 26, 2026
2 checks passed
@au-re
au-re deleted the bugfix/persist-agentapi-state branch August 26, 2026 14:29
@github-actions github-actions Bot mentioned this pull request Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Native agent templates cannot declare AgentAPI's state file, so conversation restore silently loses the transcript

1 participant