mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 21:07:01 -06:00
24a1139188
* Move raw transcript from system to user prompt to protect provenance. * Type fix. * fix(voice-call): harden transcript context handling * fix(voice-call): initialize inbound Twilio control state * test(voice-call): align runtime coordinator fixture --------- Co-authored-by: joshavant <830519+joshavant@users.noreply.github.com>
36 lines
1.8 KiB
YAML
36 lines
1.8 KiB
YAML
title: Voice Call CLI, RPC, classic webhook, agent tool, and realtime consult flow
|
|
|
|
scenario:
|
|
id: voice-call-cli-rpc-agent-tool
|
|
surface: voice-call
|
|
category: voice-call.channel-setup-and-operations
|
|
coverage:
|
|
primary:
|
|
- voice-call.cli-rpc-agent-tool
|
|
objective: Verify the real Voice Call CLI, Gateway RPC, classic webhook response, and Gateway-invoked agent tool share one mock-provider runtime whose realtime media stream reaches embedded-agent consult context.
|
|
successCriteria:
|
|
- The CLI starts an outbound call through its Gateway RPC path.
|
|
- The registered Gateway RPC starts an outbound call through the same mock provider runtime.
|
|
- Gateway tools.invoke starts an outbound call through the registered voice_call agent tool.
|
|
- A two-turn classic inbound webhook keeps caller history at user priority exactly once and ignores blank final speech.
|
|
- The runtime issues a real webhook media-stream token for the tool-started call.
|
|
- The fake realtime provider invokes openclaw_agent_consult and the embedded agent receives caller transcript and provider context.
|
|
docsRefs:
|
|
- docs/cli/voicecall.md
|
|
- docs/plugins/voice-call.md
|
|
- docs/gateway/protocol.md
|
|
codeRefs:
|
|
- extensions/voice-call/index.ts
|
|
- extensions/voice-call/src/cli.ts
|
|
- extensions/voice-call/src/runtime.ts
|
|
- extensions/voice-call/src/webhook/realtime-handler.ts
|
|
- test/e2e/qa-lab/runtime/voice-call-gateway.ts
|
|
execution:
|
|
kind: script
|
|
parallelSafe: true
|
|
path: test/e2e/qa-lab/runtime/voice-call-gateway.ts
|
|
summary: Starts a real Gateway and Voice Call plugin, runs the actual CLI, RPC, classic webhook, and tools.invoke entry points, then drives the runtime-issued realtime media stream through embedded-agent consult.
|
|
args:
|
|
- --artifact-base
|
|
- ${outputDir}
|