Diff library assets
diff_library_assetsCompare two saved library assets offline to identify added, removed, and changed keys and values. For recipes, also detects differences in nodes, parameters, and connections.
Instructions
Offline deep diff of two saved library assets on disk (recipe JSONs, component manifests, or serialize-network spec JSONs). Reports added/removed keys and changed values (old to new); for recipes it also diffs nodes, per-node params, and connections. Does not touch TouchDesigner. Use diff_snapshots to compare two live TD graphs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | How to interpret both files. 'auto' picks by parsing (recipe-aware if both validate against the recipe schema, otherwise a generic deep diff). 'recipe' forces recipe-aware diffing (node/param/connection level). 'manifest' uses the same generic deep object diff as 'json' but reports mode_used='manifest' for component-manifest callers. | auto |
| a_path | Yes | First saved library asset on disk (recipe / component manifest / spec JSON). | |
| b_path | Yes | Second saved library asset to compare against the first (same kind). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a_path | Yes | ||
| b_path | Yes | ||
| details | Yes | ||
| summary | Yes | ||
| mode_used | Yes |