Inception's Mercury Coder separates proposing a code change from inserting it into a complete FileA named unit of stored data that keeps its contents while no program is using it.Full definition →. A coding assistant may return a changed fragment surrounded by comments saying that other code remains unchanged. Mercury's Apply-Edit endpoint takes that fragment alongside the original file and is designed to return the merged file while preserving surrounding structure, comments and indentation. This gives coding tools a dedicated step for turning suggested changes into usable file contents. The product announcement documents the input format and endpoint.
Terms in this piece · Glossary
File — A named unit of stored data that keeps its contents while no program is using it.
Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.