{"id":"sequence-index-map","version":"1.0.0","description":"Map each left-sequence index to a kept right index, or null if deleted, and list inserted right indices.","supported_operations":["sequence index map","map left indices onto a right sequence","sequence keep index map"],"unsupported_operations":["fuzzy matching","patience diff","histogram diff","unicode normalization","locale compare","longest common substring"],"semantics":["left and right are sequences of JSON null, boolean, string, or IEEE-754 safe integer items.","Item equality is JavaScript === after validation; there is no case folding, locale compare, or Unicode normalization.","The map is built from the Myers shortest edit script: keep stores the right index, delete stores null.","When two Myers D-paths tie, the library prefers a delete from the left sequence.","inserted lists right indices that came from insert ops, in script order.","For left [\"A\",\"B\",\"C\"] and right [\"A\",\"X\",\"C\"] the map is [0, null, 2] and inserted is [1].","Empty left yields map [] . The string \"__proto__\" is an ordinary item. Unknown input fields are rejected."],"limits":{"max_sequence_items":1024,"max_item_string_bytes":4096,"max_text_bytes":262144,"max_output_bytes":1048576},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["left","right"],"properties":{"left":{"type":"array","maxItems":1024,"items":{"description":"null, boolean, UTF-8 string, or IEEE-754 safe integer","type":["null","boolean","string","integer"]}},"right":{"type":"array","maxItems":1024,"items":{"description":"null, boolean, UTF-8 string, or IEEE-754 safe integer","type":["null","boolean","string","integer"]}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["map","inserted"],"properties":{"map":{"type":"array","maxItems":1024,"items":{"type":["integer","null"],"minimum":0}},"inserted":{"type":"array","items":{"type":"integer","minimum":0}}}},"examples":[{"input":{"left":["A","B","C"],"right":["A","X","C"]},"output":{"map":[0,null,2],"inserted":[1]}}],"execute_url":"/v1/tools/sequence-index-map/versions/1.0.0/execute"}