5f4f1f7508
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.
994 B
994 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 | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pass_set | function | bash | infra | 1.0.0 | impure | pass_set(entry: string, [value: string]) -> void | Inserta o sobreescribe un secreto en el password store (pass). |
|
false | error_go_core |
|
sin salida | true |
|
bash/functions/infra/pass_test.sh | bash/functions/infra/pass_set.sh |
Ejemplo
source pass_set.sh
pass_set agentes/nuevo-servicio "token-abc123"
Notas
Usa pass insert -m -f para forzar sobreescritura sin prompt interactivo. Si no se pasa valor como argumento, lee de stdin.