Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/protocol/v1/draft/extensibility.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,7 @@ Implementations **SHOULD** use the `_meta` field in capability objects to advert
```

This allows implementations to negotiate custom features during initialization without breaking compatibility with standard Clients and Agents.

## Unrecognized Session Update Variants

Every `session/update` notification carries a `sessionUpdate` field that identifies the variant. Future protocol versions may define new variants. Clients are encouraged to ignore variants they do not recognize rather than treating them as errors. The [`SessionUpdate`](/protocol/v1/draft/schema#sessionupdate) schema reference lists the variants defined in this version.
7 changes: 7 additions & 0 deletions docs/protocol/v1/draft/prompt-turn.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ Upon receiving the prompt request, the Agent processes the user's message and se

The Agent reports the model's output to the Client via `session/update` notifications. This may include the Agent's plan for accomplishing the task:

<Note>
This page walks through the `session/update` variants most common in a prompt
turn. It is not the full set. See the
[`SessionUpdate`](/protocol/v1/draft/schema#sessionupdate) schema reference
for every variant defined in this version.
</Note>

```json expandable
{
"jsonrpc": "2.0",
Expand Down
4 changes: 4 additions & 0 deletions docs/protocol/v1/extensibility.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,7 @@ Implementations **SHOULD** use the `_meta` field in capability objects to advert
```

This allows implementations to negotiate custom features during initialization without breaking compatibility with standard Clients and Agents.

## Unrecognized Session Update Variants

Every `session/update` notification carries a `sessionUpdate` field that identifies the variant. Future protocol versions may define new variants. Clients are encouraged to ignore variants they do not recognize rather than treating them as errors. The [`SessionUpdate`](/protocol/v1/schema#sessionupdate) schema reference lists the variants defined in this version.
7 changes: 7 additions & 0 deletions docs/protocol/v1/prompt-turn.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ Upon receiving the prompt request, the Agent processes the user's message and se

The Agent reports the model's output to the Client via `session/update` notifications. This may include the Agent's plan for accomplishing the task:

<Note>
This page walks through the `session/update` variants most common in a prompt
turn. It is not the full set. See the
[`SessionUpdate`](/protocol/v1/schema#sessionupdate) schema reference for
every variant defined in this version.
</Note>

```json expandable
{
"jsonrpc": "2.0",
Expand Down