Update main #25
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_router!25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 1: Template-based Python client generation from OpenRPC specs - python_codegen module: generate_python_client() and generate_python_interface() - Typed Python client with HTTP-over-Unix-socket transport (stdlib only) - Lightweight interface stubs for LLM context windows - Auto-regeneration on spec hash change during scanner refresh - Cache at ~/.hero/var/router/python/{service}_client.py - HTTP endpoints: GET /:service/python/client.py and interface.py - RPC methods: router.python_client, router.python_interface Phase 2: AI agent executor with LLM-driven code generation - agent module: Python venv management, script execution with 30s timeout - LLM integration via hero_aibroker Unix socket (ai.chat method) - Retry loop: execute → feed error to LLM → regenerate → retry - HTTP endpoint: POST /:service/agent {prompt, max_retries} - RPC method: router.agent.run - Response: {success, result, script, attempts, duration_ms, error} Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>