cortico-world-feast 0.6.2 → 0.6.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # 更新日志
2
2
 
3
+ ## 0.6.3
4
+
5
+ **菜单纸皮肤 + 交互修复 + 菜品补到 800 道**
6
+
7
+ 三批一起上:面板换肤、修掉几个「用起来才发现」的交互毛病、菜品库补到 800 道(重点补饮品和甜品)。
8
+
9
+ **菜单纸皮肤(新)**
10
+
11
+ 面板换了一张「菜单纸」皮肤:菜名走衬线(宋体系),详情头部加一道双细线分栏,「端给她」等主按钮
12
+ 固定成印章红。底色用 `color-mix` 把暖色颜料按固定比例混进宿主主题色——浅底宿主自动出米纸色、
13
+ 深底宿主自动出暖炭色,不用写两套、宿主换主题也跟着变。骨架(类名、DOM、宿主主题变量)一概没动,
14
+ 所以 28 项面板测试一行没改。
15
+
16
+ **交互修复(覆盖交接第 4 节第 4 条的缺口)**
17
+
18
+ - **搜索框不再丢焦点**:`render()` 每次重挂把正在输入的 input 摘下,焦点就没了。现在重挂前后存/还焦点
19
+ 与光标位——菜单搜索框、一起吃饭的「记一笔」都保。另外加了一层输入法护栏(组词中 `isComposing`
20
+ 不重拉不重画),拼音打一半词不会再散。
21
+ - **点靠下的筛选 chip 不再跳回顶部**:套餐面板 `render()` 原来只救外层滚动,现在连 `.feast-pick`
22
+ 内层滚动一起存还。
23
+ - **死代码清掉**:`comboPack`(「收起」)文案、服务端 combo 面板无人调用的 `pick` 方法,一并删了。
24
+ - **套餐卡「改」「删」首次有测试**:改一桌(名字和勾选带进攒桌区、保存带 id)、删一桌(第一次只变
25
+ 确认话术、第二次才真删)两条路径钉上测试。测试 190 → 195 项。
26
+
27
+ **菜品库补到 800 道**
28
+
29
+ 新增 99 道,重点补两个短板:饮品从 19 道补到约 70 道,甜品从 63 道补到约 112 道,全球 27 个地域组
30
+ 均衡分布(泰式奶茶、玛萨拉茶、宇治抹茶、泡鲁达、爱玉冰、阿芙佳朵、帕丁顿、蕨饼、巧克力慕斯、
31
+ 红糖凉虾、香芋西米露……)。**没开新组**——饮品、甜品是 `category` 上的形态,不能拿来做菜系名,
32
+ 全部按地域归进已有菜系。
33
+
3
34
  ## 0.6.2
4
35
 
5
36
  **「主食」不再是一个菜系**
package/README.md CHANGED
@@ -5,15 +5,15 @@
5
5
  > **只想学会怎么用?** 看 [`GUIDE.md`](GUIDE.md):三分钟上手、三个面板怎么点、一起吃饭怎么玩、16 项配置、常见情况。
6
6
  > 这一份 README 讲的是"里面有什么、为什么这么做"。
7
7
 
8
- 701 道菜(28 个菜系组),每道都有九维口味分值、上桌的样子、香气、口感、余韵,和一段 40-400 字的实吃描写。她能自己按菜系挑着吃,主人也能从面板把一道菜端到她面前,或者整桌端过去;还能**和她一起吃一顿**——邀请她、互相喂一口,你吃了什么她也知道。**同一道菜每次吃到的都不一样**——温度、状态、配的那口都会变,所以连着吃三次不会说三遍同一句话。吃过什么、对什么反应、攒出来的口味画像跨天留着。饭点提醒默认开着,可以在配置里一键关掉。
8
+ 800 道菜(28 个菜系组),每道都有九维口味分值、上桌的样子、香气、口感、余韵,和一段 40-400 字的实吃描写。她能自己按菜系挑着吃,主人也能从面板把一道菜端到她面前,或者整桌端过去;还能**和她一起吃一顿**——邀请她、互相喂一口,你吃了什么她也知道。**同一道菜每次吃到的都不一样**——温度、状态、配的那口都会变,所以连着吃三次不会说三遍同一句话。吃过什么、对什么反应、攒出来的口味画像跨天留着。饭点提醒默认开着,可以在配置里一键关掉。
9
9
 
10
10
  ---
11
11
 
12
12
  ## 里面有什么
13
13
 
14
- **菜品库**:701 道,28 个菜系组。中餐 13 组 420 道、外餐 14 组 280 道,外加白米饭一道(单独归在「白饭」)。
14
+ **菜品库**:800 道,28 个菜系组。中餐 13 组 468 道、外餐 14 组 331 道,外加白米饭一道(单独归在「白饭」)。
15
15
 
16
- | 中餐(14 组 421 道) | 外餐(14 组 280 道) |
16
+ | 中餐(13 组 468 道) | 外餐(14 组 331 道) |
17
17
  | --- | --- |
18
18
  | 川菜、粤菜、江浙沪菜、北方菜、湘菜、西南菜、东北菜、西北菜、闽台菜、鲁菜、鄂菜、徽菜、赣菜、白饭(只有白米饭 1 道) | 日料、韩式、东南亚、南亚菜、墨西哥菜、拉美菜、意菜、法餐、南欧菜、中欧菜、东欧菜、英美菜、中东菜、非洲菜 |
19
19
 
package/dist/webui.js CHANGED
@@ -8,8 +8,11 @@
8
8
  *
9
9
  * 样式随面板注入 ctx.root:实测只靠 dist/webui.css 的面板在宿主里会吃不到,
10
10
  * 而宿主可能是普通 DOM 也可能是 shadow root,注入 <style> 两边都成立。
11
- * 颜色全部走宿主主题的自定义属性(--surface/--foreground/--border/--accent…),
11
+ * 颜色主要走宿主主题的自定义属性(--surface/--foreground/--border/--accent…),
12
12
  * 自定义属性会继承进 shadow root,所以明暗两套主题都不用自己写。
13
+ * 菜单纸皮肤(深浅宿主都生效):把暖色颜料按固定比例混进宿主题色
14
+ * (color-mix:浅底 → 米纸色,深底 → 暖炭色),菜名走衬线 --fe-serif
15
+ * 与暖调墨 --fe-title,「端给她」等主按钮用固定的印章红 --fe-seal。
13
16
  *
14
17
  * 两个面板:
15
18
  * menu —— 翻菜单、看九维口味和实吃描写、点「端给她」
@@ -17,7 +20,7 @@
17
20
  */
18
21
 
19
22
  const CSS = `
20
- .feast{--fe-line:var(--border,#e3e4e3);--fe-ink:var(--foreground,#1b1a1e);--fe-dim:var(--muted-foreground,#5c5c60);--fe-card:var(--surface,#fbfbfb);--fe-accent:var(--accent,#00a870);font:13px/1.6 var(--sans,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif);color:var(--fe-ink);padding:4px 2px 24px}
23
+ .feast{--fe-line:color-mix(in srgb,var(--border,#e3e4e3) 88%,#a08050);--fe-ink:var(--foreground,#1b1a1e);--fe-dim:var(--muted-foreground,#5c5c60);--fe-card:color-mix(in srgb,var(--surface,#fbfbfb) 90%,#c9a26a);--fe-accent:var(--accent,#00a870);--fe-seal:#a32d2d;--fe-title:color-mix(in srgb,var(--foreground,#1b1a1e) 92%,#c9a26a);--fe-serif:var(--font-serif,"Noto Serif SC","Songti SC","SimSun",serif);font:13px/1.6 var(--sans,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif);color:var(--fe-ink);padding:4px 2px 24px}
21
24
  .feast *{box-sizing:border-box}
22
25
  .feast-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:10px}
23
26
  .feast input,.feast select,.feast button{font:inherit;color:inherit;background:var(--fe-card);border:1px solid var(--fe-line);border-radius:var(--radius-sm,6px);padding:5px 9px;outline:none}
@@ -25,7 +28,7 @@ const CSS = `
25
28
  .feast-search{flex:1;min-width:150px}
26
29
  .feast button{cursor:pointer;transition:background .12s,border-color .12s}
27
30
  .feast button:hover{border-color:var(--fe-accent)}
28
- .feast-btn-primary{background:var(--fe-accent);border-color:var(--fe-accent);color:var(--on-accent,#fff);font-weight:600}
31
+ .feast-btn-primary{background:var(--fe-seal);border-color:var(--fe-seal);color:#fcebeb;font-weight:600}
29
32
  .feast-btn-primary:hover{filter:brightness(1.06)}
30
33
  .feast-btn-primary[disabled]{opacity:.55;cursor:default;filter:none}
31
34
  .feast-strip{border:1px solid var(--fe-line);border-left:3px solid var(--fe-accent);border-radius:var(--radius-sm,6px);padding:8px 11px;margin-bottom:12px;background:var(--fe-card);display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
@@ -37,15 +40,15 @@ const CSS = `
37
40
  .feast-card{text-align:left;border:1px solid var(--fe-line);border-radius:var(--radius-md,10px);background:var(--fe-card);padding:10px 12px;cursor:pointer;display:flex;flex-direction:column;gap:4px;transition:border-color .12s,transform .12s}
38
41
  .feast-card:hover{border-color:var(--fe-accent);transform:translateY(-1px)}
39
42
  .feast-card-h{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
40
- .feast-card-n{font-weight:600;font-size:14px}
43
+ .feast-card-n{font-family:var(--fe-serif);font-weight:600;font-size:14px;color:var(--fe-title)}
41
44
  .feast-card-m{color:var(--fe-dim);font-size:11.5px}
42
45
  .feast-card-s{color:var(--fe-dim);font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
43
46
  .feast-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:2px}
44
47
  .feast-tag{font-size:11px;padding:1px 6px;border-radius:999px;border:1px solid var(--fe-line);color:var(--fe-dim)}
45
48
  .feast-once{font-size:11px;color:var(--fe-accent);border:1px solid var(--fe-accent);border-radius:999px;padding:1px 6px;white-space:nowrap}
46
49
  .feast-detail{display:flex;flex-direction:column;gap:12px;max-width:760px}
47
- .feast-detail-h{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
48
- .feast-detail-n{font-size:19px;font-weight:600;line-height:1.3}
50
+ .feast-detail-h{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap;border-bottom:3px double var(--fe-line);padding-bottom:10px}
51
+ .feast-detail-n{font-family:var(--fe-serif);font-size:19px;font-weight:600;line-height:1.3;color:var(--fe-title)}
49
52
  .feast-detail-m{color:var(--fe-dim);font-size:12px;margin-top:2px}
50
53
  .feast-block{border:1px solid var(--fe-line);border-radius:var(--radius-md,10px);background:var(--fe-card);padding:10px 13px}
51
54
  .feast-block-t{font-size:11px;letter-spacing:.06em;color:var(--fe-dim);margin-bottom:6px;text-transform:uppercase}
@@ -80,7 +83,7 @@ const CSS = `
80
83
  .feast-combo-h:first-of-type{margin-top:4px}
81
84
  .feast-set{border:1px solid var(--fe-line);border-radius:var(--radius-md,10px);background:var(--fe-card);padding:10px 13px;display:flex;flex-direction:column;gap:7px}
82
85
  .feast-set-h{display:flex;justify-content:space-between;gap:10px;align-items:baseline;flex-wrap:wrap}
83
- .feast-set-n{font-weight:600;font-size:14px}
86
+ .feast-set-n{font-family:var(--fe-serif);font-weight:600;font-size:14px;color:var(--fe-title)}
84
87
  .feast-set-m{color:var(--fe-dim);font-size:11.5px}
85
88
  .feast-set-d{color:var(--fe-dim);font-size:12px;line-height:1.5}
86
89
  .feast-set-dishes{display:flex;gap:5px;flex-wrap:wrap}
@@ -164,7 +167,6 @@ const TABLE = {
164
167
  comboConfirmRemove: '再点一次就删掉',
165
168
  comboEdit: '改',
166
169
  comboEmpty: '这一桌配不出菜来。',
167
- comboPack: '收起',
168
170
  comboHint: '点菜卡选或取消;选好了存下来,下次直接端。',
169
171
  comboTable: '这一桌',
170
172
  comboLeft: (n, t) => `还剩 ${n} / ${t} 道`,
@@ -261,7 +263,6 @@ const TABLE = {
261
263
  comboConfirmRemove: 'Click again to delete',
262
264
  comboEdit: 'Edit',
263
265
  comboEmpty: 'Nothing resolves for this table.',
264
- comboPack: 'Collapse',
265
266
  comboHint: 'Tap cards to pick or unpick; save the table and serve it later.',
266
267
  comboTable: 'This table',
267
268
  comboLeft: (n, t) => `${n} of ${t} left`,
@@ -398,6 +399,37 @@ const menuPanel = {
398
399
  const wrap = el('div');
399
400
  root.appendChild(wrap);
400
401
 
402
+ /**
403
+ * 重拉会先摘掉整棵树再重画:正在打字的搜索框(或会话条的记一笔输入框)
404
+ * 会跟着被摘掉,焦点、光标、没提交的草稿全丢。这里把「刚才焦点在哪个位子、
405
+ * 光标在哪」存下来,重画完放回去。位子用节点身份认(searchNode/noteNode),
406
+ * 因为重画后节点是新的,身份对不上。
407
+ */
408
+ let focusSave = null;
409
+ let searchNode = null;
410
+ let noteNode = null;
411
+ /** 会话条「记一笔」没提交的草稿:结构变了整条重画时别把人打了一半的字吞掉。 */
412
+ let noteDraft = '';
413
+ const saveFocus = () => {
414
+ const a = document.activeElement;
415
+ // a 得先非空:谁都没聚焦时 a 是 null,而 searchNode 这时也是 null,
416
+ // null === null 会误判成"焦点在搜索框上"。
417
+ if (a && (a === searchNode || a === noteNode)) {
418
+ focusSave = { note: a === noteNode, start: a.selectionStart, end: a.selectionEnd };
419
+ }
420
+ };
421
+ const loadFocus = () => {
422
+ const f = focusSave;
423
+ focusSave = null;
424
+ if (!f) return;
425
+ const node = f.note ? noteNode : searchNode;
426
+ if (!node) return;
427
+ node.focus();
428
+ if (typeof f.start === 'number') {
429
+ try { node.setSelectionRange(f.start, f.end); } catch { /* 光标超界就算了 */ }
430
+ }
431
+ };
432
+
401
433
  /** 还剩几分钟(向上取整:不到一分钟也算"1 分钟",别显示 0)。 */
402
434
  function remainMin(p) {
403
435
  const ttl = Number(p?.ttlMin) || 30;
@@ -461,9 +493,17 @@ const menuPanel = {
461
493
  const bar = el('div', 'feast-together-bar');
462
494
  const note = el('input', 'feast-search');
463
495
  note.placeholder = t.togetherTakePh;
496
+ // 她那边一动(分了一口、先收了这顿)整条会重画:草稿存外面,重画带回来。
497
+ note.value = noteDraft;
498
+ note.oninput = () => { noteDraft = String(note.value ?? ''); };
499
+ noteNode = note;
464
500
  bar.appendChild(note);
465
501
  const say = el('button', null, t.togetherTake);
466
- say.onclick = () => void act('take', [{ note: String(note.value ?? '').trim() }]);
502
+ say.onclick = () => {
503
+ const text = String(note.value ?? '').trim();
504
+ noteDraft = ''; // 记下了就清草稿,重画后输入框跟着清空
505
+ void act('take', [{ note: text }]);
506
+ };
467
507
  bar.appendChild(say);
468
508
  box.appendChild(bar);
469
509
 
@@ -554,6 +594,7 @@ const menuPanel = {
554
594
  }
555
595
 
556
596
  async function load() {
597
+ saveFocus(); // 摘树之前存:一摘焦点就没了,事后想存也摸不到
557
598
  wrap.replaceChildren(el('div', 'feast-empty', t.loading));
558
599
  let data;
559
600
  try {
@@ -577,6 +618,7 @@ const menuPanel = {
577
618
  wrap.replaceChildren();
578
619
  pendingBox = null;
579
620
  togetherBox = null;
621
+ noteNode = null; // 会话条这一趟没画记一笔的话,别让恢复焦点摸到旧节点
580
622
 
581
623
  // 一起吃饭(会话条)放在工具条下面、等待条上面:
582
624
  // "我们一起吃" 比 "我端了东西给你" 更贴顶,两者同时存在时也读得通。
@@ -588,14 +630,21 @@ const menuPanel = {
588
630
  search.type = 'search';
589
631
  search.placeholder = t.search;
590
632
  search.value = state.filter.query ?? '';
633
+ searchNode = search;
591
634
  let timer = null;
592
- search.oninput = () => {
635
+ const queueSearch = () => {
593
636
  if (timer) clearTimeout(timer);
594
637
  timer = setTimeout(() => {
595
638
  state.filter.query = String(search.value ?? '').trim();
596
639
  void load();
597
640
  }, 260);
598
641
  };
642
+ search.oninput = (e) => {
643
+ // 输入法组词中别重拉:树一摘,组了一半的词当场散掉。
644
+ if (e.isComposing) return;
645
+ queueSearch();
646
+ };
647
+ search.addEventListener('compositionend', queueSearch);
599
648
  bar.appendChild(search);
600
649
 
601
650
  // 先形态,后菜系。菜系下拉跟着已选类别收窄——选了「汤羹」就不该再列「墨西哥菜」,
@@ -662,6 +711,7 @@ const menuPanel = {
662
711
 
663
712
  if (!data.items?.length) {
664
713
  wrap.appendChild(el('div', 'feast-empty', t.empty));
714
+ loadFocus();
665
715
  return;
666
716
  }
667
717
 
@@ -682,6 +732,7 @@ const menuPanel = {
682
732
  grid.appendChild(card);
683
733
  }
684
734
  wrap.appendChild(grid);
735
+ loadFocus(); // 重画完把焦点和光标放回搜索框(或会话条输入框)
685
736
  }
686
737
 
687
738
  async function openDetail(id) {
@@ -1113,7 +1164,16 @@ const comboPanel = {
1113
1164
  searchInput.className = 'feast-search';
1114
1165
  searchInput.placeholder = t.search;
1115
1166
  searchInput.value = build.q;
1116
- searchInput.oninput = () => { build.q = String(searchInput.value ?? '').trim(); render(); };
1167
+ searchInput.oninput = (e) => {
1168
+ // 组词中不重画:input 会被摘下再挂回,组了一半的词当场散掉。
1169
+ if (e.isComposing) return;
1170
+ build.q = String(searchInput.value ?? '').trim();
1171
+ render();
1172
+ };
1173
+ searchInput.addEventListener('compositionend', () => {
1174
+ build.q = String(searchInput.value ?? '').trim();
1175
+ render();
1176
+ });
1117
1177
 
1118
1178
  function buildZone() {
1119
1179
  const box = el('div', 'feast-build');
@@ -1255,6 +1315,14 @@ const comboPanel = {
1255
1315
 
1256
1316
  function render() {
1257
1317
  const scrollTop = wrap.scrollTop;
1318
+ // .feast-pick 自己是滚动容器:只救外层 wrap 的话,点靠下的 chip 会跳回列表顶。
1319
+ const pick = wrap.querySelector('.feast-pick');
1320
+ const pickScroll = pick ? pick.scrollTop : null;
1321
+ // 攒桌区的搜索框和名字框是常驻节点(每次重画重新挂回同一颗):摘下再挂回会丢
1322
+ // 焦点和光标,存的是节点本身,重画完放回去。
1323
+ const a = document.activeElement;
1324
+ const focusNode = (a === searchInput || a === nameInput) ? a : null;
1325
+ const focusSel = focusNode ? { start: focusNode.selectionStart, end: focusNode.selectionEnd } : null;
1258
1326
  wrap.replaceChildren();
1259
1327
 
1260
1328
  if (data?.pending) wrap.appendChild(pendingStrip(data.pending));
@@ -1276,6 +1344,14 @@ const comboPanel = {
1276
1344
  wrap.appendChild(el('div', 'feast-combo-h', t.comboBuild));
1277
1345
  wrap.appendChild(buildZone());
1278
1346
  wrap.scrollTop = scrollTop;
1347
+ const nextPick = wrap.querySelector('.feast-pick');
1348
+ if (nextPick && typeof pickScroll === 'number') nextPick.scrollTop = pickScroll;
1349
+ if (focusNode) {
1350
+ focusNode.focus();
1351
+ if (typeof focusSel?.start === 'number') {
1352
+ try { focusNode.setSelectionRange(focusSel.start, focusSel.end); } catch { /* 光标超界就算了 */ }
1353
+ }
1354
+ }
1279
1355
  }
1280
1356
 
1281
1357
  // ---- 启动 ------------------------------------------------------------
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cortico-world-feast",
3
- "version": "0.6.2",
4
- "description": "一桌菜 · 给 Coo 一张会端菜的桌子:701 道带九维口味、香气、口感与实吃描写的菜品(28 个菜系组),她能自己挑、主人能从面板端一道过去,也能整桌端过去(8 套内置套餐 + 自己攒桌),还能和她一起吃一顿、互相喂一口;同一道菜每次吃到的都不一样,吃过什么和口味画像跨天攒着;另有一套可开关的饭点提醒。",
3
+ "version": "0.6.3",
4
+ "description": "一桌菜 · 给 Coo 一张会端菜的桌子:800 道带九维口味、香气、口感与实吃描写的菜品(28 个菜系组),她能自己挑、主人能从面板端一道过去,也能整桌端过去(8 套内置套餐 + 自己攒桌),还能和她一起吃一顿、互相喂一口;同一道菜每次吃到的都不一样,吃过什么和口味画像跨天攒着;另有一套可开关的饭点提醒。",
5
5
  "license": "MIT",
6
6
  "author": "青",
7
7
  "repository": {
@@ -63,11 +63,11 @@
63
63
  "locales": {
64
64
  "zh": {
65
65
  "displayName": "一桌菜",
66
- "description": "给 Coo 一张会端菜的桌子:701 道菜(28 个菜系组),每道都有九维口味、香气、口感、余韵和一段实吃描写。她能自己按菜系挑,主人也能从面板把一道菜端到她面前,或者整桌端过去(8 套内置套餐,也能自己勾几道攒成一桌存下来);还能和她一起吃一顿:邀请她、互相喂一口,你吃了什么她也知道。同一道菜每次吃到的都不一样(温度、状态、配的那口会变),吃过什么、对什么反应、口味画像跨天攒着。饭点提醒默认开着,可以在配置里一键关掉。"
66
+ "description": "给 Coo 一张会端菜的桌子:800 道菜(28 个菜系组),每道都有九维口味、香气、口感、余韵和一段实吃描写。她能自己按菜系挑,主人也能从面板把一道菜端到她面前,或者整桌端过去(8 套内置套餐,也能自己勾几道攒成一桌存下来);还能和她一起吃一顿:邀请她、互相喂一口,你吃了什么她也知道。同一道菜每次吃到的都不一样(温度、状态、配的那口会变),吃过什么、对什么反应、口味画像跨天攒着。饭点提醒默认开着,可以在配置里一键关掉。"
67
67
  },
68
68
  "en": {
69
69
  "displayName": "Table",
70
- "description": "A table that serves food to your Coo: 701 dishes across 28 cuisines, each with a nine-axis flavour profile, aroma, texture, aftertaste and a full paragraph of how it actually eats. She can pick by cuisine, or you can put a dish down in front of her from the panel — or serve a whole table at once (8 built-in set meals, plus your own saved tables). You can also share a meal with her: invite her, feed each other a bite, and tell her what you are eating. The same dish never lands the same way twice, and what she ate, how it landed and her taste profile accumulate across days. Meal reminders are on by default and can be switched off in config."
70
+ "description": "A table that serves food to your Coo: 800 dishes across 28 cuisines, each with a nine-axis flavour profile, aroma, texture, aftertaste and a full paragraph of how it actually eats. She can pick by cuisine, or you can put a dish down in front of her from the panel — or serve a whole table at once (8 built-in set meals, plus your own saved tables). You can also share a meal with her: invite her, feed each other a bite, and tell her what you are eating. The same dish never lands the same way twice, and what she ate, how it landed and her taste profile accumulate across days. Meal reminders are on by default and can be switched off in config."
71
71
  }
72
72
  },
73
73
  "tags": [
@@ -522,5 +522,77 @@
522
522
  "报纸包",
523
523
  "配生洋葱"
524
524
  ]
525
+ },
526
+ {
527
+ "id": "hibiscus-tea",
528
+ "name": "洛神花茶",
529
+ "alias": "Hibiscus Tea",
530
+ "cuisine": "非洲菜",
531
+ "category": "饮品",
532
+ "region": "埃及/西非",
533
+ "ingredients": [
534
+ "洛神花",
535
+ "白糖",
536
+ "冰块"
537
+ ],
538
+ "method": "洛神花干加水煮出深红色汁,滤渣加糖,冰镇后加冰。",
539
+ "serving": "一杯深红的洛神花茶,冰凉,颜色鲜艳。",
540
+ "taste": {
541
+ "辣": 0,
542
+ "麻": 0,
543
+ "咸": 1,
544
+ "鲜": 4,
545
+ "甜": 40,
546
+ "酸": 26,
547
+ "苦": 4,
548
+ "油": 0,
549
+ "香": 22
550
+ },
551
+ "texture": "清亮顺口,微酸。",
552
+ "aroma": "洛神花的果香。",
553
+ "finish": "酸甜在嘴里留驻,花香回上来。",
554
+ "prose": "非洲的洛神花茶,洛神花干加水煮出深红色的汁,滤渣加糖,冰镇后喝。颜色鲜艳得像红宝石,酸味清爽,带着洛神花特有的果香。冰镇后凉气逼人,是非洲酷暑里的解渴良品。加糖后酸甜正好,一杯下去暑气全消。",
555
+ "keywords": [
556
+ "洛神花",
557
+ "冰镇",
558
+ "非洲"
559
+ ]
560
+ },
561
+ {
562
+ "id": "malva-pudding",
563
+ "name": "南非甜布丁",
564
+ "alias": "Malva Pudding",
565
+ "cuisine": "非洲菜",
566
+ "category": "甜品",
567
+ "region": "南非",
568
+ "ingredients": [
569
+ "面粉",
570
+ "鸡蛋",
571
+ "杏子酱",
572
+ "奶油",
573
+ "糖浆"
574
+ ],
575
+ "method": "面粉鸡蛋加杏子酱烤成软布丁,浇上热奶油糖浆,吸饱甜汁。",
576
+ "serving": "一块软糯的布丁,浇满奶油糖浆,甜香四溢。",
577
+ "taste": {
578
+ "辣": 0,
579
+ "麻": 0,
580
+ "咸": 2,
581
+ "鲜": 5,
582
+ "甜": 54,
583
+ "酸": 4,
584
+ "苦": 0,
585
+ "油": 16,
586
+ "香": 28
587
+ },
588
+ "texture": "布丁软糯湿润,浸满糖浆。",
589
+ "aroma": "杏子酱的果香和奶油香。",
590
+ "finish": "甜香在嘴里化开,奶香回上来。",
591
+ "prose": "南非的甜布丁,面粉鸡蛋加杏子酱烤成软布丁,浇上热的奶油糖浆,让布丁吸饱甜汁。布丁软糯湿润,杏子酱的果香混着奶油香,甜得发腻却上瘾。南非人冬天爱吃这个,配香草冰淇淋或奶油,是慰藉灵魂的甜点。",
592
+ "keywords": [
593
+ "杏子酱",
594
+ "糖浆",
595
+ "南非"
596
+ ]
525
597
  }
526
598
  ]
@@ -722,5 +722,110 @@
722
722
  "炼乳",
723
723
  "佛罗里达"
724
724
  ]
725
+ },
726
+ {
727
+ "id": "egg-cream",
728
+ "name": "蛋蜜汽水",
729
+ "alias": "Egg Cream",
730
+ "cuisine": "英美菜",
731
+ "category": "饮品",
732
+ "region": "美国纽约",
733
+ "ingredients": [
734
+ "苏打水",
735
+ "牛奶",
736
+ "巧克力糖浆"
737
+ ],
738
+ "method": "杯底放巧克力糖浆,加牛奶,冲入苏打水搅出泡沫。",
739
+ "serving": "一杯泡沫丰富的汽水,巧克力色和白色分层。",
740
+ "taste": {
741
+ "辣": 0,
742
+ "麻": 0,
743
+ "咸": 2,
744
+ "鲜": 5,
745
+ "甜": 44,
746
+ "酸": 0,
747
+ "苦": 8,
748
+ "油": 6,
749
+ "香": 24
750
+ },
751
+ "texture": "泡沫绵密,顺滑。",
752
+ "aroma": "巧克力和奶香。",
753
+ "finish": "巧克力香在嘴里留驻。",
754
+ "prose": "纽约的蛋蜜汽水,名字里有蛋,其实一点蛋都没有。杯底放巧克力糖浆,加牛奶,冲入苏打水,搅出绵密的泡沫。巧克力的甜混着奶香,苏打水的碳酸让口感清爽。这是纽约老派汽水店的味道,一杯下去,回到旧时光。",
755
+ "keywords": [
756
+ "苏打",
757
+ "巧克力",
758
+ "纽约"
759
+ ]
760
+ },
761
+ {
762
+ "id": "root-beer-float",
763
+ "name": "沙士冰淇淋",
764
+ "alias": "Root Beer Float",
765
+ "cuisine": "英美菜",
766
+ "category": "甜品",
767
+ "region": "美国",
768
+ "ingredients": [
769
+ "沙士汽水",
770
+ "香草冰淇淋",
771
+ "鲜奶油"
772
+ ],
773
+ "method": "香草冰淇淋球放进杯中,浇上冰镇的沙士汽水。",
774
+ "serving": "一杯香草冰淇淋,浇着冒泡的沙士汽水。",
775
+ "taste": {
776
+ "辣": 0,
777
+ "麻": 0,
778
+ "咸": 2,
779
+ "鲜": 4,
780
+ "甜": 50,
781
+ "酸": 0,
782
+ "苦": 6,
783
+ "油": 8,
784
+ "香": 26
785
+ },
786
+ "texture": "冰淇淋绵密,汽水气泡足。",
787
+ "aroma": "沙士的香和香草味。",
788
+ "finish": "沙士香和香草甜在嘴里留驻。",
789
+ "prose": "美国的沙士冰淇淋,一杯香草冰淇淋,浇上冰镇的沙士汽水。沙士那股特别的香味,混着香草冰淇淋的甜,气泡把两者搅在一起。吃一口,冰淇淋绵密,沙士汽水冰凉,甜里带一点特别的香。美式甜品的经典,简单却过瘾。",
790
+ "keywords": [
791
+ "沙士",
792
+ "冰淇淋",
793
+ "美国"
794
+ ]
795
+ },
796
+ {
797
+ "id": "milkshake",
798
+ "name": "奶昔",
799
+ "alias": "Milkshake",
800
+ "cuisine": "英美菜",
801
+ "category": "饮品",
802
+ "region": "美国",
803
+ "ingredients": [
804
+ "香草冰淇淋",
805
+ "牛奶",
806
+ "糖浆"
807
+ ],
808
+ "method": "香草冰淇淋和牛奶、糖浆一起搅打成浓稠奶昔。",
809
+ "serving": "一杯浓稠的奶昔,插着吸管,冒着凉气。",
810
+ "taste": {
811
+ "辣": 0,
812
+ "麻": 0,
813
+ "咸": 2,
814
+ "鲜": 5,
815
+ "甜": 54,
816
+ "酸": 0,
817
+ "苦": 0,
818
+ "油": 10,
819
+ "香": 28
820
+ },
821
+ "texture": "浓稠顺滑,入口即化。",
822
+ "aroma": "香草和奶香。",
823
+ "finish": "甜香在嘴里留驻,奶香回上来。",
824
+ "prose": "美国的奶昔,香草冰淇淋和牛奶、糖浆一起搅打成浓稠的奶昔。插上吸管,吸一口,浓稠的奶香和香草甜在嘴里化开。冰凉的奶昔,甜而不腻。美式快餐店的标配,配汉堡薯条,是美式甜点的代表。",
825
+ "keywords": [
826
+ "冰淇淋",
827
+ "奶昔",
828
+ "美国"
829
+ ]
725
830
  }
726
831
  ]
@@ -896,5 +896,76 @@
896
896
  "猪油",
897
897
  "趁热"
898
898
  ]
899
+ },
900
+ {
901
+ "id": "huizhou-tianjiu",
902
+ "name": "徽州甜酒",
903
+ "alias": "Huizhou Sweet Wine",
904
+ "cuisine": "徽菜",
905
+ "category": "饮品",
906
+ "region": "安徽黄山",
907
+ "ingredients": [
908
+ "糯米",
909
+ "甜酒曲",
910
+ "枸杞"
911
+ ],
912
+ "method": "糯米蒸熟拌甜酒曲,发酵出甜酒,兑水煮开,加枸杞。",
913
+ "serving": "一碗乳白的甜酒,飘着几粒枸杞,酒香扑鼻。",
914
+ "taste": {
915
+ "辣": 0,
916
+ "麻": 0,
917
+ "咸": 1,
918
+ "鲜": 5,
919
+ "甜": 42,
920
+ "酸": 6,
921
+ "苦": 0,
922
+ "油": 0,
923
+ "香": 22
924
+ },
925
+ "texture": "米粒软糯,汤水清甜。",
926
+ "aroma": "甜酒的酒香。",
927
+ "finish": "酒香在口腔留驻,微微回甜。",
928
+ "prose": "徽州的甜酒,糯米蒸熟发酵,酒香清甜。米粒软糯,汤水清甜,喝一口身上就暖了。徽州人冬天爱喝这个,暖胃又提神。枸杞浮在汤上,红红的一点,添了颜色。",
929
+ "keywords": [
930
+ "甜酒",
931
+ "暖胃",
932
+ "徽州"
933
+ ]
934
+ },
935
+ {
936
+ "id": "huizhou-shan",
937
+ "name": "黄山毛峰茶冻",
938
+ "alias": "Huangshan Tea Jelly",
939
+ "cuisine": "徽菜",
940
+ "category": "甜品",
941
+ "region": "安徽黄山",
942
+ "ingredients": [
943
+ "黄山毛峰",
944
+ "琼脂",
945
+ "蜂蜜",
946
+ "冰块"
947
+ ],
948
+ "method": "黄山毛峰泡出茶汤,加琼脂熬化,倒模放凉凝成茶冻。切块浇蜂蜜,加冰。",
949
+ "serving": "几块淡绿色的茶冻,浇着蜂蜜,铺着冰块。",
950
+ "taste": {
951
+ "辣": 0,
952
+ "麻": 0,
953
+ "咸": 0,
954
+ "鲜": 4,
955
+ "甜": 40,
956
+ "酸": 0,
957
+ "苦": 10,
958
+ "油": 0,
959
+ "香": 22
960
+ },
961
+ "texture": "茶冻滑嫩,入口带茶香。",
962
+ "aroma": "毛峰的清香和蜂蜜的甜。",
963
+ "finish": "茶香微苦回甘,蜂蜜甜味垫底。",
964
+ "prose": "用黄山毛峰做的茶冻,泡出清香的茶汤,凝成淡绿的冻。茶冻滑嫩,入口是毛峰的清香,带着一点微苦,浇上蜂蜜,苦甜交织。加冰一镇,凉气里都是茶香。这甜品清雅,不腻,适合夏天。",
965
+ "keywords": [
966
+ "毛峰",
967
+ "茶冻",
968
+ "清香"
969
+ ]
899
970
  }
900
971
  ]