Skip to content

AssistantDiff

AssistantDiff = object

Defined in: packages/schema/src/assistant/protocol.ts:36

Changed lines: + added, - removed, anything else context; start is the first line’s number.

optional path?: string

Defined in: packages/schema/src/assistant/protocol.ts:38

What changed, such as a file’s path, shown above the lines.


source: string

Defined in: packages/schema/src/assistant/protocol.ts:40

The lines, one per line of text, each starting with +, - or anything else.


optional start?: number

Defined in: packages/schema/src/assistant/protocol.ts:42

The number of the first line; 1 when omitted.