Skip to content

docs(mcp): add terminal-state workflow - #93

Merged
JJasonSun merged 1 commit into
mainfrom
docs/mcp-terminal-state-workflow
Aug 19, 2026
Merged

docs(mcp): add terminal-state workflow#93
JJasonSun merged 1 commit into
mainfrom
docs/mcp-terminal-state-workflow

Conversation

@JJasonSun

@JJasonSun JJasonSun commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • document the asynchronous terminal-state workflow for MCP run_call
  • persist the exact run_id and resume get_call_run after a local timeout, disconnect, or restart
  • clarify that the suggested polling cadence controls query timing and is not a completion deadline
  • document terminal statuses and clarify that COMPLETED still requires application-level result evaluation
  • follow next_step for undocumented statuses and uncertain outcomes; when no run_id is returned, use an explicit recovery path or operator review instead of automatic resubmission
  • distinguish MCP status polling from the Developer API webhook flow

Validation

  • pnpm test
  • pnpm check
  • pnpm pack:dry-run
  • git diff --check

Closes CALLE-AI/awesome-phone-call-agents#160

@JJasonSun
JJasonSun marked this pull request as ready for review August 19, 2026 07:43
@JJasonSun
JJasonSun merged commit 39e9b90 into main Aug 19, 2026
1 check passed
@JJasonSun
JJasonSun deleted the docs/mcp-terminal-state-workflow branch August 25, 2026 09:27
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.

Provide a reliable terminal-state workflow for MCP run_call

1 participant