higpertext-cli 0.8.0__tar.gz
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.
- higpertext_cli-0.8.0/MANIFEST.in +6 -0
- higpertext_cli-0.8.0/PKG-INFO +35 -0
- higpertext_cli-0.8.0/README.md +160 -0
- higpertext_cli-0.8.0/pyproject.toml +77 -0
- higpertext_cli-0.8.0/requirements.txt +10 -0
- higpertext_cli-0.8.0/setup.cfg +4 -0
- higpertext_cli-0.8.0/setup.py +28 -0
- higpertext_cli-0.8.0/src/config/adapters_config.json +450 -0
- higpertext_cli-0.8.0/src/config/antigravity_agent_template.json +31 -0
- higpertext_cli-0.8.0/src/config/app_config.json +174 -0
- higpertext_cli-0.8.0/src/config/context_engine.json +33 -0
- higpertext_cli-0.8.0/src/config/environments/model_defaults.json +5 -0
- higpertext_cli-0.8.0/src/config/governance/branching_strategy.json +36 -0
- higpertext_cli-0.8.0/src/config/governance/deployment_gates.json +30 -0
- higpertext_cli-0.8.0/src/config/governance/guidelines_contract.json +54 -0
- higpertext_cli-0.8.0/src/config/governance/quality_gates.json +39 -0
- higpertext_cli-0.8.0/src/config/governance/section_rules.json +22 -0
- higpertext_cli-0.8.0/src/config/governance/security_guardrails.json +52 -0
- higpertext_cli-0.8.0/src/config/hooks/README.md +35 -0
- higpertext_cli-0.8.0/src/config/hooks/custom/test_output_limiter.json +9 -0
- higpertext_cli-0.8.0/src/config/hooks/global/session_prompt.json +9 -0
- higpertext_cli-0.8.0/src/config/htx_config.json +24 -0
- higpertext_cli-0.8.0/src/config/profile_learner.json +18 -0
- higpertext_cli-0.8.0/src/config/profiles/base_agent.json +40 -0
- higpertext_cli-0.8.0/src/config/profiles/base_auditor.json +19 -0
- higpertext_cli-0.8.0/src/config/profiles/base_developer.json +19 -0
- higpertext_cli-0.8.0/src/config/profiles/base_operator.json +16 -0
- higpertext_cli-0.8.0/src/config/profiles/global.json +33 -0
- higpertext_cli-0.8.0/src/config/profiles/software_developer.json +23 -0
- higpertext_cli-0.8.0/src/config/router_content.json +137 -0
- higpertext_cli-0.8.0/src/config/semantic_graph.json +66 -0
- higpertext_cli-0.8.0/src/config/workflows/ado_release_flow.json +38 -0
- higpertext_cli-0.8.0/src/config/workflows/docs-update.json +33 -0
- higpertext_cli-0.8.0/src/config/workflows/governance-check.yaml +26 -0
- higpertext_cli-0.8.0/src/config/workflows/guidelines-sync.json +40 -0
- higpertext_cli-0.8.0/src/config/workflows/higpertext-build.json +73 -0
- higpertext_cli-0.8.0/src/config/workflows/higpertext-plan.json +38 -0
- higpertext_cli-0.8.0/src/config/workflows/higpertext-review.json +41 -0
- higpertext_cli-0.8.0/src/config/workflows/pr-quality-check.json +56 -0
- higpertext_cli-0.8.0/src/config/workflows/quality-remediation.json +57 -0
- higpertext_cli-0.8.0/src/higpertext/__init__.py +18 -0
- higpertext_cli-0.8.0/src/higpertext/adapters/__init__.py +27 -0
- higpertext_cli-0.8.0/src/higpertext/adapters/adapter_utils.py +604 -0
- higpertext_cli-0.8.0/src/higpertext/adapters/claude_adapter/__init__.py +0 -0
- higpertext_cli-0.8.0/src/higpertext/adapters/claude_adapter/claude_adapter.py +154 -0
- higpertext_cli-0.8.0/src/higpertext/adapters/copilot_adapter/__init__.py +0 -0
- higpertext_cli-0.8.0/src/higpertext/adapters/copilot_adapter/copilot_adapter.py +231 -0
- higpertext_cli-0.8.0/src/higpertext/adapters/gemini_adapter/__init__.py +0 -0
- higpertext_cli-0.8.0/src/higpertext/adapters/gemini_adapter/gemini_adapter.py +211 -0
- higpertext_cli-0.8.0/src/higpertext/adapters/llm_formatter.py +46 -0
- higpertext_cli-0.8.0/src/higpertext/adapters/open_code_adapter/__init__.py +0 -0
- higpertext_cli-0.8.0/src/higpertext/adapters/open_code_adapter/open_code_adapter.py +480 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/capabilities_runner.py +216 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/agent-builder.json +54 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/agent-sync.json +34 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/code-skeletonizer.json +35 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/commit-report.json +42 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/context-assembler.json +37 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/context-budget-report.json +15 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/dep-manager.json +43 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/docs-sync.json +14 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/doctor.json +18 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/efficiency-meter.json +31 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/env-catalog.json +13 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/env-clean.json +14 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/env-logs.json +16 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/env-runner.json +23 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/env-status.json +13 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/env-stop.json +14 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/env-template.json +14 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/error-context-locator.json +23 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/eval-agent.json +33 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/file-map.json +17 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/governance-exception.json +54 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/graph-query.json +59 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/graph-rebuild.json +31 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/graph-visualize.json +37 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/grep-search.json +176 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/higpertext-tester.json +25 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/hook-health.json +19 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/hook-sync-check.json +19 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/hooks-manager.json +55 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/knowledge-asker.json +27 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/list-rules.json +27 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/llm-invoke.json +59 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/load-rules.json +37 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/memory-manager.json +65 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/quality-scan.json +21 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/quality-updater.json +35 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/rag-index.json +17 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/report-viewer.json +24 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/roadmap-report.json +37 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/_env_cli.py +65 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/agent_builder.py +60 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/agent_sync.py +56 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/ask_higpertext.py +38 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/code_skeletonizer.py +225 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/commit_report.py +134 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/context_assembler.py +70 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/context_budget_report.py +53 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/dep_manager.py +81 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/docs_sync.py +981 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/doctor.py +144 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/efficiency_meter.py +83 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/env_catalog.py +47 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/env_clean.py +30 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/env_logs.py +32 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/env_runner.py +53 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/env_status.py +38 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/env_stop.py +30 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/env_template.py +73 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/error_context_locator.py +138 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/eval_agent.py +80 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/file_map.py +95 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/governance_exception.py +116 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/graph_query.py +104 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/graph_rebuild.py +107 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/graph_visualize.py +76 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/grep_search.py +648 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/higpertext_tester.py +102 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/hook_health.py +149 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/hook_sync_check.py +134 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/hooks_manager.py +171 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/list_rules.py +175 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/llm_invoke.py +135 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/load_rules.py +379 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/memory_manager.py +210 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/presentation_engine.py +63 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/quality_scan.py +132 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/rag_index.py +39 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/report_viewer.py +106 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/roadmap_report.py +73 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/search_router.py +111 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/semantic_diff.py +166 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/semantic_search.py +43 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/session_control.py +136 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/smart_read.py +232 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/subagent_executor.py +143 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/sync_agents.py +353 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/task_decomposer.py +78 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/scripts/telemetry_report.py +36 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/search-router.json +24 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/semantic-diff.json +40 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/semantic-search.json +19 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/session-clean.json +20 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/session-start.json +44 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/smart-read.json +28 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/subagent-executor.json +25 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/sync-agents.json +32 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/task-decomposer.json +37 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/common/telemetry-report.json +23 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/git/__init__.py +0 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/git/committer.json +61 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/git/diff.json +33 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/git/ls-files.json +44 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/git/rm.json +27 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/git/scripts/__init__.py +0 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/git/scripts/commit_changes.py +1077 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/git/scripts/git_diff.py +171 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/git/scripts/git_ls_files.py +376 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/git/scripts/git_rm.py +62 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/security/k8s-auditor.json +33 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/security/scripts/k8s_auditor.py +307 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/security/scripts/secret_scanner.py +235 -0
- higpertext_cli-0.8.0/src/higpertext/capabilities/security/secret-scanner.json +32 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/__init__.py +28 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/_compat.py +27 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/__init__.py +1 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/_rules/__init__.py +0 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/_rules/bash_rules.py +635 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/_rules/context_engine_rule.py +79 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/_rules/context_rules.py +199 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/_rules/governance_adapter.py +72 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/_rules/profile_rules.json +25 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/_rules/quality_rules.py +86 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/_rules/security_rules.py +214 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/_rules/session_rules.py +316 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/_rules/telemetry_rules.py +121 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/audit_logger_hook.py +28 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/hook_bash_guard.py +101 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/hook_code_quality.py +48 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/hook_context_hint.py +46 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/hook_context_manager.py +44 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/hook_io.py +122 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/hook_loop_guard.py +182 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/hook_post_observer.py +54 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/hook_read_guard.py +85 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/hook_security_guard.py +81 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/hook_session_prompt.py +83 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/hook_session_stop.py +115 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/hook_utils.py +144 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/session_guard_hook.py +23 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/telemetry_utils.py +176 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/test_echo_hook.py +33 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/webhook_hook.py +54 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hook_tasks/workflow_runner_hook.py +49 -0
- higpertext_cli-0.8.0/src/higpertext/hooks/hooks_catalog.json +116 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/__init__.py +63 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/_compat.py +138 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/app_config.py +117 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/__init__.py +13 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/agent_registry.py +102 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/capability_manager.py +61 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/commit_reporter.py +247 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/context_builder.py +166 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/context_engine.py +409 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/engine.py +41 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/env_runtime.py +174 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/environment_manager.py +154 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/governance.py +192 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/hook_registry.py +102 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/hook_renderer.py +720 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/ports.py +49 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/profile_learner.py +358 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/profile_service.py +205 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/profile_services.py +6 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/profile_use_cases.py +93 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/rag_service.py +75 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/roadmap_reporter.py +178 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/semantic_engine.py +258 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/session_services.py +33 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/skill_hook_compiler.py +85 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/telemetry.py +326 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/application/workflow_manager.py +176 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/config_paths.py +66 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/__init__.py +12 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/agent_registry.py +23 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/commit_reporter.py +155 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/compilers.py +7 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/context_engine.py +319 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/entities.py +51 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/env_runtime.py +62 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/governance.py +198 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/hook_models.py +29 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/profile_learner.py +186 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/rag.py +70 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/repositories.py +8 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/roadmap_reporter.py +80 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/domain/semantic_engine.py +107 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/engine.py +42 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/htx_resolver.py +69 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/__init__.py +13 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/agent_registry.py +40 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cache/capability_cache.py +319 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/capability_helper.py +40 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/__init__.py +1 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/agent_commands.py +62 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/arguments.py +39 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/capability_command_builder.py +86 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/capability_task_service.py +234 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/cli_search.py +234 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/parameter_contracts.py +83 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/parser_builder.py +122 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/profile_commands.py +89 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/roadmap_commands.py +117 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/router.py +1110 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/session_commands.py +36 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/task_commands.py +23 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/task_result_reporter.py +56 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/cli/workflow_commands.py +25 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/compilers/__init__.py +3 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/compilers/factory.py +27 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/compilers/graph_compiler.py +20 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/compilers/guide_compiler.py +50 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/compilers/hook_compiler.py +69 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/compilers/playbook_compiler.py +154 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/context_engine.py +303 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/database/local_vector_store.py +99 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/deployment/__init__.py +1 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/deployment/resource_deployer.py +283 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/diagnostics/__init__.py +1 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/diagnostics/health.py +191 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/env_runtime.py +227 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/execution/__init__.py +1 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/execution/parallel.py +188 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/execution/resilience.py +155 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/file_repositories.py +213 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/governance.py +198 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/hook_config_loader.py +53 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/hook_webhook_dispatcher.py +61 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/hook_workflow_bridge.py +60 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/llm/__init__.py +6 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/llm/provider.py +46 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/llm/providers/__init__.py +0 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/llm/providers/anthropic_provider.py +94 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/llm/providers/gemini_embeddings.py +74 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/llm/providers/gemini_provider.py +101 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/llm/providers/ollama_provider.py +110 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/llm/providers/openai_provider.py +98 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/llm/registry.py +81 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/logger.py +303 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/output_store.py +70 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/parser/__init__.py +1 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/parser/code_chunker.py +144 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/parser/language/__init__.py +14 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/parser/language/base.py +41 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/parser/language/powershell_parser.py +35 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/parser/language/python_parser.py +98 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/parser/language/typescript_parser.py +91 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/parser/semantic_graph.py +409 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/presentation/__init__.py +1 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/presentation/html_renderer.py +137 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/presentation/markdown_renderer.py +84 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/presentation/markdown_report_renderer.py +97 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/profile_store.py +28 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/semantic_engine.py +289 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/telemetry_reporter.py +132 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/validation/__init__.py +1 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/infrastructure/validation/contract_validator.py +163 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/pkg_resources.py +38 -0
- higpertext_cli-0.8.0/src/higpertext/kernel/session_manager.py +319 -0
- higpertext_cli-0.8.0/src/higpertext/templates/env/generic-shell.yaml +21 -0
- higpertext_cli-0.8.0/src/higpertext/templates/env/node-vitest.yaml +27 -0
- higpertext_cli-0.8.0/src/higpertext/templates/env/python-pytest.yaml +29 -0
- higpertext_cli-0.8.0/src/higpertext/templates/html/commit_body.html +20 -0
- higpertext_cli-0.8.0/src/higpertext/templates/html/commit_diff.html +4 -0
- higpertext_cli-0.8.0/src/higpertext/templates/html/commit_index.html +29 -0
- higpertext_cli-0.8.0/src/higpertext/templates/html/commit_layer.html +11 -0
- higpertext_cli-0.8.0/src/higpertext/templates/html/commit_shell.html +28 -0
- higpertext_cli-0.8.0/src/higpertext/templates/html/graph_visualize.html +86 -0
- higpertext_cli-0.8.0/src/higpertext/templates/html/roadmap_body.html +12 -0
- higpertext_cli-0.8.0/src/higpertext/templates/html/roadmap_phase.html +5 -0
- higpertext_cli-0.8.0/src/higpertext/templates/html/roadmap_shell.html +29 -0
- higpertext_cli-0.8.0/src/higpertext/templates/markdown/commit_report.md +18 -0
- higpertext_cli-0.8.0/src/higpertext/templates/markdown/efficiency_report.md +12 -0
- higpertext_cli-0.8.0/src/higpertext/templates/markdown/roadmap_report.md +25 -0
- higpertext_cli-0.8.0/src/higpertext/templates/skills/best-practices.md +7 -0
- higpertext_cli-0.8.0/src/higpertext/templates/skills/clean-code.md +8 -0
- higpertext_cli-0.8.0/src/higpertext/templates/skills/ddd-standards.md +7 -0
- higpertext_cli-0.8.0/src/higpertext/templates/skills/tdd-practices.md +7 -0
- higpertext_cli-0.8.0/src/higpertext/templates/subagents/architect.md +7 -0
- higpertext_cli-0.8.0/src/higpertext/templates/subagents/test-engineer.md +7 -0
- higpertext_cli-0.8.0/src/higpertext/templates/workflows/build.json +23 -0
- higpertext_cli-0.8.0/src/higpertext/templates/workflows/compact.json +21 -0
- higpertext_cli-0.8.0/src/higpertext/templates/workflows/plan.json +59 -0
- higpertext_cli-0.8.0/src/higpertext/templates/workflows/review.json +26 -0
- higpertext_cli-0.8.0/src/higpertext/templates/workflows/spec.json +27 -0
- higpertext_cli-0.8.0/src/higpertext_cli.egg-info/PKG-INFO +35 -0
- higpertext_cli-0.8.0/src/higpertext_cli.egg-info/SOURCES.txt +341 -0
- higpertext_cli-0.8.0/src/higpertext_cli.egg-info/dependency_links.txt +1 -0
- higpertext_cli-0.8.0/src/higpertext_cli.egg-info/entry_points.txt +2 -0
- higpertext_cli-0.8.0/src/higpertext_cli.egg-info/requires.txt +21 -0
- higpertext_cli-0.8.0/src/higpertext_cli.egg-info/top_level.txt +2 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
recursive-include src/higpertext/capabilities *.json *.sh *.md
|
|
2
|
+
recursive-include src/higpertext/templates *.json *.md *.yaml
|
|
3
|
+
recursive-include src/higpertext/hooks *.json *.yaml
|
|
4
|
+
recursive-include src/config *.yaml *.yml *.json *.md
|
|
5
|
+
recursive-include src/workflows *.yaml *.yml *.json
|
|
6
|
+
include requirements.txt
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: higpertext-cli
|
|
3
|
+
Version: 0.8.0
|
|
4
|
+
Summary: higpertext Engine — LLM-powered terminal agent framework
|
|
5
|
+
Author-email: Angel Ortega <codenodehg@gmail.com>
|
|
6
|
+
License: Proprietary
|
|
7
|
+
Project-URL: Homepage, https://github.com/aomerge/higpertext
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
18
|
+
Requires-Dist: requests>=2.28.0
|
|
19
|
+
Requires-Dist: urllib3>=1.26.0
|
|
20
|
+
Requires-Dist: pyyaml>=6.0
|
|
21
|
+
Requires-Dist: pydantic>=2.0.0
|
|
22
|
+
Requires-Dist: rich>=13.0.0
|
|
23
|
+
Requires-Dist: tqdm>=4.65.0
|
|
24
|
+
Provides-Extra: gemini
|
|
25
|
+
Requires-Dist: google-generativeai>=0.5.0; extra == "gemini"
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
28
|
+
Requires-Dist: pytest-mock>=3.10.0; extra == "dev"
|
|
29
|
+
Requires-Dist: pytest-cov>=5.0.0; extra == "dev"
|
|
30
|
+
Requires-Dist: flake8>=7.0.0; extra == "dev"
|
|
31
|
+
Requires-Dist: pylint>=4.0.0; extra == "dev"
|
|
32
|
+
Requires-Dist: bandit>=1.7.0; extra == "dev"
|
|
33
|
+
Requires-Dist: autopep8>=2.0.0; extra == "dev"
|
|
34
|
+
Requires-Dist: isort>=5.0.0; extra == "dev"
|
|
35
|
+
Requires-Dist: radon>=6.0.0; extra == "dev"
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# higpertext Engine
|
|
2
|
+
|
|
3
|
+
**Framework de gobernanza activa para agentes IA.**
|
|
4
|
+
|
|
5
|
+
higpertext controla el comportamiento de los asistentes IA (Claude, Gemini, OpenCode, Copilot) a través de perfiles, capacidades y hooks de runtime — no prompts. El agente no puede salirse de los rieles definidos por tu gobernanza.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Instalación
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pip install higpertext-cli
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Verifica que el CLI está disponible:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
htx --help
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Concepto central
|
|
24
|
+
|
|
25
|
+
Un **perfil** define qué puede hacer el agente, qué está prohibido, y cómo debe comportarse. Los **hooks** aplican esas reglas en tiempo real — interceptan comandos y redirigen al agente a las capacidades correctas.
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
tu-agente/
|
|
29
|
+
├── src/config/profiles/software_developer.json ← quién es el agente
|
|
30
|
+
├── src/capabilities/ ← qué puede hacer
|
|
31
|
+
└── src/templates/skills/ ← conocimiento especializado
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
El motor es neutro — los perfiles y capacidades viven en tu agente externo.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Inicio rápido
|
|
39
|
+
|
|
40
|
+
### 1. Inicializa un workspace
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
mkdir mi-proyecto && cd mi-proyecto
|
|
44
|
+
htx agent init --profile global --assistant claude
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### 2. Instala un perfil externo
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
htx profile install software_developer --source /ruta/a/tu-agente
|
|
51
|
+
htx profile load software_developer --assistant claude
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### 3. Ejecuta una capacidad
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
htx task common.grep-search --pattern "class.*Service" --path src/
|
|
58
|
+
htx task git.committer --message "feat(auth): add JWT validation"
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### 4. Corre un workflow
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
htx workflow run higpertext-build
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Crear tu propio agente
|
|
70
|
+
|
|
71
|
+
Un agente externo es un repositorio con esta estructura mínima:
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
mi-agente/
|
|
75
|
+
└── src/
|
|
76
|
+
├── config/
|
|
77
|
+
│ └── profiles/
|
|
78
|
+
│ └── mi_perfil.json
|
|
79
|
+
├── capabilities/
|
|
80
|
+
│ └── mi_namespace/
|
|
81
|
+
│ ├── mi-capability.json
|
|
82
|
+
│ └── scripts/
|
|
83
|
+
│ └── mi_script.py
|
|
84
|
+
└── templates/
|
|
85
|
+
└── skills/
|
|
86
|
+
└── mi-skill/
|
|
87
|
+
└── skill.json
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
**Perfil mínimo** (`src/config/profiles/mi_perfil.json`):
|
|
91
|
+
|
|
92
|
+
```json
|
|
93
|
+
{
|
|
94
|
+
"name": "mi_perfil",
|
|
95
|
+
"description": "Mi agente personalizado",
|
|
96
|
+
"extends": "base_developer",
|
|
97
|
+
"capabilities": ["mi_namespace.mi-capability"],
|
|
98
|
+
"session_skills": [],
|
|
99
|
+
"session_subagents": []
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Instálalo:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
htx profile install mi_perfil --source /ruta/a/mi-agente
|
|
107
|
+
htx profile load mi_perfil --assistant claude
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Asistentes soportados
|
|
113
|
+
|
|
114
|
+
| Asistente | Configuración generada |
|
|
115
|
+
|-----------|----------------------|
|
|
116
|
+
| Claude Code | `.claude/rules/`, `.claude/commands/`, hooks nativos |
|
|
117
|
+
| Gemini | `GEMINI.md`, `.gemini/rules/` |
|
|
118
|
+
| OpenCode | `AGENTS.md`, `.opencode/rules/`, `.opencode/agents/` |
|
|
119
|
+
| GitHub Copilot | `.github/copilot-instructions.md`, `.github/instructions/` |
|
|
120
|
+
| Antigravity | `AGENTS.md`, `.agents/rules/` |
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Providers LLM
|
|
125
|
+
|
|
126
|
+
El motor no requiere ningún SDK de LLM instalado. Instala solo lo que necesitas:
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
pip install higpertext-cli[gemini] # Google Gemini
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Anthropic, OpenAI y Ollama se integran via variables de entorno — sin dependencias adicionales.
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Comandos principales
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# Perfiles
|
|
140
|
+
htx profile load <nombre> --assistant <claude|gemini|opencode>
|
|
141
|
+
htx profile install <nombre> --source <path>
|
|
142
|
+
htx profile validate <nombre>
|
|
143
|
+
|
|
144
|
+
# Capacidades
|
|
145
|
+
htx task <namespace.capability> --<param> <valor>
|
|
146
|
+
htx task common.list-rules # ver capacidades disponibles
|
|
147
|
+
|
|
148
|
+
# Workflows
|
|
149
|
+
htx workflow run <nombre>
|
|
150
|
+
|
|
151
|
+
# Diagnóstico
|
|
152
|
+
htx task common.doctor
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## Requisitos
|
|
158
|
+
|
|
159
|
+
- Python >= 3.10
|
|
160
|
+
- Un asistente IA compatible (Claude Code, OpenCode, Gemini CLI, etc.)
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel", "build"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[project]
|
|
7
|
+
name = "higpertext-cli"
|
|
8
|
+
authors = [{name = "Angel Ortega", email = "codenodehg@gmail.com"}]
|
|
9
|
+
version = "0.8.0"
|
|
10
|
+
description = "higpertext Engine — LLM-powered terminal agent framework"
|
|
11
|
+
requires-python = ">=3.10"
|
|
12
|
+
license = {text = "Proprietary"}
|
|
13
|
+
classifiers = [
|
|
14
|
+
"Programming Language :: Python :: 3",
|
|
15
|
+
"Programming Language :: Python :: 3.10",
|
|
16
|
+
"Programming Language :: Python :: 3.11",
|
|
17
|
+
"Programming Language :: Python :: 3.12",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
"Development Status :: 4 - Beta",
|
|
20
|
+
"Intended Audience :: Developers",
|
|
21
|
+
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
|
22
|
+
]
|
|
23
|
+
dependencies = [
|
|
24
|
+
"python-dotenv>=1.0.0",
|
|
25
|
+
"requests>=2.28.0",
|
|
26
|
+
"urllib3>=1.26.0",
|
|
27
|
+
"pyyaml>=6.0",
|
|
28
|
+
"pydantic>=2.0.0",
|
|
29
|
+
"rich>=13.0.0",
|
|
30
|
+
"tqdm>=4.65.0",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[project.optional-dependencies]
|
|
34
|
+
gemini = [
|
|
35
|
+
"google-generativeai>=0.5.0",
|
|
36
|
+
]
|
|
37
|
+
dev = [
|
|
38
|
+
"pytest>=8.0.0",
|
|
39
|
+
"pytest-mock>=3.10.0",
|
|
40
|
+
"pytest-cov>=5.0.0",
|
|
41
|
+
"flake8>=7.0.0",
|
|
42
|
+
"pylint>=4.0.0",
|
|
43
|
+
"bandit>=1.7.0",
|
|
44
|
+
"autopep8>=2.0.0",
|
|
45
|
+
"isort>=5.0.0",
|
|
46
|
+
"radon>=6.0.0",
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
[project.scripts]
|
|
50
|
+
htx = "higpertext.kernel.infrastructure.cli.router:main"
|
|
51
|
+
|
|
52
|
+
[project.urls]
|
|
53
|
+
Homepage = "https://github.com/aomerge/higpertext"
|
|
54
|
+
|
|
55
|
+
[tool.setuptools.packages.find]
|
|
56
|
+
where = ["src"]
|
|
57
|
+
exclude = ["tests*", "*.tests*"]
|
|
58
|
+
|
|
59
|
+
[tool.setuptools.package-data]
|
|
60
|
+
"*" = [
|
|
61
|
+
"capabilities/**/*.json",
|
|
62
|
+
"capabilities/**/*.sh",
|
|
63
|
+
"capabilities/**/*.md",
|
|
64
|
+
"config/**/*",
|
|
65
|
+
"workflows/**/*",
|
|
66
|
+
"templates/**/*",
|
|
67
|
+
"hooks/**/*.json",
|
|
68
|
+
"hooks/**/*.yaml",
|
|
69
|
+
"hooks/hooks_catalog.json",
|
|
70
|
+
]
|
|
71
|
+
|
|
72
|
+
[tool.pytest.ini_options]
|
|
73
|
+
addopts = "-q --tb=short"
|
|
74
|
+
|
|
75
|
+
[tool.black]
|
|
76
|
+
line-length = 100
|
|
77
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Dependency source of truth is pyproject.toml.
|
|
2
|
+
# Runtime deps: [project] dependencies.
|
|
3
|
+
# Dev/test/lint deps: [project.optional-dependencies] dev.
|
|
4
|
+
#
|
|
5
|
+
# Install for local development:
|
|
6
|
+
# pip install -e .[dev]
|
|
7
|
+
#
|
|
8
|
+
# Install for production/runtime only:
|
|
9
|
+
# pip install .
|
|
10
|
+
-e .[dev]
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Build entrypoint — setuptools invoca este archivo automáticamente.
|
|
3
|
+
Instala src/core y src/capabilities como código Python puro sin Cython.
|
|
4
|
+
"""
|
|
5
|
+
from setuptools import setup, find_packages
|
|
6
|
+
|
|
7
|
+
setup(
|
|
8
|
+
packages=find_packages("src") + ["higpertext_data"],
|
|
9
|
+
package_dir={"": "src", "higpertext_data": "src"},
|
|
10
|
+
package_data={
|
|
11
|
+
"higpertext_data": [
|
|
12
|
+
"capabilities/**/*.json",
|
|
13
|
+
"capabilities/**/*.sh",
|
|
14
|
+
"capabilities/**/*.md",
|
|
15
|
+
"config/**/*",
|
|
16
|
+
"workflows/**/*",
|
|
17
|
+
"hooks/**/*.yaml",
|
|
18
|
+
"hooks/**/*.yml",
|
|
19
|
+
"hooks/**/*.json",
|
|
20
|
+
"core/templates/**/*",
|
|
21
|
+
"higpertext/templates/**/*",
|
|
22
|
+
"higpertext/capabilities/**/*.json",
|
|
23
|
+
"higpertext/capabilities/**/*.sh",
|
|
24
|
+
"higpertext/capabilities/**/*.md",
|
|
25
|
+
"higpertext/hooks/hooks_catalog.json",
|
|
26
|
+
],
|
|
27
|
+
},
|
|
28
|
+
)
|