kiwi/frontend
pyr0ball 9350719516
Some checks are pending
CI / Backend (Python) (push) Waiting to run
CI / Frontend (Vue) (push) Waiting to run
Mirror / mirror (push) Waiting to run
Release / release (push) Waiting to run
feat(recipes): LLM style classifier (#27) + cooked leftovers shelf-life (#112)
Style classifier (kiwi#27):
- app/services/recipe/style_classifier.py: LLM prompt with curated vocab,
  cf-orch/LLMRouter fallback, JSON + regex tag extraction
- POST /recipes/saved/{recipe_id}/classify-style: Paid/BYOK tier gate,
  fetches recipe from corpus, returns {suggested_tags:[...]}
- SaveRecipeModal.vue: "Suggest tags" button with loading state; merges
  LLM suggestions into existing tags without overwriting user's choices
- 403/empty list silently ignored — button is a no-op when tier not met

Cooked leftovers shelf-life (kiwi#112):
- app/services/leftovers_predictor.py: deterministic FDA/USDA lookup table
  with shortest-component-wins for proteins and dish-type override for
  assembled dishes; special entries for ceviche (2d, acid != heat),
  fermented/cured (kimchi 14d, confit/lardo 7d), soups, rice, pasta, etc.
- POST /recipes/{recipe_id}/leftovers: free tier, no gate
- RecipeDetailPanel.vue: shelf-life section appears after "I cooked this"
  with fridge/freeze days, freeze-by advice, per-instance dismiss; calm
  framing per no-panic UX policy
- LeftoversResponse Pydantic schema added to recipe.py
2026-04-25 23:18:16 -07:00
..
.vscode chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
public feat(pwa): add Progressive Web App support — installable to homescreen 2026-04-25 12:33:22 -07:00
src feat(recipes): LLM style classifier (#27) + cooked leftovers shelf-life (#112) 2026-04-25 23:18:16 -07:00
.env chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
.gitignore chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
index.html feat(pwa): add Progressive Web App support — installable to homescreen 2026-04-25 12:33:22 -07:00
package-lock.json feat(pwa): add Progressive Web App support — installable to homescreen 2026-04-25 12:33:22 -07:00
package.json feat(pwa): add Progressive Web App support — installable to homescreen 2026-04-25 12:33:22 -07:00
THEMING_SYSTEM.md chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
tsconfig.app.json feat(kiwi-fe): wire OrchUsagePill into RecipesView and Settings opt-in toggle 2026-04-14 15:51:34 -07:00
tsconfig.json chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
tsconfig.node.json chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
vite.config.ts fix(pwa): set start_url/scope from VITE_BASE_URL so install launches /kiwi/ not site root 2026-04-25 12:59:59 -07:00