-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Add a Streaming Execution Protocol section to PROTOCOL_SPEC.md defining how modules can support incremental output via an optional stream() method.
Changes
Added new section after ContextFactory Protocol covering:
- Stream semantics: Each yielded record is a partial chunk; complete result is shallow merge of all chunks
- Pipeline: Steps 1-6 identical to
call(), then iteratemodule.stream(), validate accumulated output, run after-middleware - Fallback: If module lacks
stream(), fall back tocall()yielding single chunk - Cross-language signatures: TypeScript
AsyncGenerator/ PythonAsyncIterator - MCP bridge behavior: Use
notifications/progresswithprogressTokenopt-in; finalCallToolResultis accumulated result - Module annotations:
annotations.streaming = truedeclares streaming support
Files Changed
PROTOCOL_SPEC.md— New "Streaming Execution Protocol" section after line 3885
Source
- tiptap-apcore integration finding: streaming is a generic capability needed across all apcore consumers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request