Skip to content

Add canonical chat run control#237

Merged
chubes4 merged 1 commit into
mainfrom
fix/chat-run-control-236
May 29, 2026
Merged

Add canonical chat run control#237
chubes4 merged 1 commit into
mainfrom
fix/chat-run-control-236

Conversation

@chubes4
Copy link
Copy Markdown
Contributor

@chubes4 chubes4 commented May 29, 2026

Summary

  • Adds canonical chat run IDs to agents/chat, including generated run IDs passed to runtimes and returned to clients.
  • Registers generic agents/get-chat-run, agents/cancel-chat-run, and agents/queue-chat-message abilities backed by runtime-provided handlers.
  • Documents the runtime-agnostic run-control contract and adds smoke coverage for status, cancellation, queueing, and interrupt mapping.

Fixes #236.

Testing

  • php tests/chat-run-control-smoke.php
  • php tests/frontend-chat-rest-smoke.php
  • php tests/conversation-loop-interrupt-source-smoke.php
  • composer test

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafted and implemented the generic run-control contract, tests, and docs for Chris to review and validate.

@chubes4 chubes4 merged commit e52f193 into main May 29, 2026
2 checks passed
@chubes4 chubes4 deleted the fix/chat-run-control-236 branch May 29, 2026 00:43
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.

Add canonical chat run control: run IDs, status, cancellation, and queued messages

1 participant