Skip to content

fix: repair Go identifiers and protobuf from rebrand#2

Open
zeekay wants to merge 1 commit intomainfrom
fix/rebrand-go-identifiers
Open

fix: repair Go identifiers and protobuf from rebrand#2
zeekay wants to merge 1 commit intomainfrom
fix/rebrand-go-identifiers

Conversation

@zeekay
Copy link
Copy Markdown
Member

@zeekay zeekay commented Feb 10, 2026

Summary

  • Renames all hanzo-agentsXxx Go variables to valid hanzoAgentsXxx identifiers (347 occurrences across 40 files)
  • Regenerates protobuf .pb.go with correct go_package path (github.com/hanzoai/agents/... not hanzoai/hanzo_agents/...)
  • Copies agentfield.ts types to hanzo-agents.ts so the UI TypeScript build succeeds
  • Adds gcc-x86-64-linux-gnu to Dockerfile for cross-compilation from arm64 hosts

Test plan

  • Docker image builds successfully for linux/amd64
  • Image pushed to ghcr.io/hanzoai/agents:latest
  • Deployed to hanzo-k8s cluster, pod healthy with postgres storage

The AgentField-to-HanzoAgents rebrand introduced invalid Go
identifiers (hanzo-agentsXxx with hyphens), corrupted protobuf
raw descriptors, and missing TypeScript type exports. This commit:

- Renames all `hanzo-agentsXxx` Go vars to `hanzoAgentsXxx`
- Regenerates protobuf .pb.go with correct go_package path
- Copies agentfield.ts types to hanzo-agents.ts for UI build
- Adds amd64 cross-compiler support to Dockerfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant