ApplyPatchCallOperationDiffDoneEvent - TypeScript SDK

ApplyPatchCallOperationDiffDoneEvent type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Emitted when operation.diff streaming completes for an apply_patch_call.

Example Usage

1import { ApplyPatchCallOperationDiffDoneEvent } from "@openrouter/sdk/models";
2
3let value: ApplyPatchCallOperationDiffDoneEvent = {
4 diff: "<value>",
5 itemId: "<id>",
6 outputIndex: 170720,
7 sequenceNumber: 0,
8 type: "response.apply_patch_call_operation_diff.done",
9};

Fields

FieldTypeRequiredDescription
diffstring✔️N/A
itemIdstring✔️N/A
outputIndexnumber✔️N/A
sequenceNumbernumber✔️N/A
type”response.apply_patch_call_operation_diff.done”✔️N/A