tui: entities — per-entity LoRA association editor #139
Labels
No labels
area:agents
area:ai
area:config
area:dashboard
area:design
area:design-review
area:devtools
area:entities
area:gallery
area:generate
area:image
area:infra
area:meta
area:model-browser
area:navigation
area:presets
area:security
area:sessions
area:settings
area:sharing
area:test
area:ux
area:webhook
area:workdir
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/loom#139
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?
User story
As a user binding LoRAs to my characters, I want to attach a list of
EntityLora(id + strength + trigger words) to each entity, so that selecting the entity on the Generate screen brings its LoRAs along automatically.Background
Entity::loras: Vec<EntityLora>already exists inloom-core(crates/loom-core/src/models/entity.rs:118) and the field is persisted, but the TUI entity editor doesn't expose it. GTK lets users attach LoRAs in the entity editor.Acceptance criteria
LoRA section in entity Detail
entity.loras(no LoRAs — press 'l' to add)Add LoRA
l(lowercase) from entity Detail opens the existing LoRA picker overlay (reuseLoraPickerOverlay)entity.loraswith default strength 1.0+/-adjusts strength of the focused LoRA in 0.05 stepsRemove LoRA
ddchord on the focused LoRA removes it (with Confirm overlay)Trigger words
LuaLoraInfo::trigger_wordsinto the newEntityLora.trigger_wordsTtogglePersistence
storage.save_entityimmediately on each mutationTests
Out of scope
References
crates/loom-core/src/models/entity.rs:118(Entity::loras,EntityLora)crates/loom-tui/src/app.rs(LoraPickerOverlay)crates/loom-gtk/src/pages/entity/mod.rs(GTK reference)