mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 11:01:09 +02:00
Closes the "blind Planner" gap: users can now attach context records to a Mission, and the Runner resolves them through the existing resolver registry before calling the Planner. The LLM sees the actual linked note content, not just the mission objective. - `data/ai/missions/input-index.ts` — sibling registry to input-resolvers. Resolvers turn a ref into prompt text (Runner path); indexers list candidates for the picker UI (create-form path). Same shape, different direction; keeps modules decoupled from the AI layer on both ends. - `data/ai/missions/default-resolvers.ts` — registers indexers for notes (title + content preview, capped at 200), kontext (the singleton doc), goals (title + progress). Co-located with the resolvers so the two halves stay in sync. - `components/ai/MissionInputPicker.svelte` — drop-in picker: module selector → candidate list → chip-style selected display. Binds directly to `MissionInputRef[]` so forms use it as a single control. - `/companion/missions` — picker wired into the create form between Konzept and Cadence; detail view's meta block now lists the linked inputs so users can see what context the Planner will see. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| calc/packages/shared | ||
| calendar | ||
| cards | ||
| chat | ||
| citycorners | ||
| contacts | ||
| context | ||
| docs | ||
| food | ||
| guides | ||
| inventory | ||
| mana | ||
| manavoxel | ||
| memoro | ||
| moodlit | ||
| mukke | ||
| news | ||
| photos | ||
| picture | ||
| plants | ||
| presi | ||
| questions | ||
| quotes/packages/content | ||
| skilltree | ||
| storage | ||
| times | ||
| todo | ||
| traces | ||
| uload | ||