Diff library assets
diff_library_assetsOffline diff of two saved TouchDesigner assets: detect added, removed, or changed keys and values, with recipe-specific node/param/connection comparison.
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 |
|---|---|---|---|
| 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). | |
| 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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a_path | Yes | ||
| b_path | Yes | ||
| mode_used | Yes | ||
| summary | Yes | ||
| details | Yes |