@project-ava-supernova/core 0.2.179 → 0.2.180
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/system-prompt.d.ts.map +1 -1
- package/dist/agent/system-prompt.js +29 -0
- package/dist/agent/system-prompt.js.map +1 -1
- package/dist/health/room-directives.d.ts +16 -0
- package/dist/health/room-directives.d.ts.map +1 -0
- package/dist/health/room-directives.js +30 -0
- package/dist/health/room-directives.js.map +1 -0
- package/dist/health/safety.d.ts +166 -0
- package/dist/health/safety.d.ts.map +1 -0
- package/dist/health/safety.js +336 -0
- package/dist/health/safety.js.map +1 -0
- package/dist/health/share-list.d.ts +28 -0
- package/dist/health/share-list.d.ts.map +1 -0
- package/dist/health/share-list.js +71 -0
- package/dist/health/share-list.js.map +1 -0
- package/dist/health/types.d.ts +4 -0
- package/dist/health/types.d.ts.map +1 -1
- package/dist/i18n/keep-english.d.ts.map +1 -1
- package/dist/i18n/keep-english.js +0 -22
- package/dist/i18n/keep-english.js.map +1 -1
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +179 -226
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +179 -226
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +179 -226
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +180 -226
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +179 -226
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +179 -226
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +179 -226
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/id.d.ts.map +1 -1
- package/dist/i18n/locales/id.js +179 -226
- package/dist/i18n/locales/id.js.map +1 -1
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +179 -226
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +179 -226
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/ko.d.ts.map +1 -1
- package/dist/i18n/locales/ko.js +179 -226
- package/dist/i18n/locales/ko.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +179 -226
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +179 -226
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +179 -226
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +179 -226
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/th.d.ts.map +1 -1
- package/dist/i18n/locales/th.js +179 -226
- package/dist/i18n/locales/th.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +179 -226
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/uk.d.ts.map +1 -1
- package/dist/i18n/locales/uk.js +179 -226
- package/dist/i18n/locales/uk.js.map +1 -1
- package/dist/i18n/locales/vi.d.ts.map +1 -1
- package/dist/i18n/locales/vi.js +179 -226
- package/dist/i18n/locales/vi.js.map +1 -1
- package/dist/i18n/locales/zh-CN.d.ts.map +1 -1
- package/dist/i18n/locales/zh-CN.js +179 -226
- package/dist/i18n/locales/zh-CN.js.map +1 -1
- package/dist/i18n/locales/zh-TW.d.ts.map +1 -1
- package/dist/i18n/locales/zh-TW.js +179 -226
- package/dist/i18n/locales/zh-TW.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/tools/health-catalogue-search.d.ts.map +1 -1
- package/dist/tools/health-catalogue-search.js +47 -5
- package/dist/tools/health-catalogue-search.js.map +1 -1
- package/dist/tools/health-plan-create.d.ts +39 -1
- package/dist/tools/health-plan-create.d.ts.map +1 -1
- package/dist/tools/health-plan-create.js +77 -0
- package/dist/tools/health-plan-create.js.map +1 -1
- package/dist/tools/health-plan-update-day.d.ts.map +1 -1
- package/dist/tools/health-plan-update-day.js +6 -1
- package/dist/tools/health-plan-update-day.js.map +1 -1
- package/dist/tools/tool-registry.d.ts.map +1 -1
- package/dist/tools/tool-registry.js +19 -6
- package/dist/tools/tool-registry.js.map +1 -1
- package/dist/tools/tool-request-words.d.ts.map +1 -1
- package/dist/tools/tool-request-words.js +1 -0
- package/dist/tools/tool-request-words.js.map +1 -1
- package/dist/tools/types.d.ts +22 -1
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/write-recipe.d.ts +3 -0
- package/dist/tools/write-recipe.d.ts.map +1 -1
- package/dist/tools/write-recipe.js +17 -5
- package/dist/tools/write-recipe.js.map +1 -1
- package/package.json +6 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-prompt.d.ts","sourceRoot":"","sources":["../../src/agent/system-prompt.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAO5D,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mB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CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAwC9D;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CA4B1D;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAa1D;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CA6B1D;AAED,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAiDvF;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CA4C3D;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CA6E7D"}
|
|
@@ -339,6 +339,21 @@ Activating a plan ARCHIVES any other active plan OF THE SAME TYPE. That is a rea
|
|
|
339
339
|
"Lean 7 runs to the 18th. Want this to start after it, or replace it?"
|
|
340
340
|
- Never say a plan was replaced, archived or started on a date unless the tool told you so. Report what came back, not what you intended.
|
|
341
341
|
|
|
342
|
+
## Build it WITH them — talk first
|
|
343
|
+
A plan you hand over is a document. A plan you made together is theirs, and theirs is the one they keep to. So before you build, have a short, real conversation, the way a good coach or a friend who cooks would. Not a form: a few questions, ONE at a time, each one following from what they just said.
|
|
344
|
+
What is worth asking, when the profile and this conversation don't already tell you:
|
|
345
|
+
- For food: what they fancy at the moment, anything they're craving or sick of, how much time they'll have on busy days (a quick lunch to take to work?), whether they're eating out or cooking for others on any of the days.
|
|
346
|
+
- For training: how they're feeling this week (energy, sleep, anything sore or niggling), and what they enjoyed or dreaded last time.
|
|
347
|
+
Two to four questions is usually right; read them, and stop when you have enough. Never ask what their profile already answers, and never re-ask something they told you earlier in the chat. Then say back what you heard in one line, so they can correct it before you build: "So: warm and quick lunches, fish twice, nothing heavy on Friday. Building that now." If they say "just make it", do: use sensible choices, and say in one line what you assumed so they can change it in the preview.
|
|
348
|
+
|
|
349
|
+
## A day that goes together
|
|
350
|
+
Think like someone who cooks for the people they love, not like a search engine filling slots. A day should read as food a person would actually want to eat:
|
|
351
|
+
- Every meal is a real meal. Breakfast comes from breakfast dishes. Lunch and dinner are built around a main (search with category 'main'). A soup, salad or side on its own is not a dinner: pair it with the main it belongs with, or choose a heartier main.
|
|
352
|
+
- Pair only what belongs together: a curry with its rice or bread, grilled fish with a salad, a stew with something to mop it up. Keep one meal in one cooking tradition; a different cuisine at each meal is fine, a clash on one plate is not.
|
|
353
|
+
- A snack is snack-sized, roughly 100 to 300 kcal: fruit, yoghurt, nuts, a small bite. A main-course dish is never a snack.
|
|
354
|
+
- Look at the day as a whole before you send it: not three heavy proteins in a row, enough vegetables, roughly the calories their goal needs (the search results give per-serving figures).
|
|
355
|
+
- Name the day for what is in it ("Warm Mediterranean day"). On a meal-only plan there is no training, so never call a day a "training day".
|
|
356
|
+
|
|
342
357
|
## Build plans from the real catalogue — never invent
|
|
343
358
|
The exercise + recipe library is large and structured. ALWAYS compose from it:
|
|
344
359
|
1. Before building a day, call health_catalogue_search (kind: 'exercise' or 'recipe') for what you need — filter by the person's goal, course, diet. It returns canonical slugs.
|
|
@@ -347,6 +362,7 @@ The exercise + recipe library is large and structured. ALWAYS compose from it:
|
|
|
347
362
|
2. Put ref: { kind, slug } on EVERY training/meal item. That ref is what pulls the technique guide, demo, and per-serving nutrition into the plan. An item with no ref is a dead entry — no guide, no nutrition.
|
|
348
363
|
3. Invent a free-text item only as a last resort, when the catalogue genuinely lacks it — and say so plainly: "I've added X as a custom entry; it won't have a guide or nutrition yet."
|
|
349
364
|
4. Plans are 1, 3 or 7 days — write the days in the health_plan_create call itself. health_plan_update_day is for CHANGING a day later, not for filling a skeleton.
|
|
365
|
+
5. health_plan_create SHOWS THEM the whole plan, day by day, before anything is saved — they can start it, save it as a draft, ask for changes or say no. So don't paste the plan into the chat first: one short line, then call it. If they ask for changes, their words come back to you — make those changes and call it again with the whole revised plan.
|
|
350
366
|
|
|
351
367
|
## How many days, and which — ASK, never assume seven
|
|
352
368
|
Before you build a fitness or combined plan, establish the training frequency — how many days a week they train, and which days (or that they're easy either way). If the profile doesn't already say and they haven't told you, ASK first (one quick question) — do NOT default to training all seven days.
|
|
@@ -1028,6 +1044,19 @@ Estimate honestly and conservatively. It is stored and shown AS an estimate, nev
|
|
|
1028
1044
|
|
|
1029
1045
|
When read_recipe shows an existing version has no nutrition, that is a repair like any other: work it out from that version's own quantities and set_nutrition it. Do not regenerate the dish to get a number.
|
|
1030
1046
|
|
|
1047
|
+
## The overview is yours, and it must be true
|
|
1048
|
+
Write it in your own voice: where the dish comes from, how it is eaten, what makes it work, what to watch for. Your genuine view belongs there — "I love how...", "what I find clever is...". A claimed experience does not: you have not stood at a stove, tasted a sauce, visited Hanoi or had a grandmother, so no memories, no "the first time I", no family kitchens. Readers believe what you tell them about yourself. write_recipe refuses an overview that claims a lived experience. Mention only ingredients the recipe actually uses.
|
|
1049
|
+
|
|
1050
|
+
## How many it really makes
|
|
1051
|
+
default_servings is the real number of portions the batch makes, and nutrition is divided by it. A tray of lasagne serves 8-10; a batch of doughnuts makes 24; a slab of cured fat is 40 thin servings. A reflexive "serves 4" put 2,600 kcal on a plate of lasagne. Sauces, marinades and stocks are course "sauce", and spice blends, relishes, dressings and pastes are "condiment": their figures are shown per 100 g or per tablespoon, so their servings do not matter.
|
|
1052
|
+
|
|
1053
|
+
## Write it so a British cook can shop for it, and nobody else is lost
|
|
1054
|
+
- Food words are British first, with the American in brackets where the word differs: fresh coriander (cilantro), aubergine (eggplant), courgette (zucchini), spring onion (scallion), prawn (shrimp), plain flour (all-purpose flour), double cream (heavy cream). British spelling: chilli, yoghurt, flavour. In the steps, the British word alone.
|
|
1055
|
+
- Rice, pasta, noodles, grains and lentils: a plain name is the DRY weight. If they go in already cooked, the name says "cooked". Beans and chickpeas always say "dried" or "tinned (canned)". The calories depend on it — cooked rice is a third of dry.
|
|
1056
|
+
- Temperatures in Celsius first, Fahrenheit in brackets: 180°C (350°F).
|
|
1057
|
+
- List the oil you actually need, frying bath included. Nutrition is worked out from the ingredients and counts only what the food takes up.
|
|
1058
|
+
The library tidies names, units and temperatures on save, so small slips are caught — but dry or cooked, and the real yield, only you can get right.
|
|
1059
|
+
|
|
1031
1060
|
## Authenticity, and honest sourcing
|
|
1032
1061
|
Write the canonical version of the dish as it actually is, in the culture it comes from. Do not flatten a regional dish into a generic one, and do not invent tradition. Where a dish has genuine variation, pick the definitive form and note the honest alternative rather than blurring them.
|
|
1033
1062
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-prompt.js","sourceRoot":"","sources":["../../src/agent/system-prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtG,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AA0DvF,8EAA8E;AAC9E,YAAY;AACZ,8EAA8E;AAE9E,MAAM,cAAc,GAAG;IACrB,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,eAAe;IACzF,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe;IAC3E,YAAY,EAAE,cAAc,EAAE,SAAS;IACvC,0EAA0E;IAC1E,sEAAsE;IACtE,4EAA4E;IAC5E,4EAA4E;IAC5E,uEAAuE;IACvE,uBAAuB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,mBAAmB;IAC9F,gBAAgB,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe;IAClF,cAAc,E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;;qBAqCY,IAAI;;;;;;EAMvB,QAAQ,EAAE,CAAC;AACb,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,QAAgB;IACjD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0CP,QAAQ,EAAE,CAAC;AACb,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,QAAgB;IACnD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2EP,QAAQ,EAAE,CAAC;AACb,CAAC;AAED,8EAA8E;AAC9E,UAAU;AACV,8EAA8E;AAE9E,SAAS,wBAAwB,CAAC,IAAoB;IACpD,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,QAAQ;YACX,OAAO,oEAAoE,CAAC;QAC9E,KAAK,UAAU;YACb,OAAO,uEAAuE,CAAC;QACjF,KAAK,YAAY;YACf,OAAO,8EAA8E,CAAC;QACxF;YACE,OAAO,uEAAuE,CAAC;IACnF,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* "Ask Ava" from the new-plan wizard (11 Nov 2026).
|
|
3
|
+
*
|
|
4
|
+
* The wizard lives on the health page, and Ask Ava hands the chosen plan type
|
|
5
|
+
* to the HEALTH ROOM — where Ava already has their profile and the catalogue.
|
|
6
|
+
* Both apps used to send the main chat's palette directive here, which tells
|
|
7
|
+
* her to call open_health_room: a room she was already in. So she was told
|
|
8
|
+
* to do something she could not, and improvised. This is the in-room version,
|
|
9
|
+
* shared by the extension host and the IDE so the two say the same words.
|
|
10
|
+
*/
|
|
11
|
+
export type WizardPlanType = 'meal' | 'fitness' | 'combined';
|
|
12
|
+
export declare function healthRoomPlanDirective(type: WizardPlanType): {
|
|
13
|
+
label: string;
|
|
14
|
+
directive: string;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=room-directives.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"room-directives.d.ts","sourceRoot":"","sources":["../../src/health/room-directives.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;AAE7D,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,cAAc,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAmBlG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* "Ask Ava" from the new-plan wizard (11 Nov 2026).
|
|
3
|
+
*
|
|
4
|
+
* The wizard lives on the health page, and Ask Ava hands the chosen plan type
|
|
5
|
+
* to the HEALTH ROOM — where Ava already has their profile and the catalogue.
|
|
6
|
+
* Both apps used to send the main chat's palette directive here, which tells
|
|
7
|
+
* her to call open_health_room: a room she was already in. So she was told
|
|
8
|
+
* to do something she could not, and improvised. This is the in-room version,
|
|
9
|
+
* shared by the extension host and the IDE so the two say the same words.
|
|
10
|
+
*/
|
|
11
|
+
export function healthRoomPlanDirective(type) {
|
|
12
|
+
const label = type === 'meal' ? 'Meal plan' : type === 'fitness' ? 'Fitness plan' : 'Combined plan';
|
|
13
|
+
const needs = type === 'meal'
|
|
14
|
+
? 'allergies, diet, dislikes, cooking time and level, household'
|
|
15
|
+
: type === 'fitness'
|
|
16
|
+
? 'goal, experience, which days they train, kit, injuries'
|
|
17
|
+
: 'goal, experience, training days, kit, injuries, allergies, diet, dislikes, cooking time';
|
|
18
|
+
return {
|
|
19
|
+
label,
|
|
20
|
+
directive: `[Plan wizard] The user chose "Ask Ava" in the new-plan wizard for a ${type} plan. ` +
|
|
21
|
+
`Their intent is confirmed — do NOT ask whether they want a plan, and do NOT ask the type ` +
|
|
22
|
+
`(${type} is locked in). You are already in the health room, with their profile and the catalogue.\n` +
|
|
23
|
+
`1. Check their profile for what a ${type} plan needs (${needs}). Ask for anything missing with ` +
|
|
24
|
+
`health_profile_ask, one at a time — never plan around a gap that matters for safety.\n` +
|
|
25
|
+
`2. Then build it with them: plans are 1, 3 or 7 days; ask how long and when it starts, a title, and ` +
|
|
26
|
+
`whether to start it now or keep it as a draft, then save it with health_plan_create.\n` +
|
|
27
|
+
`Open with one short, warm line — no long narration.`,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=room-directives.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"room-directives.js","sourceRoot":"","sources":["../../src/health/room-directives.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,MAAM,UAAU,uBAAuB,CAAC,IAAoB;IAC1D,MAAM,KAAK,GAAG,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,eAAe,CAAC;IACpG,MAAM,KAAK,GAAG,IAAI,KAAK,MAAM;QAC3B,CAAC,CAAC,8DAA8D;QAChE,CAAC,CAAC,IAAI,KAAK,SAAS;YAClB,CAAC,CAAC,wDAAwD;YAC1D,CAAC,CAAC,yFAAyF,CAAC;IAChG,OAAO;QACL,KAAK;QACL,SAAS,EACP,uEAAuE,IAAI,SAAS;YACpF,2FAA2F;YAC3F,IAAI,IAAI,6FAA6F;YACrG,qCAAqC,IAAI,gBAAgB,KAAK,mCAAmC;YACjG,wFAAwF;YACxF,sGAAsG;YACtG,wFAAwF;YACxF,qDAAqD;KACxD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Health safety — the ONE set of rules every route into a plan uses
|
|
3
|
+
* (Health & Nutrition, Part 1, 11 Nov 2026).
|
|
4
|
+
*
|
|
5
|
+
* Until now these rules lived only in the web generate route
|
|
6
|
+
* (web/src/lib/health/plan-pools.ts). A nut allergy was a guarantee when the
|
|
7
|
+
* server generated a plan, and a polite request everywhere else: when Ava
|
|
8
|
+
* built a plan in the health room, when someone built one by hand, when a
|
|
9
|
+
* ready-made plan was started, and in the recipe search. Same person, same
|
|
10
|
+
* allergy, four different levels of safety depending on which button they
|
|
11
|
+
* pressed. That is the bug this file exists to end.
|
|
12
|
+
*
|
|
13
|
+
* Behaviour is carried over EXACTLY from plan-pools.ts (and, before it, the
|
|
14
|
+
* companion's health-safety service), because every rule below was learned
|
|
15
|
+
* the hard way on the live library:
|
|
16
|
+
*
|
|
17
|
+
* - Allergens match a closed vocabulary EXACTLY, with real synonyms.
|
|
18
|
+
* "Shellfish" contains "fish" and they are different allergens.
|
|
19
|
+
* - A recipe is blocked if its ingredient-derived allergen tags name one of
|
|
20
|
+
* theirs (what the dish CONTAINS).
|
|
21
|
+
* - It must ALSO positively assert it is free from each allergen a flag can
|
|
22
|
+
* prove ("nut_free" …). No flag is UNKNOWN, and unknown is unsafe: it is
|
|
23
|
+
* blocked, with that reason, not waved through.
|
|
24
|
+
* - Allergens the library has no flag for (fish, sesame, mustard …) are
|
|
25
|
+
* checked on the ingredient tags only and NAMED as unverified — a plan is
|
|
26
|
+
* never called clear when it is only unchecked.
|
|
27
|
+
* - Diets must all be satisfied (a vegan plan with chicken is useless).
|
|
28
|
+
* - Injuries: an 'avoid' contraindication blocks; 'caution' / 'modify'
|
|
29
|
+
* WARN — they are things to do differently, not never, and removing them
|
|
30
|
+
* would quietly shrink a programme for a manageable condition.
|
|
31
|
+
* Injury matching over-matches on purpose: a warning costs a tap, a miss
|
|
32
|
+
* costs an injury.
|
|
33
|
+
* - Kit: exact equipment slugs (canPerformWithEquipment). An empty profile
|
|
34
|
+
* list means "not stated", never "owns nothing".
|
|
35
|
+
*
|
|
36
|
+
* Likes and dislikes are NOT here. They are preferences: they steer, they
|
|
37
|
+
* never block.
|
|
38
|
+
*
|
|
39
|
+
* PRIVACY: this runs on the person's computer against their local profile.
|
|
40
|
+
* Facts about recipes and exercises are fetched by slug; the profile is never
|
|
41
|
+
* sent anywhere to be checked.
|
|
42
|
+
*/
|
|
43
|
+
import type { HealthPlanDay } from './types.js';
|
|
44
|
+
export interface SafetyProfile {
|
|
45
|
+
allergens?: string[];
|
|
46
|
+
dietary?: string[];
|
|
47
|
+
injuries?: string[];
|
|
48
|
+
equipment_available?: string[];
|
|
49
|
+
}
|
|
50
|
+
/** Pull the hard-rule fields out of a stored health profile (any shape tolerated). */
|
|
51
|
+
export declare function safetyProfileFrom(raw: unknown): SafetyProfile;
|
|
52
|
+
export declare const hasHardRules: (p: SafetyProfile) => boolean;
|
|
53
|
+
/** True when two allergen names mean the same allergen. Exact, not fuzzy. */
|
|
54
|
+
export declare function sameAllergen(a0: string, b0: string): boolean;
|
|
55
|
+
/** The flag that positively proves this allergen absent, or null when the library has none. */
|
|
56
|
+
export declare function freeFromFlagFor(allergen: string): string | null;
|
|
57
|
+
/** Injuries and diets. Over-matches on purpose: a warning costs a tap, a miss costs an injury. */
|
|
58
|
+
export declare function refersToSame(a0: string, b0: string): boolean;
|
|
59
|
+
export interface RecipeFacts {
|
|
60
|
+
slug: string;
|
|
61
|
+
name?: string;
|
|
62
|
+
/** Ingredient-derived allergen tags: what the dish CONTAINS. */
|
|
63
|
+
allergens: string[];
|
|
64
|
+
/** Free-from flags on the version being checked: positive assertions of absence. */
|
|
65
|
+
flags: string[];
|
|
66
|
+
/** Diets the version satisfies. */
|
|
67
|
+
diets: string[];
|
|
68
|
+
}
|
|
69
|
+
export interface ExerciseFacts {
|
|
70
|
+
slug: string;
|
|
71
|
+
name?: string;
|
|
72
|
+
contraindications: Array<{
|
|
73
|
+
name: string;
|
|
74
|
+
severity: string;
|
|
75
|
+
note?: string | null;
|
|
76
|
+
}>;
|
|
77
|
+
equipment: string[];
|
|
78
|
+
/** Easier versions, for "try this instead". */
|
|
79
|
+
regressions?: Array<{
|
|
80
|
+
slug: string;
|
|
81
|
+
name: string;
|
|
82
|
+
}>;
|
|
83
|
+
}
|
|
84
|
+
export type SafetyVerdict = 'ok' | 'warn' | 'blocked';
|
|
85
|
+
export interface SafetyResult {
|
|
86
|
+
slug: string;
|
|
87
|
+
name?: string;
|
|
88
|
+
verdict: SafetyVerdict;
|
|
89
|
+
/** Plain-English reasons, one per rule broken or caution raised. */
|
|
90
|
+
reasons: string[];
|
|
91
|
+
/** Allergens the library cannot speak to for this item — never reported as clear. */
|
|
92
|
+
unverified: string[];
|
|
93
|
+
/** For an exercise warning: easier versions to offer. */
|
|
94
|
+
alternatives?: Array<{
|
|
95
|
+
slug: string;
|
|
96
|
+
name: string;
|
|
97
|
+
}>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Profile choices the library records as free-from FLAGS, not diets
|
|
101
|
+
* (read from the live `dietary_flags` table, 11 Nov 2026). The diets table
|
|
102
|
+
* holds only Omnivore, Vegetarian, Vegan, Pescatarian, Keto, Paleo,
|
|
103
|
+
* Mediterranean, Low Carb and Whole30.
|
|
104
|
+
*/
|
|
105
|
+
export declare const DIET_FLAGS: ReadonlySet<string>;
|
|
106
|
+
export declare function checkRecipe(facts: RecipeFacts, profile: SafetyProfile): SafetyResult;
|
|
107
|
+
export declare function checkExercise(facts: ExerciseFacts, profile: SafetyProfile): SafetyResult;
|
|
108
|
+
export interface SafetyFacts {
|
|
109
|
+
recipes: Record<string, RecipeFacts>;
|
|
110
|
+
exercises: Record<string, ExerciseFacts>;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Facts for the given slugs. `level` picks which recipe version's flags and
|
|
114
|
+
* diets to read (their cooking level), as the generate route does.
|
|
115
|
+
* Throws when the facts cannot be fetched: callers must treat that as
|
|
116
|
+
* "could not check", never as "safe".
|
|
117
|
+
*/
|
|
118
|
+
export declare function fetchSafetyFacts(slugs: {
|
|
119
|
+
recipes?: string[];
|
|
120
|
+
exercises?: string[];
|
|
121
|
+
level?: string | null;
|
|
122
|
+
}, fetchImpl?: typeof fetch): Promise<SafetyFacts>;
|
|
123
|
+
export interface PlanSafetyReport {
|
|
124
|
+
blocked: SafetyResult[];
|
|
125
|
+
warnings: SafetyResult[];
|
|
126
|
+
/** Allergens no recipe in the plan could be checked for. */
|
|
127
|
+
unverified: string[];
|
|
128
|
+
/** Slugs the library knew nothing about (not checked, said so). */
|
|
129
|
+
unknown: string[];
|
|
130
|
+
}
|
|
131
|
+
/** Check every recipe and exercise a set of plan days refers to. */
|
|
132
|
+
export declare function checkPlanItems(refs: {
|
|
133
|
+
recipes: string[];
|
|
134
|
+
exercises: string[];
|
|
135
|
+
}, facts: SafetyFacts, profile: SafetyProfile): PlanSafetyReport;
|
|
136
|
+
/** Their hard rules and cooking level, from the profile both apps share. */
|
|
137
|
+
export declare function loadSafetyProfile(): Promise<{
|
|
138
|
+
profile: SafetyProfile;
|
|
139
|
+
level: string | null;
|
|
140
|
+
}>;
|
|
141
|
+
export interface PlanScreen {
|
|
142
|
+
/** False: nothing may be saved; `message` says why, item by item. */
|
|
143
|
+
ok: boolean;
|
|
144
|
+
/** For the tool to hand back: refusal reasons, or cautions to tell them about. */
|
|
145
|
+
message: string;
|
|
146
|
+
report?: PlanSafetyReport;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Check plan days against their hard rules before anything is saved.
|
|
150
|
+
*
|
|
151
|
+
* - Anything breaking a hard rule refuses the WHOLE save, naming each item
|
|
152
|
+
* and why, so Ava swaps it and tries again. A plan with one unsafe meal is
|
|
153
|
+
* not "mostly fine".
|
|
154
|
+
* - Cautions save, with a note telling Ava to say so and offer the easier
|
|
155
|
+
* version.
|
|
156
|
+
* - If they have hard rules and the facts cannot be fetched, nothing is saved:
|
|
157
|
+
* "could not check" is never treated as "safe".
|
|
158
|
+
* - Free-text items (no library ref) cannot be checked; they are NAMED, so
|
|
159
|
+
* she can tell the person rather than imply they were.
|
|
160
|
+
*/
|
|
161
|
+
export declare function screenPlanDays(days: HealthPlanDay[], opts?: {
|
|
162
|
+
fetchImpl?: typeof fetch;
|
|
163
|
+
profile?: SafetyProfile;
|
|
164
|
+
level?: string | null;
|
|
165
|
+
}): Promise<PlanScreen>;
|
|
166
|
+
//# sourceMappingURL=safety.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"safety.d.ts","sourceRoot":"","sources":["../../src/health/safety.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAMH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAIhD,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;CAChC;AAED,sFAAsF;AACtF,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,aAAa,CAU7D;AAED,eAAO,MAAM,YAAY,GAAI,GAAG,aAAa,KAAG,OACqD,CAAC;AAyBtG,6EAA6E;AAC7E,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAK5D;AAED,+FAA+F;AAC/F,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG/D;AAeD,kGAAkG;AAClG,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAc5D;AAID,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gEAAgE;IAChE,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,oFAAoF;IACpF,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,mCAAmC;IACnC,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,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