988e901066
Añade campos params y output al frontmatter YAML de las 506 funciones del registry. Cada parámetro tiene descripción semántica (qué representa, unidades, rango típico) y cada función describe qué produce su output. Permite a agentes razonar sobre cadenas de composición (ej: prices → log_return → sharpe_ratio) sin leer código.
733 B
733 B
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | params | output | tested | tests | test_file_path | file_path | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| fetch_http_headers | function | go | cybersecurity | 1.0.0 | impure | func FetchHTTPHeaders(url string) (map[string][]string, error) | Realiza una solicitud HTTP HEAD a una URL y devuelve los headers de la respuesta. |
|
false | error_go_core |
|
|
mapa de headers de la respuesta (map[string][]string) o error si la solicitud falla | false | functions/cybersecurity/fetch_http_headers.go |