# Manifest de repositorios externos para extraccion de funciones.
# Cada entrada registra un repo clonado en sources/ y las funciones extraidas.
#
# Formato:
#   - repo: https://github.com/user/project
#     license: MIT
#     cloned_dir: project           # nombre del directorio en sources/
#     extracted:                     # funciones ya extraidas (el agente las registra)
#       - id: func_name_go_core
#         source_file: pkg/utils.go  # path relativo dentro del repo original
#         date: 2026-03-29
#
# Workflow:
#   1. Clonar repo en sources/:  git clone <url> sources/<nombre>
#   2. Invocar agente extractor para analizar y proponer funciones
#   3. El agente copia, adapta, crea .go + .md con atribucion
#   4. fn index para registrar en registry.db
#   5. Actualizar este manifest con las funciones extraidas

repos:
  - repo: https://github.com/VectifyAI/PageIndex
    license: MIT
    cloned_dir: PageIndex
    extracted:
      # Pure — tree manipulation (8)
      - id: flatten_tree_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05
      - id: tree_to_flat_list_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05
      - id: get_leaf_nodes_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05
      - id: write_node_ids_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05
      - id: list_to_tree_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05
      - id: remove_tree_fields_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05
      - id: format_tree_structure_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05
      - id: create_node_mapping_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05
      # Pure — text/JSON extraction (2)
      - id: extract_json_from_llm_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05
      - id: parse_page_range_py_core
        source_file: pageindex/retrieve.py
        date: 2026-04-05
      # Pure — markdown parsing (2)
      - id: extract_markdown_headers_py_core
        source_file: pageindex/page_index_md.py
        date: 2026-04-05
      - id: build_tree_from_headers_py_core
        source_file: pageindex/page_index_md.py
        date: 2026-04-05
      # Pure — pagination/chunking (2)
      - id: page_list_to_groups_py_core
        source_file: pageindex/page_index.py
        date: 2026-04-05
      - id: calculate_page_offset_py_core
        source_file: pageindex/page_index.py
        date: 2026-04-05
      # Impure — LLM wrappers (2)
      - id: llm_completion_retry_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05
      - id: llm_acompletion_retry_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05
      # Impure — PDF extraction (2)
      - id: extract_pdf_text_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05
      - id: get_pdf_page_tokens_py_core
        source_file: pageindex/utils.py
        date: 2026-04-05

  - repo: https://gitea-dgg044oo04woo4ggcsws4gk0.organic-machine.com/Bl4cksmith/Frontend_Library
    license: MIT
    cloned_dir: frontend_library
    extracted:
      # Tipos (3)
      - id: ThemeConfig_typescript_ui
        source_file: frontend/src/themes/types.ts
        date: 2026-04-01
      - id: ChartSeries_typescript_ui
        source_file: frontend/src/components/ui/charts/chart-base.tsx
        date: 2026-04-01
      - id: ComponentVariants_typescript_core
        source_file: frontend/src/components/ui/button.tsx
        date: 2026-04-01
      # Funciones core puras (4)
      - id: cn_typescript_core
        source_file: frontend/src/lib/utils.ts
        date: 2026-04-01
      - id: get_series_color_typescript_core
        source_file: frontend/src/components/ui/charts/chart-base.tsx
        date: 2026-04-01
      - id: theme_config_to_colors_typescript_core
        source_file: frontend/src/themes/types.ts
        date: 2026-04-01
      - id: chart_colors_typescript_core
        source_file: frontend/src/components/ui/charts/chart-base.tsx
        date: 2026-04-01
      # Componentes atómicos (10)
      - id: button_typescript_ui
        source_file: frontend/src/components/ui/button.tsx
        date: 2026-04-01
      - id: card_typescript_ui
        source_file: frontend/src/components/ui/card.tsx
        date: 2026-04-01
      - id: input_typescript_ui
        source_file: frontend/src/components/ui/input.tsx
        date: 2026-04-01
      - id: label_typescript_ui
        source_file: frontend/src/components/ui/label.tsx
        date: 2026-04-01
      - id: badge_typescript_ui
        source_file: frontend/src/components/ui/badge.tsx
        date: 2026-04-01
      - id: alert_typescript_ui
        source_file: frontend/src/components/ui/alert.tsx
        date: 2026-04-01
      - id: skeleton_typescript_ui
        source_file: frontend/src/components/ui/skeleton.tsx
        date: 2026-04-01
      - id: progress_bar_typescript_ui
        source_file: frontend/src/components/ui/progress/progress-bar.tsx
        date: 2026-04-01
      - id: tooltip_typescript_ui
        source_file: frontend/src/components/ui/tooltip.tsx
        date: 2026-04-01
      - id: select_typescript_ui
        source_file: frontend/src/components/ui/select.tsx
        date: 2026-04-01
      # Componentes moleculares (5)
      - id: dialog_typescript_ui
        source_file: frontend/src/components/ui/dialog.tsx
        date: 2026-04-01
      - id: form_field_typescript_ui
        source_file: frontend/src/components/ui/form-field.tsx
        date: 2026-04-01
      - id: tabs_typescript_ui
        source_file: frontend/src/components/ui/tabs.tsx
        date: 2026-04-01
      - id: kpi_card_typescript_ui
        source_file: frontend/src/components/ui/kpi-card.tsx
        date: 2026-04-01
      - id: page_header_typescript_ui
        source_file: frontend/src/components/ui/page-header.tsx
        date: 2026-04-01
      # Charts (5)
      - id: chart_container_typescript_ui
        source_file: frontend/src/components/ui/charts/chart-base.tsx
        date: 2026-04-01
      - id: line_chart_typescript_ui
        source_file: frontend/src/components/ui/charts/line-chart.tsx
        date: 2026-04-01
      - id: bar_chart_typescript_ui
        source_file: frontend/src/components/ui/charts/bar-chart.tsx
        date: 2026-04-01
      - id: area_chart_typescript_ui
        source_file: frontend/src/components/ui/charts/area-chart.tsx
        date: 2026-04-01
      - id: sparkline_typescript_ui
        source_file: frontend/src/components/ui/sparkline.tsx
        date: 2026-04-01
      # Factories de composición (5)
      - id: dashboard_layout_typescript_ui
        source_file: ""
        date: 2026-04-01
      - id: crud_page_typescript_ui
        source_file: ""
        date: 2026-04-01
      - id: analytics_page_typescript_ui
        source_file: ""
        date: 2026-04-01
      - id: settings_page_typescript_ui
        source_file: ""
        date: 2026-04-01
      - id: detail_page_typescript_ui
        source_file: ""
        date: 2026-04-01
      # Theming (2)
      - id: apply_theme_typescript_ui
        source_file: frontend/src/hooks/use-theme.tsx
        date: 2026-04-01
      - id: theme_provider_typescript_ui
        source_file: frontend/src/hooks/use-theme.tsx
        date: 2026-04-01
      # Wails IPC hooks (7)
      - id: wails_cache_typescript_core
        source_file: frontend/src/lib/wails/cache.ts
        date: 2026-04-01
      - id: WailsIPC_typescript_ui
        source_file: frontend/src/lib/wails/types.ts
        date: 2026-04-01
      - id: wails_provider_typescript_ui
        source_file: frontend/src/lib/wails/wails-provider.tsx
        date: 2026-04-01
      - id: use_wails_query_typescript_ui
        source_file: frontend/src/lib/wails/use-wails-query.tsx
        date: 2026-04-01
      - id: use_wails_mutation_typescript_ui
        source_file: frontend/src/lib/wails/use-wails-mutation.tsx
        date: 2026-04-01
      - id: use_wails_event_typescript_ui
        source_file: frontend/src/lib/wails/use-wails-event.tsx
        date: 2026-04-01
      - id: use_wails_stream_typescript_ui
        source_file: frontend/src/lib/wails/use-wails-stream.tsx
        date: 2026-04-01
      # Wails Go functions (5)
      - id: scaffold_wails_app_go_infra
        source_file: ""
        date: 2026-04-01
      - id: wails_build_go_infra
        source_file: ""
        date: 2026-04-01
      - id: wails_emit_event_go_infra
        source_file: ""
        date: 2026-04-01
      - id: wails_stream_data_go_infra
        source_file: ""
        date: 2026-04-01
      - id: wails_bind_crud_go_infra
        source_file: ""
        date: 2026-04-01

  - repo: https://gitea-dgg044oo04woo4ggcsws4gk0.organic-machine.com/egutierrez/DevLauncher.git
    license: MIT
    cloned_dir: DevLauncher
    extracted:
      # Phase 1: Go Pure — TUI (5)
      - id: apply_gradient_go_tui
        source_file: launcher/core/gradient.go
        date: 2026-04-08
      - id: strip_ansi_go_tui
        source_file: launcher/core/commands.go
        date: 2026-04-08
      - id: normalize_terminal_output_go_tui
        source_file: launcher/core/commands.go
        date: 2026-04-08
      - id: draw_box_go_tui
        source_file: launcher/ui/styles.go
        date: 2026-04-08
      - id: draw_separator_go_tui
        source_file: launcher/ui/styles.go
        date: 2026-04-08
      # Phase 2: Go Pure — Core (5)
      - id: longest_common_prefix_go_core
        source_file: launcher/core/commands.go
        date: 2026-04-08
      - id: split_command_and_arg_go_core
        source_file: launcher/core/commands.go
        date: 2026-04-08
      - id: compare_versions_go_core
        source_file: installer/core/version.go
        date: 2026-04-08
      - id: parse_version_go_core
        source_file: installer/core/version.go
        date: 2026-04-08
      - id: rel_or_full_go_core
        source_file: launcher/core/script_query.go
        date: 2026-04-08
      # Phase 3: Go Impure (3)
      - id: load_ascii_art_go_tui
        source_file: launcher/middleware/assets.go
        date: 2026-04-08
      - id: read_dir_autocomplete_go_tui
        source_file: launcher/middleware/command_fs.go
        date: 2026-04-08
      - id: extract_script_description_go_shell
        source_file: launcher/middleware/reader.go
        date: 2026-04-08
      # Phase 4: Bash Library (6)
      - id: bash_colors_bash_shell
        source_file: scripts/lib/common.sh
        date: 2026-04-08
      - id: bash_log_bash_shell
        source_file: scripts/lib/common.sh
        date: 2026-04-08
      - id: bash_check_deps_bash_shell
        source_file: scripts/lib/common.sh
        date: 2026-04-08
      - id: bash_confirm_bash_shell
        source_file: scripts/lib/common.sh
        date: 2026-04-08
      - id: bash_safe_run_bash_shell
        source_file: scripts/lib/common.sh
        date: 2026-04-08
      - id: bash_handle_error_bash_shell
        source_file: scripts/lib/common.sh
        date: 2026-04-08
      # Phase 5: Bash Cybersecurity (12)
      - id: analyze_dns_bash_cybersecurity
        source_file: scripts/linux/ciberseguridad/redes/analisis_dns.sh
        date: 2026-04-08
      - id: list_active_connections_bash_cybersecurity
        source_file: scripts/linux/ciberseguridad/redes/conexiones_activas.sh
        date: 2026-04-08
      - id: geolocate_ip_bash_cybersecurity
        source_file: scripts/linux/ciberseguridad/redes/geoip.sh
        date: 2026-04-08
      - id: audit_ssh_config_bash_cybersecurity
        source_file: scripts/linux/ciberseguridad/sistema/auditar_ssh.sh
        date: 2026-04-08
      - id: check_firewall_bash_cybersecurity
        source_file: scripts/linux/ciberseguridad/sistema/firewall_status.sh
        date: 2026-04-08
      - id: detect_suspicious_users_bash_cybersecurity
        source_file: scripts/linux/ciberseguridad/sistema/usuarios_sospechosos.sh
        date: 2026-04-08
      - id: encrypt_file_bash_cybersecurity
        source_file: scripts/linux/ciberseguridad/utilidades/cifrar_archivo.sh
        date: 2026-04-08
      - id: generate_password_bash_cybersecurity
        source_file: scripts/linux/ciberseguridad/utilidades/generar_password.sh
        date: 2026-04-08
      - id: verify_file_hash_bash_cybersecurity
        source_file: scripts/linux/ciberseguridad/utilidades/verificar_hash.sh
        date: 2026-04-08
      - id: audit_http_headers_bash_cybersecurity
        source_file: scripts/linux/ciberseguridad/web/cabeceras_http.sh
        date: 2026-04-08
      - id: inspect_ssl_cert_bash_cybersecurity
        source_file: scripts/linux/ciberseguridad/web/ssl_cert_info.sh
        date: 2026-04-08
      - id: enumerate_subdomains_bash_cybersecurity
        source_file: scripts/linux/ciberseguridad/web/subdominios.sh
        date: 2026-04-08
      # Phase 6: Git Utils (4)
      - id: git_repo_status_bash_shell
        source_file: scripts/linux/git_utils/estado_repo.sh
        date: 2026-04-08
      - id: git_clean_branches_bash_shell
        source_file: scripts/linux/git_utils/limpiar_ramas.sh
        date: 2026-04-08
      - id: git_push_all_remotes_bash_shell
        source_file: scripts/linux/git_utils/push_todos_remotes.sh
        date: 2026-04-08
      - id: git_log_visual_bash_shell
        source_file: scripts/linux/git_utils/historial_commits.sh
        date: 2026-04-08
      # Phase 7: Infra — System (3)
      - id: analyze_disk_space_bash_infra
        source_file: scripts/linux/gestion_linux/espacio_disponible.sh
        date: 2026-04-08
      - id: list_listening_ports_bash_infra
        source_file: scripts/linux/gestion_linux/puertos_activos.sh
        date: 2026-04-08
      - id: detect_wsl_bash_infra
        source_file: scripts/linux/gestion_linux/wsl_host.sh
        date: 2026-04-08
      # Phase 7: Infra — Installers (7)
      - id: install_go_bash_infra
        source_file: scripts/linux/instaladores/instalar_go.sh
        date: 2026-04-08
      - id: install_nodejs_bash_infra
        source_file: scripts/linux/instaladores/instalar_nodejs.sh
        date: 2026-04-08
      - id: install_pnpm_bash_infra
        source_file: scripts/linux/instaladores/instalar_pnpm.sh
        date: 2026-04-08
      - id: install_python312_bash_infra
        source_file: scripts/linux/instaladores/instalar_python312.sh
        date: 2026-04-08
      - id: install_uv_bash_infra
        source_file: scripts/linux/instaladores/instalar_uv.sh
        date: 2026-04-08
      - id: install_volta_bash_infra
        source_file: scripts/linux/instaladores/instalar_volta.sh
        date: 2026-04-08
      - id: install_wails_bash_infra
        source_file: scripts/linux/instaladores/instalar_wails.sh
        date: 2026-04-08
      # Phase 8: Shell Utils + Init (4)
      - id: convert_text_case_bash_shell
        source_file: scripts/linux/conversores/conversor_texto.sh
        date: 2026-04-08
      - id: create_project_structure_bash_shell
        source_file: scripts/linux/inicializar_repos/functional_structure.sh
        date: 2026-04-08
      - id: init_go_module_bash_pipelines
        source_file: scripts/linux/inicializar_repos/go/init_go_module.sh
        date: 2026-04-08
      - id: init_go_project_bash_pipelines
        source_file: scripts/linux/inicializar_repos/go/init_go_proyect.sh
        date: 2026-04-08

  - repo: https://github.com/daguflow/dagu
    license: GPL-3.0
    cloned_dir: dagu
    analyzed: true
    extracted: []
    # GPL-3.0: no code extracted. YAML format studied for compatibility in issue 0007 (dag_engine).
    # Our implementation is written from scratch with no dagu code copied.

  - repo: https://github.com/phosphor-icons/core
    license: MIT
    cloned_dir: phosphor-core
    analyzed: true
    extracted: []
    # MIT: fuente de ASSETS (SVGs), no de funciones.
    # 1512 SVGs por weight (regular/bold/fill/light/thin/duotone) en
    # sources/phosphor-core/assets/<weight>/<name>-<weight>.svg.
    # Consumidor: generate_app_icon_py_infra rasteriza phosphor SVG +
    # fondo accent -> .ico multi-res para iconos Windows de apps C++.
    # Ver .claude/rules/cpp_apps.md §11 para convencion de uso.
    # Clone: git clone --depth=1 https://github.com/phosphor-icons/core.git sources/phosphor-core
    date: 2026-05-16
