Agent Service v2
English reading guide. The complete Chinese specification remains the authoritative source for exact fields, examples, implementation status, and historical details. This page is a concise guide, not a full translation.
Make engine selection and sessions explicit
Engine selection, session identity, lifecycle, and capability availability must follow the declared service contract.
Preserve the relationship between an actual request and its session. Do not treat a selected engine name as proof that execution succeeded.
Handle unavailable engines, required authorization, cancellation, and terminal states using the actual runtime response.
Refer to the source for the precise v2 fields, compatibility boundaries, and implementation status.
Voice attachment candidate
Text attachments accept strictly decoded UTF-8 and UTF-16 with a BOM. The original text-file limit remains 64 KiB; decoding failures are rejected.
Incompatible PDF Worker caches or handshake errors return
VOICE_ATTACHMENT_DOCUMENT_UNAVAILABLE. Cancellation returnsAbortError; an unresponsive handshake uses the existing 20-second document deadline and returnsVOICE_ATTACHMENT_DOCUMENT_TIMEOUT.These details describe the existing Voice source candidate. Platform approval, signing, and real Host verification remain separate.
Continue reading
- Complete Chinese specification
- Documentation overview
- Plugin development
- API reference
- Packaging and submission
Source: docs/agent-service-v2.md.