Skip to main content

bundle_version_diff

Function bundle_version_diff 

Source
pub(crate) fn bundle_version_diff(
    from: &BundleVersion,
    to: &BundleVersion,
) -> String
Expand description

The diff text global_memory_diff_impl returns — a - name:/+ name: pair when the name changed (see that function’s doc comment for why), then line_diff over the instructions. Shared with Memory → Global’s globalmemory:diff WebSocket command (agent_handlers/bundle.rs) so the MCP tool and the UI can never render the same pair of versions two ways.