{"id":"editorconfig-resolve","version":"1.0.0","description":"Resolve EditorConfig properties for one normalized relative POSIX path from caller-supplied file contents.","supported_operations":["resolve editorconfig properties","apply editorconfig sections to a file","match editorconfig globs","compute effective editor settings","merge nested editorconfig files","interpret unset editorconfig values"],"unsupported_operations":["reading .editorconfig files from a filesystem","editor or formatter configuration beyond EditorConfig properties"],"semantics":["Files are supplied in outermost-to-innermost order; only ancestor .editorconfig paths are allowed, and a later root=true discards all earlier files.","Sections and files apply in caller order; later matching properties win, property keys are ASCII case-insensitive, and unset removes a property.","Paths are lexical normalized relative POSIX paths; no filesystem, platform path, locale, clock, network, or randomness is used.","Glob matching supports *, **, ?, character classes, escapes, nested comma braces, and bounded ascending integer brace ranges. A leading slash is ignored; a pattern without another slash matches the basename."],"limits":{"max_files":32,"max_file_bytes":32768,"max_total_bytes":131072,"max_sections_per_file":128,"max_pattern_bytes":1024,"max_pattern_nesting":32,"max_pattern_expansions":256,"max_range_members":101,"max_properties":256,"max_path_bytes":1024},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["path","files"],"properties":{"path":{"type":"string","minLength":1,"maxLength":1024},"files":{"type":"array","minItems":1,"maxItems":32,"items":{"type":"object","additionalProperties":false,"required":["path","content"],"properties":{"path":{"type":"string","minLength":1,"maxLength":1024},"content":{"type":"string","maxLength":32768}}}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["properties","matched_sections"],"properties":{"properties":{"type":"object","additionalProperties":{"type":"string"},"maxProperties":256},"matched_sections":{"type":"integer","minimum":0,"maximum":4096}}},"examples":[{"input":{"path":"lib/a.js","files":[{"path":".editorconfig","content":"root=true\n[*]\nindent_style=space\n[*.js]\nindent_size=2\n"}]},"output":{"properties":{"indent_size":"2","indent_style":"space"},"matched_sections":2}},{"input":{"path":"src/a.py","files":[{"path":".editorconfig","content":"[*]\ncharset=utf-8\n[src/**.py]\ncharset=unset\nindent_size=4"}]},"output":{"properties":{"indent_size":"4"},"matched_sections":2}}],"execute_url":"/v1/tools/editorconfig-resolve/versions/1.0.0/execute"}