AgentInsightProposedFixChange interface

A customer-renderable change in a proposed fix.

Properties

diff

The unified diff for the changed source path.

language

The language of the changed source path.

new_value

The bounded Prompt value after the change. Present for Prompt changes, including when null.

old_value

The bounded Prompt value before the change. Present for Prompt changes, including when null.

path

The source path changed by a code change.

surface

The Prompt surface changed by a Prompt change.

target

The user-visible target within a Prompt surface, when needed.

Property Details

diff

The unified diff for the changed source path.

diff?: string

Property Value

string

language

The language of the changed source path.

language?: string

Property Value

string

new_value

The bounded Prompt value after the change. Present for Prompt changes, including when null.

new_value?: AgentInsightJsonValue

Property Value

old_value

The bounded Prompt value before the change. Present for Prompt changes, including when null.

old_value?: AgentInsightJsonValue

Property Value

path

The source path changed by a code change.

path?: string

Property Value

string

surface

The Prompt surface changed by a Prompt change.

surface?: AgentInsightPromptSurface

Property Value

target

The user-visible target within a Prompt surface, when needed.

target?: string

Property Value

string