hero_code_lib: unresolved imports from herolib_ai (AiClient, Model, PromptBuilderExt, AiError) block template builds #16
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_code#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Symptom
lab buildonhero_code(development) fails with E0432/E0433/E0425 fromhero_code_libimporting names thatherolib_aino longer exports:This is SDK drift:
herolib_aiwas reorganized and no longer exposesAiClient,Model,PromptBuilderExt,provider,AiErrorat the crate root.Why it matters
hero_codeis inlab::pod::pod_template::TEMPLATE_HERO_REPOS. Every template build fails this repo, sohero_code_serveris missing from/home/template/hero/bin/and from every managed users~/hero/bin/after rollout.Suggested fix
Check
herolib_ai's current public surface and updatehero_code_lib/src/editor/*.rsimports to use the new path(s). IfAiClientwas renamed or moved into a submodule (e.g.herolib_ai::client::Client), the rename needs to be reflected acrosshero_code_lib.Likely sibling change in
herolib_ai(probably part of the hero_lib repo) — find that commit and follow its migration notes if any.