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.
869 B
869 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_sync | function | bash | infra | 1.0.0 | impure | pass_sync() -> json | Sincroniza el password store con el repositorio git remoto (pull + push). |
|
false | error_go_core | JSON con resultados de pull y push | true |
|
bash/functions/infra/pass_test.sh | bash/functions/infra/pass_sync.sh |
Ejemplo
source pass_sync.sh
result=$(pass_sync)
# {"pull":"Already up to date.","push":"Everything up-to-date"}
Notas
Ejecuta pass git pull seguido de pass git push. Requiere que el password store tenga un remote git configurado. Retorna JSON con la ultima linea de cada operacion.