tui: AI jobs integration — wire AiJobWorker for all AI features #94
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#94
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 loom-tui user, I want all AI-assisted features (prompt enhancement, tag generation, entity description, face detection, defect detection, region analysis) to work end-to-end, so that I can use AI to improve my workflow from the terminal.
Context
src/ai.rshas anAiJobtracker framework, and the spec defines 6 AI features triggered by keyboard shortcuts. But none of them callAiJobWorker. This ticket wires all AI features to loom-core's job system.Acceptance Criteria
Generate Screen
Ctrl+E— prompt enhancement: callsAiJobWorker, spinner in status bar, result replaces/appends to prompt (user-configurable behavior)Ctrl+T— tag generation: callsAiJobWorkeron current init image, appends tags to promptEntity Screen
Ctrl+D— entity description: callsAiJobWorker, fills description field with resultCtrl+F— face detection: callsAiJobWorkeron reference image, highlights face region in thumbnailGallery Detail View
Ctrl+X— defect detection: callsAiJobWorker, shows overlay with detected defectsCtrl+R— region analysis: callsAiJobWorker, shows overlay describing image regionsUX
Tests
AiJobstate machine transitions (pending → running → complete/failed)AiJobWorkerreturns result, screen state updates correctlyOut of Scope
References
src/ai.rs