higpertext-cli 0.8.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- config/adapters_config.json +450 -0
- config/antigravity_agent_template.json +31 -0
- config/app_config.json +174 -0
- config/context_engine.json +33 -0
- config/environments/model_defaults.json +5 -0
- config/governance/branching_strategy.json +36 -0
- config/governance/deployment_gates.json +30 -0
- config/governance/guidelines_contract.json +54 -0
- config/governance/quality_gates.json +39 -0
- config/governance/section_rules.json +22 -0
- config/governance/security_guardrails.json +52 -0
- config/hooks/README.md +35 -0
- config/hooks/custom/test_output_limiter.json +9 -0
- config/hooks/global/session_prompt.json +9 -0
- config/htx_config.json +24 -0
- config/profile_learner.json +18 -0
- config/profiles/base_agent.json +40 -0
- config/profiles/base_auditor.json +19 -0
- config/profiles/base_developer.json +19 -0
- config/profiles/base_operator.json +16 -0
- config/profiles/global.json +33 -0
- config/profiles/software_developer.json +23 -0
- config/router_content.json +137 -0
- config/semantic_graph.json +66 -0
- config/workflows/ado_release_flow.json +38 -0
- config/workflows/docs-update.json +33 -0
- config/workflows/governance-check.yaml +26 -0
- config/workflows/guidelines-sync.json +40 -0
- config/workflows/higpertext-build.json +73 -0
- config/workflows/higpertext-plan.json +38 -0
- config/workflows/higpertext-review.json +41 -0
- config/workflows/pr-quality-check.json +56 -0
- config/workflows/quality-remediation.json +57 -0
- higpertext/__init__.py +18 -0
- higpertext/adapters/__init__.py +27 -0
- higpertext/adapters/adapter_utils.py +604 -0
- higpertext/adapters/claude_adapter/__init__.py +0 -0
- higpertext/adapters/claude_adapter/claude_adapter.py +154 -0
- higpertext/adapters/copilot_adapter/__init__.py +0 -0
- higpertext/adapters/copilot_adapter/copilot_adapter.py +231 -0
- higpertext/adapters/gemini_adapter/__init__.py +0 -0
- higpertext/adapters/gemini_adapter/gemini_adapter.py +211 -0
- higpertext/adapters/llm_formatter.py +46 -0
- higpertext/adapters/open_code_adapter/__init__.py +0 -0
- higpertext/adapters/open_code_adapter/open_code_adapter.py +480 -0
- higpertext/capabilities/capabilities_runner.py +216 -0
- higpertext/capabilities/common/agent-builder.json +54 -0
- higpertext/capabilities/common/agent-sync.json +34 -0
- higpertext/capabilities/common/code-skeletonizer.json +35 -0
- higpertext/capabilities/common/commit-report.json +42 -0
- higpertext/capabilities/common/context-assembler.json +37 -0
- higpertext/capabilities/common/context-budget-report.json +15 -0
- higpertext/capabilities/common/dep-manager.json +43 -0
- higpertext/capabilities/common/docs-sync.json +14 -0
- higpertext/capabilities/common/doctor.json +18 -0
- higpertext/capabilities/common/efficiency-meter.json +31 -0
- higpertext/capabilities/common/env-catalog.json +13 -0
- higpertext/capabilities/common/env-clean.json +14 -0
- higpertext/capabilities/common/env-logs.json +16 -0
- higpertext/capabilities/common/env-runner.json +23 -0
- higpertext/capabilities/common/env-status.json +13 -0
- higpertext/capabilities/common/env-stop.json +14 -0
- higpertext/capabilities/common/env-template.json +14 -0
- higpertext/capabilities/common/error-context-locator.json +23 -0
- higpertext/capabilities/common/eval-agent.json +33 -0
- higpertext/capabilities/common/file-map.json +17 -0
- higpertext/capabilities/common/governance-exception.json +54 -0
- higpertext/capabilities/common/graph-query.json +59 -0
- higpertext/capabilities/common/graph-rebuild.json +31 -0
- higpertext/capabilities/common/graph-visualize.json +37 -0
- higpertext/capabilities/common/grep-search.json +176 -0
- higpertext/capabilities/common/higpertext-tester.json +25 -0
- higpertext/capabilities/common/hook-health.json +19 -0
- higpertext/capabilities/common/hook-sync-check.json +19 -0
- higpertext/capabilities/common/hooks-manager.json +55 -0
- higpertext/capabilities/common/knowledge-asker.json +27 -0
- higpertext/capabilities/common/list-rules.json +27 -0
- higpertext/capabilities/common/llm-invoke.json +59 -0
- higpertext/capabilities/common/load-rules.json +37 -0
- higpertext/capabilities/common/memory-manager.json +65 -0
- higpertext/capabilities/common/quality-scan.json +21 -0
- higpertext/capabilities/common/quality-updater.json +35 -0
- higpertext/capabilities/common/rag-index.json +17 -0
- higpertext/capabilities/common/report-viewer.json +24 -0
- higpertext/capabilities/common/roadmap-report.json +37 -0
- higpertext/capabilities/common/scripts/_env_cli.py +65 -0
- higpertext/capabilities/common/scripts/agent_builder.py +60 -0
- higpertext/capabilities/common/scripts/agent_sync.py +56 -0
- higpertext/capabilities/common/scripts/ask_higpertext.py +38 -0
- higpertext/capabilities/common/scripts/code_skeletonizer.py +225 -0
- higpertext/capabilities/common/scripts/commit_report.py +134 -0
- higpertext/capabilities/common/scripts/context_assembler.py +70 -0
- higpertext/capabilities/common/scripts/context_budget_report.py +53 -0
- higpertext/capabilities/common/scripts/dep_manager.py +81 -0
- higpertext/capabilities/common/scripts/docs_sync.py +981 -0
- higpertext/capabilities/common/scripts/doctor.py +144 -0
- higpertext/capabilities/common/scripts/efficiency_meter.py +83 -0
- higpertext/capabilities/common/scripts/env_catalog.py +47 -0
- higpertext/capabilities/common/scripts/env_clean.py +30 -0
- higpertext/capabilities/common/scripts/env_logs.py +32 -0
- higpertext/capabilities/common/scripts/env_runner.py +53 -0
- higpertext/capabilities/common/scripts/env_status.py +38 -0
- higpertext/capabilities/common/scripts/env_stop.py +30 -0
- higpertext/capabilities/common/scripts/env_template.py +73 -0
- higpertext/capabilities/common/scripts/error_context_locator.py +138 -0
- higpertext/capabilities/common/scripts/eval_agent.py +80 -0
- higpertext/capabilities/common/scripts/file_map.py +95 -0
- higpertext/capabilities/common/scripts/governance_exception.py +116 -0
- higpertext/capabilities/common/scripts/graph_query.py +104 -0
- higpertext/capabilities/common/scripts/graph_rebuild.py +107 -0
- higpertext/capabilities/common/scripts/graph_visualize.py +76 -0
- higpertext/capabilities/common/scripts/grep_search.py +648 -0
- higpertext/capabilities/common/scripts/higpertext_tester.py +102 -0
- higpertext/capabilities/common/scripts/hook_health.py +149 -0
- higpertext/capabilities/common/scripts/hook_sync_check.py +134 -0
- higpertext/capabilities/common/scripts/hooks_manager.py +171 -0
- higpertext/capabilities/common/scripts/list_rules.py +175 -0
- higpertext/capabilities/common/scripts/llm_invoke.py +135 -0
- higpertext/capabilities/common/scripts/load_rules.py +379 -0
- higpertext/capabilities/common/scripts/memory_manager.py +210 -0
- higpertext/capabilities/common/scripts/presentation_engine.py +63 -0
- higpertext/capabilities/common/scripts/quality_scan.py +132 -0
- higpertext/capabilities/common/scripts/rag_index.py +39 -0
- higpertext/capabilities/common/scripts/report_viewer.py +106 -0
- higpertext/capabilities/common/scripts/roadmap_report.py +73 -0
- higpertext/capabilities/common/scripts/search_router.py +111 -0
- higpertext/capabilities/common/scripts/semantic_diff.py +166 -0
- higpertext/capabilities/common/scripts/semantic_search.py +43 -0
- higpertext/capabilities/common/scripts/session_control.py +136 -0
- higpertext/capabilities/common/scripts/smart_read.py +232 -0
- higpertext/capabilities/common/scripts/subagent_executor.py +143 -0
- higpertext/capabilities/common/scripts/sync_agents.py +353 -0
- higpertext/capabilities/common/scripts/task_decomposer.py +78 -0
- higpertext/capabilities/common/scripts/telemetry_report.py +36 -0
- higpertext/capabilities/common/search-router.json +24 -0
- higpertext/capabilities/common/semantic-diff.json +40 -0
- higpertext/capabilities/common/semantic-search.json +19 -0
- higpertext/capabilities/common/session-clean.json +20 -0
- higpertext/capabilities/common/session-start.json +44 -0
- higpertext/capabilities/common/smart-read.json +28 -0
- higpertext/capabilities/common/subagent-executor.json +25 -0
- higpertext/capabilities/common/sync-agents.json +32 -0
- higpertext/capabilities/common/task-decomposer.json +37 -0
- higpertext/capabilities/common/telemetry-report.json +23 -0
- higpertext/capabilities/git/__init__.py +0 -0
- higpertext/capabilities/git/committer.json +61 -0
- higpertext/capabilities/git/diff.json +33 -0
- higpertext/capabilities/git/ls-files.json +44 -0
- higpertext/capabilities/git/rm.json +27 -0
- higpertext/capabilities/git/scripts/__init__.py +0 -0
- higpertext/capabilities/git/scripts/commit_changes.py +1077 -0
- higpertext/capabilities/git/scripts/git_diff.py +171 -0
- higpertext/capabilities/git/scripts/git_ls_files.py +376 -0
- higpertext/capabilities/git/scripts/git_rm.py +62 -0
- higpertext/capabilities/security/k8s-auditor.json +33 -0
- higpertext/capabilities/security/scripts/k8s_auditor.py +307 -0
- higpertext/capabilities/security/scripts/secret_scanner.py +235 -0
- higpertext/capabilities/security/secret-scanner.json +32 -0
- higpertext/hooks/__init__.py +28 -0
- higpertext/hooks/_compat.py +27 -0
- higpertext/hooks/hook_tasks/__init__.py +1 -0
- higpertext/hooks/hook_tasks/_rules/__init__.py +0 -0
- higpertext/hooks/hook_tasks/_rules/bash_rules.py +635 -0
- higpertext/hooks/hook_tasks/_rules/context_engine_rule.py +79 -0
- higpertext/hooks/hook_tasks/_rules/context_rules.py +199 -0
- higpertext/hooks/hook_tasks/_rules/governance_adapter.py +72 -0
- higpertext/hooks/hook_tasks/_rules/profile_rules.json +25 -0
- higpertext/hooks/hook_tasks/_rules/quality_rules.py +86 -0
- higpertext/hooks/hook_tasks/_rules/security_rules.py +214 -0
- higpertext/hooks/hook_tasks/_rules/session_rules.py +316 -0
- higpertext/hooks/hook_tasks/_rules/telemetry_rules.py +121 -0
- higpertext/hooks/hook_tasks/audit_logger_hook.py +28 -0
- higpertext/hooks/hook_tasks/hook_bash_guard.py +101 -0
- higpertext/hooks/hook_tasks/hook_code_quality.py +48 -0
- higpertext/hooks/hook_tasks/hook_context_hint.py +46 -0
- higpertext/hooks/hook_tasks/hook_context_manager.py +44 -0
- higpertext/hooks/hook_tasks/hook_io.py +122 -0
- higpertext/hooks/hook_tasks/hook_loop_guard.py +182 -0
- higpertext/hooks/hook_tasks/hook_post_observer.py +54 -0
- higpertext/hooks/hook_tasks/hook_read_guard.py +85 -0
- higpertext/hooks/hook_tasks/hook_security_guard.py +81 -0
- higpertext/hooks/hook_tasks/hook_session_prompt.py +83 -0
- higpertext/hooks/hook_tasks/hook_session_stop.py +115 -0
- higpertext/hooks/hook_tasks/hook_utils.py +144 -0
- higpertext/hooks/hook_tasks/session_guard_hook.py +23 -0
- higpertext/hooks/hook_tasks/telemetry_utils.py +176 -0
- higpertext/hooks/hook_tasks/test_echo_hook.py +33 -0
- higpertext/hooks/hook_tasks/webhook_hook.py +54 -0
- higpertext/hooks/hook_tasks/workflow_runner_hook.py +49 -0
- higpertext/hooks/hooks_catalog.json +116 -0
- higpertext/kernel/__init__.py +63 -0
- higpertext/kernel/_compat.py +138 -0
- higpertext/kernel/app_config.py +117 -0
- higpertext/kernel/application/__init__.py +13 -0
- higpertext/kernel/application/agent_registry.py +102 -0
- higpertext/kernel/application/capability_manager.py +61 -0
- higpertext/kernel/application/commit_reporter.py +247 -0
- higpertext/kernel/application/context_builder.py +166 -0
- higpertext/kernel/application/context_engine.py +409 -0
- higpertext/kernel/application/engine.py +41 -0
- higpertext/kernel/application/env_runtime.py +174 -0
- higpertext/kernel/application/environment_manager.py +154 -0
- higpertext/kernel/application/governance.py +192 -0
- higpertext/kernel/application/hook_registry.py +102 -0
- higpertext/kernel/application/hook_renderer.py +720 -0
- higpertext/kernel/application/ports.py +49 -0
- higpertext/kernel/application/profile_learner.py +358 -0
- higpertext/kernel/application/profile_service.py +205 -0
- higpertext/kernel/application/profile_services.py +6 -0
- higpertext/kernel/application/profile_use_cases.py +93 -0
- higpertext/kernel/application/rag_service.py +75 -0
- higpertext/kernel/application/roadmap_reporter.py +178 -0
- higpertext/kernel/application/semantic_engine.py +258 -0
- higpertext/kernel/application/session_services.py +33 -0
- higpertext/kernel/application/skill_hook_compiler.py +85 -0
- higpertext/kernel/application/telemetry.py +326 -0
- higpertext/kernel/application/workflow_manager.py +176 -0
- higpertext/kernel/config_paths.py +66 -0
- higpertext/kernel/domain/__init__.py +12 -0
- higpertext/kernel/domain/agent_registry.py +23 -0
- higpertext/kernel/domain/commit_reporter.py +155 -0
- higpertext/kernel/domain/compilers.py +7 -0
- higpertext/kernel/domain/context_engine.py +319 -0
- higpertext/kernel/domain/entities.py +51 -0
- higpertext/kernel/domain/env_runtime.py +62 -0
- higpertext/kernel/domain/governance.py +198 -0
- higpertext/kernel/domain/hook_models.py +29 -0
- higpertext/kernel/domain/profile_learner.py +186 -0
- higpertext/kernel/domain/rag.py +70 -0
- higpertext/kernel/domain/repositories.py +8 -0
- higpertext/kernel/domain/roadmap_reporter.py +80 -0
- higpertext/kernel/domain/semantic_engine.py +107 -0
- higpertext/kernel/engine.py +42 -0
- higpertext/kernel/htx_resolver.py +69 -0
- higpertext/kernel/infrastructure/__init__.py +13 -0
- higpertext/kernel/infrastructure/agent_registry.py +40 -0
- higpertext/kernel/infrastructure/cache/capability_cache.py +319 -0
- higpertext/kernel/infrastructure/capability_helper.py +40 -0
- higpertext/kernel/infrastructure/cli/__init__.py +1 -0
- higpertext/kernel/infrastructure/cli/agent_commands.py +62 -0
- higpertext/kernel/infrastructure/cli/arguments.py +39 -0
- higpertext/kernel/infrastructure/cli/capability_command_builder.py +86 -0
- higpertext/kernel/infrastructure/cli/capability_task_service.py +234 -0
- higpertext/kernel/infrastructure/cli/cli_search.py +234 -0
- higpertext/kernel/infrastructure/cli/parameter_contracts.py +83 -0
- higpertext/kernel/infrastructure/cli/parser_builder.py +122 -0
- higpertext/kernel/infrastructure/cli/profile_commands.py +89 -0
- higpertext/kernel/infrastructure/cli/roadmap_commands.py +117 -0
- higpertext/kernel/infrastructure/cli/router.py +1110 -0
- higpertext/kernel/infrastructure/cli/session_commands.py +36 -0
- higpertext/kernel/infrastructure/cli/task_commands.py +23 -0
- higpertext/kernel/infrastructure/cli/task_result_reporter.py +56 -0
- higpertext/kernel/infrastructure/cli/workflow_commands.py +25 -0
- higpertext/kernel/infrastructure/compilers/__init__.py +3 -0
- higpertext/kernel/infrastructure/compilers/factory.py +27 -0
- higpertext/kernel/infrastructure/compilers/graph_compiler.py +20 -0
- higpertext/kernel/infrastructure/compilers/guide_compiler.py +50 -0
- higpertext/kernel/infrastructure/compilers/hook_compiler.py +69 -0
- higpertext/kernel/infrastructure/compilers/playbook_compiler.py +154 -0
- higpertext/kernel/infrastructure/context_engine.py +303 -0
- higpertext/kernel/infrastructure/database/local_vector_store.py +99 -0
- higpertext/kernel/infrastructure/deployment/__init__.py +1 -0
- higpertext/kernel/infrastructure/deployment/resource_deployer.py +283 -0
- higpertext/kernel/infrastructure/diagnostics/__init__.py +1 -0
- higpertext/kernel/infrastructure/diagnostics/health.py +191 -0
- higpertext/kernel/infrastructure/env_runtime.py +227 -0
- higpertext/kernel/infrastructure/execution/__init__.py +1 -0
- higpertext/kernel/infrastructure/execution/parallel.py +188 -0
- higpertext/kernel/infrastructure/execution/resilience.py +155 -0
- higpertext/kernel/infrastructure/file_repositories.py +213 -0
- higpertext/kernel/infrastructure/governance.py +198 -0
- higpertext/kernel/infrastructure/hook_config_loader.py +53 -0
- higpertext/kernel/infrastructure/hook_webhook_dispatcher.py +61 -0
- higpertext/kernel/infrastructure/hook_workflow_bridge.py +60 -0
- higpertext/kernel/infrastructure/llm/__init__.py +6 -0
- higpertext/kernel/infrastructure/llm/provider.py +46 -0
- higpertext/kernel/infrastructure/llm/providers/__init__.py +0 -0
- higpertext/kernel/infrastructure/llm/providers/anthropic_provider.py +94 -0
- higpertext/kernel/infrastructure/llm/providers/gemini_embeddings.py +74 -0
- higpertext/kernel/infrastructure/llm/providers/gemini_provider.py +101 -0
- higpertext/kernel/infrastructure/llm/providers/ollama_provider.py +110 -0
- higpertext/kernel/infrastructure/llm/providers/openai_provider.py +98 -0
- higpertext/kernel/infrastructure/llm/registry.py +81 -0
- higpertext/kernel/infrastructure/logger.py +303 -0
- higpertext/kernel/infrastructure/output_store.py +70 -0
- higpertext/kernel/infrastructure/parser/__init__.py +1 -0
- higpertext/kernel/infrastructure/parser/code_chunker.py +144 -0
- higpertext/kernel/infrastructure/parser/language/__init__.py +14 -0
- higpertext/kernel/infrastructure/parser/language/base.py +41 -0
- higpertext/kernel/infrastructure/parser/language/powershell_parser.py +35 -0
- higpertext/kernel/infrastructure/parser/language/python_parser.py +98 -0
- higpertext/kernel/infrastructure/parser/language/typescript_parser.py +91 -0
- higpertext/kernel/infrastructure/parser/semantic_graph.py +409 -0
- higpertext/kernel/infrastructure/presentation/__init__.py +1 -0
- higpertext/kernel/infrastructure/presentation/html_renderer.py +137 -0
- higpertext/kernel/infrastructure/presentation/markdown_renderer.py +84 -0
- higpertext/kernel/infrastructure/presentation/markdown_report_renderer.py +97 -0
- higpertext/kernel/infrastructure/profile_store.py +28 -0
- higpertext/kernel/infrastructure/semantic_engine.py +289 -0
- higpertext/kernel/infrastructure/telemetry_reporter.py +132 -0
- higpertext/kernel/infrastructure/validation/__init__.py +1 -0
- higpertext/kernel/infrastructure/validation/contract_validator.py +163 -0
- higpertext/kernel/pkg_resources.py +38 -0
- higpertext/kernel/session_manager.py +319 -0
- higpertext/templates/env/generic-shell.yaml +21 -0
- higpertext/templates/env/node-vitest.yaml +27 -0
- higpertext/templates/env/python-pytest.yaml +29 -0
- higpertext/templates/html/commit_body.html +20 -0
- higpertext/templates/html/commit_diff.html +4 -0
- higpertext/templates/html/commit_index.html +29 -0
- higpertext/templates/html/commit_layer.html +11 -0
- higpertext/templates/html/commit_shell.html +28 -0
- higpertext/templates/html/graph_visualize.html +86 -0
- higpertext/templates/html/roadmap_body.html +12 -0
- higpertext/templates/html/roadmap_phase.html +5 -0
- higpertext/templates/html/roadmap_shell.html +29 -0
- higpertext/templates/markdown/commit_report.md +18 -0
- higpertext/templates/markdown/efficiency_report.md +12 -0
- higpertext/templates/markdown/roadmap_report.md +25 -0
- higpertext/templates/skills/best-practices.md +7 -0
- higpertext/templates/skills/clean-code.md +8 -0
- higpertext/templates/skills/ddd-standards.md +7 -0
- higpertext/templates/skills/tdd-practices.md +7 -0
- higpertext/templates/subagents/architect.md +7 -0
- higpertext/templates/subagents/test-engineer.md +7 -0
- higpertext/templates/workflows/build.json +23 -0
- higpertext/templates/workflows/compact.json +21 -0
- higpertext/templates/workflows/plan.json +59 -0
- higpertext/templates/workflows/review.json +26 -0
- higpertext/templates/workflows/spec.json +27 -0
- higpertext_cli-0.8.0.dist-info/METADATA +35 -0
- higpertext_cli-0.8.0.dist-info/RECORD +335 -0
- higpertext_cli-0.8.0.dist-info/WHEEL +5 -0
- higpertext_cli-0.8.0.dist-info/entry_points.txt +2 -0
- higpertext_cli-0.8.0.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "common.semantic-search",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"name": "Semantic Search",
|
|
5
|
+
"description": "Busca fragmentos de código y documentación semánticamente usando RAG.",
|
|
6
|
+
"entrypoint": "capabilities/common/scripts/semantic_search.py",
|
|
7
|
+
"language": "python",
|
|
8
|
+
"parameters": [
|
|
9
|
+
{"name": "query", "description": "Consulta o concepto semántico a buscar.", "required": true},
|
|
10
|
+
{"name": "limit", "description": "Número máximo de fragmentos a retornar.", "required": false, "default": "5"},
|
|
11
|
+
{"name": "root", "description": "Ruta al directorio raíz del proyecto.", "required": false, "default": "."}
|
|
12
|
+
],
|
|
13
|
+
"contract": {
|
|
14
|
+
"rules": [
|
|
15
|
+
"Debe calcular el embedding del query.",
|
|
16
|
+
"Debe devolver una lista ordenada de fragmentos por similitud coseno en JSON."
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "common.session-clean",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"name": "Limpiar Sesión Temporal",
|
|
5
|
+
"description": "Cierra la sesión de desarrollo y desmonta/borra todos los recursos efímeros del workspace.",
|
|
6
|
+
"entrypoint": "capabilities/common/scripts/session_control.py",
|
|
7
|
+
"language": "python",
|
|
8
|
+
"parameters": [
|
|
9
|
+
{
|
|
10
|
+
"name": "action",
|
|
11
|
+
"type": "string",
|
|
12
|
+
"required": true,
|
|
13
|
+
"description": "Acción a realizar: 'clean'"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"security": {
|
|
17
|
+
"requires_pat": false
|
|
18
|
+
},
|
|
19
|
+
"hook_task_id": "hook_session_stop"
|
|
20
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "common.session-start",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"name": "Iniciar Sesión Temporal",
|
|
5
|
+
"description": "Bootstraps a temporal development session by mounting required skills, subagents, and compiling dynamic playbooks.",
|
|
6
|
+
"entrypoint": "capabilities/common/scripts/session_control.py",
|
|
7
|
+
"language": "python",
|
|
8
|
+
"parameters": [
|
|
9
|
+
{
|
|
10
|
+
"name": "action",
|
|
11
|
+
"type": "string",
|
|
12
|
+
"required": true,
|
|
13
|
+
"description": "Acción a realizar: 'start'"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "profile",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"required": false,
|
|
19
|
+
"description": "Nombre del perfil activo."
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "assistant",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"required": false,
|
|
25
|
+
"description": "Asistente destino: claude, gemini, antigravity, copilot. Por defecto usa el del environment.json."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "skills",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "Lista de skills separadas por comas."
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "subagents",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"required": false,
|
|
37
|
+
"description": "Lista de subagentes separados por comas."
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"security": {
|
|
41
|
+
"requires_pat": false
|
|
42
|
+
},
|
|
43
|
+
"hook_task_id": "hook_session_start"
|
|
44
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "common.smart-read",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"name": "Smart Read",
|
|
5
|
+
"description": "Lee archivos de forma segura para LLM. En modo auto evita volcar archivos grandes y devuelve skeleton, rangos, símbolos o resumen con mapa de líneas.",
|
|
6
|
+
"entrypoint": "capabilities/common/scripts/smart_read.py",
|
|
7
|
+
"language": "python",
|
|
8
|
+
"parameters": [
|
|
9
|
+
{"name": "path", "description": "Archivo a leer.", "required": true},
|
|
10
|
+
{"name": "mode", "description": "auto, skeleton, range, symbol, full o summary. Default: auto.", "required": false, "default": "auto"},
|
|
11
|
+
{"name": "symbol", "description": "Símbolo a localizar con mode=symbol.", "required": false},
|
|
12
|
+
{"name": "offset", "description": "Línea inicial para mode=range. Default: 1.", "required": false, "default": "1"},
|
|
13
|
+
{"name": "limit", "description": "Cantidad de líneas para mode=range o radio para around_line. Default: 120.", "required": false, "default": "120"},
|
|
14
|
+
{"name": "around_line", "description": "Lee alrededor de una línea específica.", "required": false, "default": "0"},
|
|
15
|
+
{"name": "max_bytes", "description": "Umbral para considerar archivo grande. Default: 102400.", "required": false, "default": "102400"},
|
|
16
|
+
{"name": "max_tokens", "description": "Si el resultado excede el presupuesto, degrada a summary.", "required": false, "default": "0"},
|
|
17
|
+
{"name": "json", "description": "Emite JSON estructurado.", "required": false, "default": "false"}
|
|
18
|
+
],
|
|
19
|
+
"contract": {
|
|
20
|
+
"rules": [
|
|
21
|
+
"Debe validar que el archivo exista.",
|
|
22
|
+
"En mode=auto debe devolver skeleton para archivos de código grandes.",
|
|
23
|
+
"Debe soportar lectura por rango, por símbolo, resumen y JSON.",
|
|
24
|
+
"Debe bloquear mode=full para archivos que superen max_bytes.",
|
|
25
|
+
"Debe incluir números de línea en rangos para facilitar lecturas focalizadas."
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "common.subagent-executor",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"name": "Ejecutor de Subagentes",
|
|
5
|
+
"description": "Lanza la ejecución aislada de un subagente especializado para resolver una subtarea.",
|
|
6
|
+
"entrypoint": "python src/capabilities/common/scripts/subagent_executor.py",
|
|
7
|
+
"language": "python",
|
|
8
|
+
"parameters": [
|
|
9
|
+
{
|
|
10
|
+
"name": "agent",
|
|
11
|
+
"type": "string",
|
|
12
|
+
"required": true,
|
|
13
|
+
"description": "Nombre del subagente a ejecutar (ej: test-engineer)."
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "task",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"required": true,
|
|
19
|
+
"description": "Descripción detallada de la subtarea a resolver."
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"security": {
|
|
23
|
+
"requires_pat": false
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "common.sync-agents",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Sincroniza y proyecta las reglas canónicas de AgentSystem (workflows primarios y subagentes) hacia las carpetas específicas del asistente IA en el proyecto destino.",
|
|
5
|
+
"entrypoint": "capabilities/common/scripts/sync_agents.py",
|
|
6
|
+
"language": "python",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{
|
|
9
|
+
"name": "target",
|
|
10
|
+
"description": "Ruta al proyecto destino donde proyectar las reglas y subagentes (opcional, por defecto el proyecto actual).",
|
|
11
|
+
"required": false
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "source",
|
|
15
|
+
"description": "Ruta origen de AgentSystem (opcional, por defecto se detecta automáticamente o vía variable de entorno AGENT_SYSTEM_PATH).",
|
|
16
|
+
"required": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "assistant",
|
|
20
|
+
"description": "Asistente objetivo para proyectar (gemini, claude, copilot, opencode, antigravity, all).",
|
|
21
|
+
"default": "all",
|
|
22
|
+
"required": false
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"contract": {
|
|
26
|
+
"rules": [
|
|
27
|
+
"Proyectar flujos de trabajo primarios (spec, plan, build, review) en las rutas del asistente.",
|
|
28
|
+
"Proyectar subagentes especializados en subagents/.",
|
|
29
|
+
"Generar un reporte claro en consola con la lista de archivos creados o actualizados."
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "common.task-decomposer",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"name": "Task Decomposer",
|
|
5
|
+
"description": "Descompone un objetivo de ingeniería en un task-graph determinístico (DAG). Produce fases con dependencias, skills y subagentes por nodo, compatible con roadmap.json de higpertext. Motor heurístico (NO LLM): plantillas por tipo de tarea (refactor/feature/bugfix/review). El resultado es un punto de partida para iterar.",
|
|
6
|
+
"entrypoint": "capabilities/common/scripts/task_decomposer.py",
|
|
7
|
+
"language": "python",
|
|
8
|
+
"parameters": [
|
|
9
|
+
{
|
|
10
|
+
"name": "goal",
|
|
11
|
+
"description": "Objetivo en lenguaje natural, ej: 'implementar el Efficiency Meter'.",
|
|
12
|
+
"required": true
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "type",
|
|
16
|
+
"description": "Tipo de tarea: refactor|feature|bugfix|review. Default: feature.",
|
|
17
|
+
"required": false,
|
|
18
|
+
"default": "feature"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "save",
|
|
22
|
+
"description": "Si 'true', escribe .higpertext/config/roadmap.json. Default: true.",
|
|
23
|
+
"required": false,
|
|
24
|
+
"default": "true"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"contract": {
|
|
28
|
+
"rules": [
|
|
29
|
+
"El grafo generado debe ser un DAG válido (sin ciclos).",
|
|
30
|
+
"Para tipo 'refactor', el primer nodo debe ser de exploración.",
|
|
31
|
+
"Cada nodo debe declarar sus skills y subagents.",
|
|
32
|
+
"El output debe ser compatible con el formato de roadmap.json de higpertext.",
|
|
33
|
+
"Si --save=true, debe escribir en .higpertext/config/roadmap.json.",
|
|
34
|
+
"El decomposer NO debe invocar ningún LLM — solo heurísticas determinísticas."
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "common.telemetry-report",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"name": "Telemetry Report",
|
|
5
|
+
"description": "Muestra dashboard de telemetría higpertext en terminal: tokens estimados, costo, sesiones, commits y correlaciones.",
|
|
6
|
+
"entrypoint": "capabilities/common/scripts/telemetry_report.py",
|
|
7
|
+
"language": "python",
|
|
8
|
+
"parameters": [
|
|
9
|
+
{
|
|
10
|
+
"name": "days",
|
|
11
|
+
"description": "Período en días a analizar (default: 7).",
|
|
12
|
+
"required": false,
|
|
13
|
+
"default": "7"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"contract": {
|
|
17
|
+
"rules": [
|
|
18
|
+
"Lee únicamente .higpertext/telemetry.jsonl — nunca expone tokens de API ni variables de entorno.",
|
|
19
|
+
"Si no hay datos, muestra mensaje informativo sin error.",
|
|
20
|
+
"Tokens y costo son estimados (chars/4) — no son valores exactos del proveedor."
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "git.committer",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Realiza un commit en Git siguiendo el estándar Conventional Commits y opcionalmente hace push a la rama en Azure DevOps.",
|
|
5
|
+
"entrypoint": "capabilities/git/scripts/commit_changes.py",
|
|
6
|
+
"language": "python",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{
|
|
9
|
+
"name": "message",
|
|
10
|
+
"description": "Mensaje del commit siguiendo Conventional Commits (ej. 'feat: añade capacidad de committer').",
|
|
11
|
+
"required": true
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "files",
|
|
15
|
+
"description": "Archivos a incluir en el commit (por defecto '.' para todos). Especifique rutas separadas por espacios o comas si es selectivo.",
|
|
16
|
+
"required": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "rationale",
|
|
20
|
+
"description": "Justificación técnica, arquitectónica y decisiones de negocio asociadas a este commit (opcional). Si no se indica, se deducirá automáticamente.",
|
|
21
|
+
"required": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "branch",
|
|
25
|
+
"description": "Nombre de la rama destino para realizar 'git push origin <branch>' (opcional).",
|
|
26
|
+
"required": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "tag",
|
|
30
|
+
"description": "Si se especifica '--tag', crea un tag anotado y hace bump de versión automático tras el commit. Soporta Python (pyproject.toml/setup.py/setup.cfg), Node (package.json), Java (pom.xml) y .NET (*.csproj/*.fsproj).",
|
|
31
|
+
"required": false
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "bump",
|
|
35
|
+
"description": "Tipo de incremento semver al usar --tag: 'patch' (default), 'minor' o 'major'.",
|
|
36
|
+
"required": false
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "tag-message",
|
|
40
|
+
"description": "Mensaje personalizado para el tag anotado (opcional). Si se omite, se genera automáticamente.",
|
|
41
|
+
"required": false
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "version",
|
|
45
|
+
"description": "Versión explícita para el tag (ej. '2.1.0' o 'v2.1.0'). Si se indica, omite el cálculo de --bump y usa esta versión directamente.",
|
|
46
|
+
"required": false
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"contract": {
|
|
50
|
+
"rules": [
|
|
51
|
+
"El mensaje de commit debe seguir Conventional Commits (prefijos válidos: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert).",
|
|
52
|
+
"Verificar cambios pendientes antes de realizar el commit."
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"hook_task_id": "hook_higpertext_enforcer",
|
|
56
|
+
"bash_intercept": {
|
|
57
|
+
"pattern": "\\bgit\\s+commit\\b",
|
|
58
|
+
"description": "Hacer un commit",
|
|
59
|
+
"example": "htx task git.committer --message \"<mensaje del commit>\""
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "git.diff",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Detecta cambios locales en el repositorio Git (archivos modificados, eliminados, sin seguimiento) y muestra un resumen estructurado o las diferencias detalladas (diffs) para ayudar al agente en tareas de versionado y documentación.",
|
|
5
|
+
"entrypoint": "capabilities/git/scripts/git_diff.py",
|
|
6
|
+
"language": "python",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{
|
|
9
|
+
"name": "detail",
|
|
10
|
+
"description": "Si es 'true', muestra el diff detallado del código. Si es 'false', solo lista los archivos. (default: 'false')",
|
|
11
|
+
"required": false
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "files",
|
|
15
|
+
"description": "Lista de archivos específicos separados por comas para analizar su diff. (opcional)",
|
|
16
|
+
"required": false
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"contract": {
|
|
20
|
+
"rules": [
|
|
21
|
+
"Mostrar el listado de archivos clasificados por su estado en Git (Staged, Unstaged, Untracked).",
|
|
22
|
+
"Si el parámetro detail está activo, formatear el diff en un bloque markdown legible con sintaxis diff."
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"hook_task_id": "hook_git_diff",
|
|
26
|
+
"bash_intercept": {
|
|
27
|
+
"pattern": "\\bgit\\s+(diff|status|log)\\b",
|
|
28
|
+
"description": "Ver diff/estado del repositorio",
|
|
29
|
+
"reason": "git diff/status/log nativo produce output sin clasificar. ado_admin.git-diff agrupa los archivos por estado (Staged, Unstaged, Untracked) y formatea el diff en markdown legible para el agente.",
|
|
30
|
+
"example": "htx task git.git-diff --detail true",
|
|
31
|
+
"has_dedicated_hook": true
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "git.ls-files",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "Lista e inspecciona archivos trackeados por git como alternativa segura a ls/find. Incluye filtros por ruta, glob, extensión, presets, árbol compacto, resumen, directorios, tamaños, JSON y límites de contexto.",
|
|
5
|
+
"entrypoint": "capabilities/git/scripts/git_ls_files.py",
|
|
6
|
+
"language": "python",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{"name": "path", "description": "Prefijo o ruta a explorar, ejemplo: src/higpertext.", "required": false},
|
|
9
|
+
{"name": "pattern", "description": "Filtro substring opcional para rutas.", "required": false},
|
|
10
|
+
{"name": "include", "description": "Globs incluidos separados por coma, ejemplo: *.py,*.json.", "required": false},
|
|
11
|
+
{"name": "exclude", "description": "Globs o rutas excluidas separados por coma.", "required": false},
|
|
12
|
+
{"name": "extension", "description": "Alias de include para extensiones, ejemplo: py,json.", "required": false},
|
|
13
|
+
{"name": "preset", "description": "Preset de filtro: all, code, python, web, docs, config o tests. Default: all.", "required": false, "default": "all"},
|
|
14
|
+
{"name": "mode", "description": "Modo de salida: list, tree, summary, dirs o json. Default: summary.", "required": false, "default": "summary"},
|
|
15
|
+
{"name": "max_results", "description": "Máximo de rutas, grupos o nodos impresos. Default: 100.", "required": false, "default": "100"},
|
|
16
|
+
{"name": "max_depth", "description": "Profundidad máxima para tree/dirs. Default: 3.", "required": false, "default": "3"},
|
|
17
|
+
{"name": "show_size", "description": "Si es true, muestra tamaño por archivo en mode=list.", "required": false, "default": "false"},
|
|
18
|
+
{"name": "large_threshold_kb", "description": "Umbral para marcar archivos grandes y sugerir skeletonizer. Default: 100.", "required": false, "default": "100"},
|
|
19
|
+
{"name": "sort", "description": "Orden: path, size o extension. Default: path.", "required": false, "default": "path"},
|
|
20
|
+
{"name": "group_by", "description": "Agrupación para mode=list: none, dir o extension. Default: none.", "required": false, "default": "none"},
|
|
21
|
+
{"name": "files_only", "description": "Si es true, imprime solo rutas, una por línea.", "required": false, "default": "false"},
|
|
22
|
+
{"name": "json", "description": "Si es true, emite JSON estructurado.", "required": false, "default": "false"},
|
|
23
|
+
{"name": "include_untracked", "description": "Si es true, incluye archivos no trackeados respetando .gitignore.", "required": false, "default": "false"}
|
|
24
|
+
],
|
|
25
|
+
"contract": {
|
|
26
|
+
"rules": [
|
|
27
|
+
"Listar archivos trackeados en el índice git, uno por línea o mediante resúmenes compactos, como reemplazo gobernado de ls/find.",
|
|
28
|
+
"Debe filtrar por path, pattern, include, exclude, extension y preset.",
|
|
29
|
+
"Debe limitar resultados mediante max_results para evitar output excesivo.",
|
|
30
|
+
"Debe soportar modos list, tree, summary, dirs y json.",
|
|
31
|
+
"Debe poder mostrar tamaños, ordenar por path/size/extension y agrupar por directorio o extensión.",
|
|
32
|
+
"Debe marcar archivos grandes y sugerir common.code-skeletonizer --path cuando aplique.",
|
|
33
|
+
"Debe emitir JSON parseable con total y files cuando json=true o mode=json.",
|
|
34
|
+
"Debe indicar total de archivos encontrados al final en salidas de texto."
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"bash_intercept": {
|
|
38
|
+
"pattern": "(^|[;&|]\\s*)ls(\\s|$)|\\bgit\\s+ls-files\\b",
|
|
39
|
+
"description": "Listar archivos trackeados en el índice git",
|
|
40
|
+
"reason": "ls/git ls-files directo puede producir inventarios crudos o inconsistentes. git.ls-files formatea, filtra y resume archivos desde Higpertext.",
|
|
41
|
+
"example": "htx task git.ls-files --path src --mode summary",
|
|
42
|
+
"has_dedicated_hook": true
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "git.rm",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Remueve archivos del índice git (git rm --cached) sin eliminarlos del sistema de archivos local. Útil para dejar de trackear archivos que deben ser ignorados.",
|
|
5
|
+
"entrypoint": "capabilities/git/scripts/git_rm.py",
|
|
6
|
+
"language": "python",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{
|
|
9
|
+
"name": "files",
|
|
10
|
+
"description": "Lista de archivos o patrones separados por comas a remover del índice (e.g. 'AGENTS.md,.higpertext/environment.json').",
|
|
11
|
+
"required": true
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"contract": {
|
|
15
|
+
"rules": [
|
|
16
|
+
"Ejecutar git rm --cached sobre cada archivo especificado.",
|
|
17
|
+
"Reportar cada archivo removido exitosamente.",
|
|
18
|
+
"Si un archivo no está trackeado, reportarlo como advertencia sin fallar.",
|
|
19
|
+
"Nunca eliminar archivos del sistema de archivos local (solo del índice)."
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"bash_intercept": {
|
|
23
|
+
"pattern": "\\bgit\\s+rm\\b",
|
|
24
|
+
"description": "Remover archivos del índice git",
|
|
25
|
+
"example": "htx task git.git-rm --files \"<archivo1,archivo2>\""
|
|
26
|
+
}
|
|
27
|
+
}
|
|
File without changes
|