Skip to content
Developer Preview

ItemDeltaParams

item/delta params: a UTF-8-safe streaming append to an open item’s field. Ephemeral-sourced by definition: this params object has no sourceRange member at all. Deltas never bump revision.

  • delta
  • field
  • itemId
  • sessionId
  • viewCursor
Source

schema/msp/experimental/msp.schema.json#/types/ItemDeltaParams

{
"description": "`item/delta` params: a UTF-8-safe streaming append to an\nopen item's field. Ephemeral-sourced by definition: this params object\nhas **no** `sourceRange` member at all. Deltas never bump `revision`.",
"properties": {
"delta": {
"description": "The appended text; concatenation of a field path's deltas in cursor\norder equals that field's value on `item/completed` unless the\nsurface saturated.",
"type": "string"
},
"field": {
"description": "Dotted field path the append targets (`\"summary.0\"`, `\"output\"`,\n...); absent means `\"text\"`.",
"type": "string"
},
"itemId": {
"description": "The open item being appended to.",
"type": "string"
},
"sessionId": {
"description": "The owning session.",
"type": "string"
},
"viewCursor": {
"description": "Opaque, strictly monotonic view cursor.",
"type": "string"
}
},
"required": [
"delta",
"itemId",
"sessionId",
"viewCursor"
],
"type": "object"
}