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.
703 B
703 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 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| which | function | go | shell | 1.0.0 | pure | func Which(name string) core.Option[string] | Busca la ruta de un ejecutable en el PATH del sistema. Devuelve None si no existe. |
|
|
|
false |
|
Option[string]: Some(ruta_absoluta) o None si no existe | false | functions/shell/which.go |
Ejemplo
path := Which("docker")
Notas
Implementacion en devfactory/shell.