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.
1.2 KiB
1.2 KiB
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 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| write_jupyter_launcher | function | bash | infra | 1.0.0 | impure | write_jupyter_launcher([project_dir: string]) -> string | Genera un script run-jupyter-lab.sh que lanza Jupyter Lab en modo colaborativo con autodeteccion de puerto y token deshabilitado. |
|
false | error_go_core |
|
ruta del script run-jupyter-lab.sh generado | false | bash/functions/infra/write_jupyter_launcher.sh |
Ejemplo
source write_jupyter_launcher.sh
path=$(write_jupyter_launcher /home/lucas/analysis/finanzas)
echo "Launcher creado en: $path"
# Luego en otra terminal:
# ./run-jupyter-lab.sh [puerto]
Notas
El launcher generado:
- Autodetecta un puerto libre (8888-8899)
- Guarda el puerto en
.jupyter-portpara que otros procesos lo lean - Activa el venv automaticamente
- Lanza Jupyter Lab en modo
--collaborative(requiere jupyter-collaboration) - Token y password deshabilitados para acceso local