cortico-world-feast 0.7.5 → 0.8.0

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,51 @@
1
1
  # 更新日志
2
2
 
3
+ ## 0.8.0
4
+
5
+ **她自己的时间:一个判据、两种说法;外加「她能做的事」**
6
+
7
+ 这一版把「自由时间」从「五个旋钮的配额机」改成「一张时刻表 + 由日程决定的说法」,再给日程加一张主人能填的「能做的事」清单。
8
+
9
+ **同一个人,不再说两句话**
10
+
11
+ 0.7.x 里「21:00 是她自己的时间」是配置字符串宣布的,日程只有否决权:她说在上班就静默跳过、面板事后解释。而 `feast_life_start` 和面板「现在就想动」这两条**她主动问**的路根本不查日程——凌晨三点点一下,它也说「现在就是你自己的时间」。
12
+
13
+ - **判据收成一处**:`src/life/kind.js` 的 `classifyItem` 返回 `asleep / busy / free / none`;睡觉词是占用词的子集,先判睡再判忙(「午睡」不会被当成 busy 去报备)。以前三张正则、三个私有方法每拍把同一段查三遍。
14
+ - **说什么跟着日程走**:空着 → 「现在是你自己的时间」+ 例子;睡着 → 永远不叫;上班/通勤/开会 → 看 `lifeFreeBusyCall`;还没写日程 → 「有点空档」。
15
+ - **她主动问的也不撒谎**:`feast_life_start` / 面板 `freeStart` 走同一个判据,上班时段照实说「这会儿你在上班」,例子照给(她问了就给全),想动照样能动。
16
+
17
+ **删三个键,加一个开关**
18
+
19
+ - 删 `lifeFreeGoal`:它数的是**记录**、管的是**呼叫**,真实效果是越投入越早被掐——下午认真做了三件事,晚上 21:00 那档被静默吞掉。`lifeFreeSlots` 的点数本来就是上限。
20
+ - 删 `lifeFreeRetryMin` / `lifeFreeMaxRetries`:正文早就写着「今天也不催你第二次」,代码却会再叫一次。催促由下一档来做——一个时刻表不需要再内建一个闹钟。
21
+ - 加 `lifeFreeBusyCall`(默认关):拍照报备那种六档用法(08:10 / 10:30 / 12:20 / 15:00 / 18:30 / 21:30)打开它就是六档全到,措辞自动换成报备;关着时上班那几档不叫、面板留一行「没叫:她那会儿在上班」。**睡觉永远不叫**,这一项不管睡不睡。
22
+ - `lifeFreeGraceMin` 留着:它真的在讲「应用刚启动的追赶窗口」,和配额无关。
23
+
24
+ **能做的事(`lifeDoings`)**
25
+
26
+ 她写出来的日程常常是「在家玩」「自己的时间」这种空白。现在可以按日型给她备一张单子:
27
+
28
+ ```
29
+ 上班日:
30
+ - 在公司写方案,被叫去开会
31
+ - 午休找主人聊两句(qq 发消息)
32
+ 休息日:
33
+ - 追番(bvp_watch_now mode="text")
34
+ ```
35
+
36
+ 一行「日型名:」开一节(认名字也认 id),一行一件;没写日型的行对所有日子通用。它进「请她写明天」那一条的正文,措辞写死「从里面挑也行、自己另想也行、一件都不挑也行」——是例子不是待办,不进系统前缀。留空 = 不生效,跟以前一样由她自己编。扩展工具要写清工具名和调用写法,而且**只写你真装了的**(这里不自动检测)。
37
+
38
+ **顺手修好的**
39
+
40
+ - `install.ps1` 漏了 `lifeFreeFunOn` / `lifeFreeMapOn`(0.7.4 / 0.7.5 漏的),`check-install` 一直是红的;现在带上,并把「39 项」改成实际数(40 项)。
41
+ - `check-install.mjs` 里 BOM 那行以前无条件打勾,BOM 丢了也自称正常——现在照实报。
42
+ - `feast_life_start` 以前读内存缓存,把 `lifeFreeSlots` 清空后回执永远说「今天已经记了 0 件」;改走 `#freePlay`。
43
+ - `planFreeTick` 判「这一档叫过没」用 `!fired[hm]`,时刻恰好是 0 时会重复叫;改成看键在不在。
44
+
45
+ **数据兼容**:`play-*.json` 里的 `pending` / `retries` 继续认、继续忽略,不迁移;`fired` 键格式没变;回滚到 0.7.5 也读得动。`DEFAULTS` 42 → 41,配置卡 41 → 40 项(仍是 6 张)。
46
+
47
+ **测试** 357 → **366**(新增判据真值表、忙时跳过/报备、睡觉永远静音、主动入口说真话、doings 解析与注入;`funlink` 14 条 / `maplink` 20 条接缝测试**一行没改**,作为「联动不动」的验收口径)。
48
+
3
49
  ## 0.7.4
4
50
 
5
51
  **改名「鱼的每一天」,外加和「娱乐时间」的联动**
package/GUIDE.md CHANGED
@@ -29,7 +29,7 @@
29
29
  | **套餐**面板 | 一桌一桌地端:8 套现成的,或者自己勾几道攒一桌存下来 |
30
30
  | **吃过什么**面板 | 她吃过多少回、口味画像、最近几口、她自己记的反应 |
31
31
  | **今天**面板 | 她自己写下的这一天:此刻在做什么、今天/明天的时间线、往期,见第 5 节 |
32
- | **世界配置** | 41 项,按饭点 / 一起吃饭 / 她的一天 / 她自己的时间 / 生图联动 / 天气分成 6 张卡,见第 7 节 |
32
+ | **世界配置** | 40 项,按饭点 / 一起吃饭 / 她的一天 / 她自己的时间 / 生图联动 / 天气分成 6 张卡,见第 7 节 |
33
33
 
34
34
  **等待条**是这套东西的核心反馈:你端过去的东西还没被吃掉时,它会一直挂在顶上,右边写着还剩多久。到点没吃就自动收走(不打扰她);**端错了按下「收回」就撤掉**,不用等它过期。
35
35
 
@@ -179,14 +179,17 @@
179
179
  | 情况 | 会不会叫 |
180
180
  | --- | --- |
181
181
  | 日程说她在**睡觉**(含回笼觉、午睡、打盹、补觉) | 不叫 |
182
- | 日程说她在**上班 / 通勤 / 开会 / 加班 / 居家办公** | 不叫(不然「现在是你的时间」跟「你在上班」互相打脸) |
182
+ | 日程说她在**上班 / 通勤 / 开会 / 加班 / 居家办公** | 默认**不叫**(不然「现在是你的时间」跟「你在上班」互相打脸);开了 `lifeFreeBusyCall` 就叫,但说的是「这会儿你在上班,想记就记一笔」 |
183
183
  | 其余几乎都算她的空档:追剧、打游戏、刷手机、窗边发呆、收拾屋子 | 叫 |
184
- | 今天已经记够数了(`lifeFreeGoal`) | 不按点叫(**但随时能自己动**) |
185
184
  | 她说过今天不想被叫 | 不按点叫(**也随时能自己动**) |
186
185
 
187
- **被跳过的那一档会在面板上写出来**:比如 `21:00 · 没叫:她那会儿在加班赶工`。以前这里是完全静默的——只看到「今天没有了」,很容易以为功能坏了。
186
+ **档数就是上限**:0.8.0 起没有「记到几件就不再叫」那条线了(`lifeFreeGoal` 删掉),也不催第二遍。想叫她少几次就少写几个点。
188
187
 
189
- > 判据是**排除法**:只排除明确被占用的(睡、上班、通勤、开会、加班…),其余一律算她的自由时间。0.7.1 用的是白名单(`自己的时间|自由|在家玩|休息|摸鱼…`),实测在真实日程里 13 段只命中 2 段,三档里两档被静默跳过。
188
+ **被跳过的那一档会在面板上写出来**:比如 `21:00 · 没叫:她那会儿在加班赶工`,旁边还写着去哪个开关打开「忙着的时候也叫」。0.7.1 这里是完全静默的——只看到「今天没有了」,很容易以为功能坏了。
189
+
190
+ **她主动问的时候也不撒谎**:上班时段用 `feast_life_start`(或面板「现在就想动」),回执会照实说「这会儿你在上班」,不再一口咬定「现在是你自己的时间」。想动照样能动,只是不骗她。
191
+
192
+ > 判据是**排除法**,而且只有一处(`classifyItem`,返回 asleep / busy / free / none):只排除明确被占用的(睡、上班、通勤、开会、加班…),其余一律算她的自由时间。0.7.1 用的是白名单(`自己的时间|自由|在家玩|休息|摸鱼…`),实测在真实日程里 13 段只命中 2 段,三档里两档被静默跳过。睡觉优先于忙:「午睡」算睡着,不会被当成 busy 去报备。
190
193
 
191
194
  **面板上也能替她开口**:「现在就想动」= 让她不用等下一档;「今天先别叫了」= 今天剩下的档不催(她随时还是能自己动)。
192
195
 
@@ -202,11 +205,11 @@
202
205
 
203
206
  > 这些是**别的扩展**的工具。它们没装的话,她照菜单去做会失败——所以默认才不写死,让你按自己实际装了什么来填。
204
207
 
205
- ### 自动接进来的那两行(0.7.4 / 0.7.5)
208
+ ### 自动接进来的那两行(0.7.4 / 0.7.5)
209
+
210
+ 有两个扩展是**自动**接进例子里的(别的仍要你手抄)。都是装了并启用着才加,没装整段不出现。
206
211
 
207
- 有两个扩展是**自动**接进例子里的(别的仍要你手抄)。都是装了并启用着才加,没装整段不出现。
208
-
209
- **① 娱乐时间**(`cortico-world-fun`,0.7.4):装了它并且启用着,叫醒时会多一行:
212
+ **① 娱乐时间**(`cortico-world-fun`,0.7.4):装了它并且启用着,叫醒时会多一行:
210
213
 
211
214
  ```
212
215
  - 出门去逛逛:fun_places 看今天能去哪 → fun_go 进门 → fun_wander 逛一处 → fun_home 收摊
@@ -222,9 +225,9 @@
222
225
 
223
226
  不想让它自动加:配置 →「她自己的时间」→「出门逛逛那一行」关掉(`lifeFreeFunOn`,默认开)。
224
227
 
225
- **② 鱼的小世界**(`cortico-world-map`,0.7.5:同一套,另外一行)
228
+ **② 鱼的小世界**(`cortico-world-map`,0.7.5:同一套,另外一行)
226
229
 
227
- 装了它并且启用着,例子里再多一行:
230
+ 装了它并且启用着,例子里再多一行:
228
231
 
229
232
  ```
230
233
  - 看看周围、去个常去的地方:map_places 看有哪些地方 → map_look 看这一处长什么样
@@ -269,7 +272,7 @@
269
272
 
270
273
  ---
271
274
 
272
- ## 7. 配置(41 项,在「鱼的每一天」的世界配置里,按 6 张卡分开)
275
+ ## 7. 配置(40 项,在「鱼的每一天」的世界配置里,按 6 张卡分开)
273
276
 
274
277
  配置页不再是一张列到底的长表,按**你脑子里那几件事**切成 6 张卡:
275
278
 
@@ -319,12 +322,11 @@
319
322
  | `lifeVoiceOn` | `true` | 附上「怎么把这些带进聊天」那段说话方式 |
320
323
  | `lifeMaxItems` | `24` | 她自己写明天时段数上限 |
321
324
  | `lifeAdjustPast` | `false` | 允许她改今天已过去的时段(默认关:那是事实。你从面板改不受限) |
325
+ | `lifeDoings` | 空 | **她能做的事(按日型填)**:一行「上班日:」开一节,下面一行一件;进「请她写明天」的正文,让日程每段是真能做的一件事。留空 = 由她自己编。扩展工具要写清工具名和调用写法,只写你装了的 |
322
326
  | `lifeFreeEnabled` | `true` | **「她自己的时间」开关**(0.7.2 补上:以前代码认这个键但配置里没有,只能手改 json) |
323
- | `lifeFreeSlots` | `10:00,14:00,21:00` | 她自己的时间:几点叫醒她(留空 = 不叫) |
324
- | `lifeFreeGoal` | `3` | 记到几件就不再**按点叫**(不是任务额度:过了照样能记、随时能自己动) |
325
- | `lifeFreeGraceMin` | `20` | 档位容错 |
326
- | `lifeFreeRetryMin` | `40` | 没记就催 |
327
- | `lifeFreeMaxRetries` | `1` | 一档最多催几次 |
327
+ | `lifeFreeSlots` | `10:00,14:00,21:00` | 她自己的时间:几点说那句话。**档数 = 一天最多叫几次**(留空 = 不叫) |
328
+ | `lifeFreeGraceMin` | `20` | 档位容错:到点后多少分钟内还算这一档(应用刚启动的追赶窗口) |
329
+ | `lifeFreeBusyCall` | `false` | **忙着的时候也叫**(0.8.0):开=上班/通勤那几档照样叫,但换成报备措辞;关=不叫、面板留痕。睡觉永远不叫 |
328
330
  | `lifeFreeMenu` | 4 条通用说法 | 叫醒时贴给她的**例子**(措辞里写明「不照着也行」)。想让她用具体工具就在这里填 |
329
331
  | `lifeFreeAskReport` | `true` | 做完提醒她跟你说一句 |
330
332
  | `lifeFreeFunOn` | `true` | **出门逛逛那一行**(0.7.4)。装了「娱乐时间」并启用着才自动追加一行 `fun_*`;没装/停用/你手抄过都不加 |
@@ -399,13 +401,13 @@
399
401
  三个来源:系统提示里那段低频的(今天什么日子、全天打算)、换事时那条短事件、以及她自己调 `feast_life_now`。所以问她「你在干嘛」她答得上来,而且入睡、出门、下班这些切换点都会变。
400
402
 
401
403
  **「她自己的时间」到点了但她没动静?**
402
- 先看日程:如果那会儿写的是上班、通勤,系统**故意不叫**(不然「现在是你的时间」和「你在上班」互相打脸)。想看什么情况下会叫,GUIDE 第 5 节那张表。也可以直接看面板上「她自己的时间」那块写的下一档是几点。
404
+ 先看日程:如果那会儿写的是上班、通勤,默认**故意不叫**(不然「现在是你的时间」和「你在上班」互相打脸)。想让它上班也叫(拍照报备那种用法),打开 `lifeFreeBusyCall`。想看什么情况下会叫,GUIDE 第 5 节那张表。也可以直接看面板上「她自己的时间」那块写的下一档是几点。
403
405
 
404
406
  **菜单里的工具她做了但失败?**
405
- 默认菜单是通用说法,不会失败。你要是自己填了 `bloom_inbox`、`bvp_watch_now` 这些,**得确认对应扩展装了**——没装的话她照菜单去做会报错。这也是默认不写死工具名的原因。
407
+ 默认菜单是通用说法,不会失败。你要是自己填了 `bloom_inbox`、`bvp_watch_now` 这些(包括 `lifeDoings` 里写的),**得确认对应扩展装了**——没装的话她照菜单去做会报错。这也是默认不写死工具名的原因。
406
408
 
407
- **她记够了数,是不是今天就不许再动了?**
408
- 不是。那个数是**叫醒的上限**:到了就不再按时叫她,她想动随时能动,记了照样算。她也可以完全不等叫醒,用 `feast_life_start` 自己开始。
409
+ **她记了几件,是不是就会少叫她?**
410
+ 不会。0.8.0 删掉了「记到几件就不再叫」那条线:档位有几个点就叫几次,跟她记了几件无关。想叫她少几次就少写几个点;她也可以完全不等叫醒,用 `feast_life_start` 自己开始。
409
411
 
410
412
  ---
411
413
 
package/PUBLISHING.md CHANGED
@@ -17,13 +17,13 @@ cd 'E:\deep seek\feed-world'
17
17
  node tools/validate-dishes.mjs # 菜品库:字段、九维、类别、套话、菜系与文件名一致
18
18
  node tools/selfcheck.mjs # 复刻 Coo 的干装载检查
19
19
  node tools/publish-check.mjs --online # 市场收录口径 + npm 包名占用
20
- npm test # 13 个文件,357 项
20
+ npm test # 13 个文件,366 项
21
21
  node tools/make-describe.mjs --check
22
22
  ```
23
23
 
24
24
  `prepublishOnly` 已经把这些串起来了:`npm publish` 之前会自动跑一遍,有任何一处失败就发不出去。这不是多余的谨慎——`describe.json` 与代码脱节、标签写了词表外的值、图标超 512KB,都会让市场那张卡片缺一块,而发出去之后改不了(只能发新版本)。
25
25
 
26
- 当前状态(0.7.5):**17 项通过、0 失败、4 条警告**(没截 `screenshots`;工具数 / 工具 token 在卡片上会标 yellow——0.7.0 之后工具涨到 16 个;解包 2.0MB;没查在线包名占用);**357 项测试全绿**(13 个文件:dishes 25 · eat 14 · state 31 · combos 39 · together 13 · life 36 · wardrobe 20 · life-world 47 · weather 10 · funlink 14 · maplink 20 · world 41 · panels 47)。
26
+ 当前状态(0.8.0):**17 项通过、0 失败、4 条警告**(没截 `screenshots`;工具数 / 工具 token 在卡片上会标 yellow——0.7.0 之后工具涨到 16 个;解包 2.1MB;没查在线包名占用);**366 项测试全绿**(13 个文件:dishes 25 · eat 14 · state 31 · combos 39 · together 13 · life 42 · wardrobe 20 · life-world 50 · weather 10 · funlink 14 · maplink 20 · world 41 · panels 47)。
27
27
 
28
28
  ---
29
29
 
@@ -118,8 +118,8 @@ npm publish --otp 123456
118
118
  npm pack --dry-run
119
119
  ```
120
120
 
121
- 0.7.5 应该是 **59 个文件**,解包约 2.0MB(压缩后大小以 `npm pack --dry-run` 的输出为准):
122
- `package.json`、`src/`(含 28 个菜品 json + `src/life/` 11 个 js)、`dist/webui.js`、`describe.json`、
121
+ 0.8.0 应该是 **61 个文件**,解包约 2.1MB(压缩后大小以 `npm pack --dry-run` 的输出为准):
122
+ `package.json`、`src/`(含 28 个菜品 json + `src/life/` 13 个 js)、`dist/webui.js`、`describe.json`、
123
123
  `assets/icon.png`、`README.md`、`CHANGELOG.md`、`PUBLISHING.md`、`GUIDE.md`。
124
124
 
125
125
  `test/`、`tools/`、`install.ps1`、`COMBO-SPEC.md`、`TOGETHER-SPEC.md`、`DISH-SPEC.md` 都在 `files` 之外,
@@ -135,15 +135,15 @@ npm publish --otp 123456 # 没开 2FA、或用了带 bypass 2FA 的 granula
135
135
 
136
136
  这个包不是新包(0.1.1 / 0.2.0 / 0.3.0 / 0.4.0 / 0.5.0 / 0.6.0 / 0.6.1 / 0.6.2 / 0.6.3 / 0.7.0 / 0.7.1 / 0.7.2 都发过),所以**不需要** `--access public`(那是作用域包 `@you/xxx` 才要的)。
137
137
 
138
- `latest` 会从 **0.7.4** 走到 **0.7.5**。版本序列是 0.6.0 → … → 0.7.3 → 0.7.4 → 0.7.5。
138
+ `latest` 会从 **0.7.5** 走到 **0.8.0**。版本序列是 0.6.0 → … → 0.7.3 → 0.7.4 → 0.7.5 → 0.8.0。
139
139
  (0.6.0 那会儿「0.7.0」这个号本来打算给套餐用、后来并进了 0.6.0;真正的 0.7.0 是后来「她的一天」才发的。)
140
140
 
141
141
  发完立刻验:
142
142
 
143
143
  ```powershell
144
- npm view cortico-world-feast version # 应回 0.7.5
144
+ npm view cortico-world-feast version # 应回 0.8.0
145
145
  npm view cortico-world-feast cortico --json # 应能看到 kind/api/displayName/tags/locales
146
- npm view cortico-world-feast dist-tags # latest 应是 0.7.5
146
+ npm view cortico-world-feast dist-tags # latest 应是 0.8.0
147
147
  ```
148
148
 
149
149
  `npm view` 走的是 CDN,刚发出去可能有几十秒到几分钟的滞后,回 `E404` 先等一下再查。
@@ -186,8 +186,8 @@ gh issue create --repo Pal-AI-Lab/cortico-extensions `
186
186
  "screenshots": ["assets/screenshot-1.png", "assets/screenshot-2.png", "assets/screenshot-3.png"],
187
187
  ```
188
188
 
189
- 7. 截图塞进**当前这一版**:现在的版本号是 `0.7.5`(还没发),加完直接 `npm publish` 就行;
190
- 要是 0.7.5 已经发出去了,就再升一位重发
189
+ 7. 截图塞进**当前这一版**:现在的版本号是 `0.8.0`(还没发),加完直接 `npm publish` 就行;
190
+ 要是 0.8.0 已经发出去了,就再升一位重发
191
191
 
192
192
  截图改了就必须发新版本——市场按版本扫包,不发新版本改不了已收录的那一版。
193
193
 
@@ -227,7 +227,7 @@ gh issue create --repo Pal-AI-Lab/cortico-extensions `
227
227
  4. **至少有过一次后续更新**
228
228
 
229
229
  第 4 条意味着至少要发两个版本才能申请。0.1.1 / 0.2.0 / 0.3.0 / 0.4.0 / 0.5.0 / 0.6.0 / 0.6.1 / 0.6.2 / 0.6.3 / 0.7.0 / 0.7.1 / 0.7.2 / 0.7.3 / 0.7.4 都发过,
230
- 早就满足了;想把截图一并带上再申请也行,那就等 0.7.5 发出去。
230
+ 早就满足了;想把截图一并带上再申请也行,那就等下一版发出去。
231
231
 
232
232
  申请方式是开一个 `[认证]` issue:
233
233
 
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  先给她一天,再给她一桌饭。
4
4
 
5
- > **只想学会怎么用?** 看 [`GUIDE.md`](GUIDE.md):三分钟上手、四个面板怎么点、一起吃饭怎么玩、41 项配置(分 6 张卡)、常见情况。
5
+ > **只想学会怎么用?** 看 [`GUIDE.md`](GUIDE.md):三分钟上手、四个面板怎么点、一起吃饭怎么玩、40 项配置(分 6 张卡)、常见情况。
6
6
  > 这一份 README 讲的是"里面有什么、为什么这么做"。
7
7
 
8
8
  0.7.0 起她有自己的日子:每晚到点请她自己写明天怎么过,第二天按它过;主人能在「今天」面板看此刻她在哪儿、临时改掉某一段。下面「[她的一天](#她的一天)」一节讲这个。0.7.3 起她会看**真实天气**(默认关:填了你自己城市的名字才提,见下面「天气」一节)。
@@ -134,6 +134,32 @@
134
134
 
135
135
  **不重复叫她**:推之前先落一个 `pending` 占位(`items` 为空——补了空档的话看起来就像她已经想好了)。重启、tick 重入都不会重复叫同一天;主人也能在面板上手动按「请她写明天」再叫一次。
136
136
 
137
+ ### 「能做的事」:让日程里每一段都是真能做的一件事
138
+
139
+ 默认她写出来的日程可能很空——「在家玩」「自己的时间」,读起来像空白,聊起来也没东西可抓。`lifeDoings` 是给这件事的配置:**按日型给她备一张「这天真能做什么」的单子**,每晚请她写明天时一起递给她。
140
+
141
+ ```
142
+ 上班日:
143
+ - 在公司写方案,被叫去开会
144
+ - 午休找主人聊两句(qq 发消息)
145
+ - 摸鱼刷一会儿视频(bvp_watch_now mode="text")
146
+ 休息日:
147
+ - 睡到自然醒,起来泡杯茶
148
+ - 追番(bvp_watch_now mode="text")
149
+ - 下楼买菜,顺手发条空间动态(qq_qzone action=post)
150
+ ```
151
+
152
+ 规则(容错:写歪了只是少几行,不报错):
153
+
154
+ - 一行只写「日型名:」开一节;日型名认名字(`上班日`)也认 id(`workday`),大小写和空格都不计;
155
+ - 以 `-` / `*` / `•` / `1.` 开头的行是一件,不写符号的普通行也算一件;
156
+ - 第一节之前、没写日型的那些行 = **所有日型通用**的兜底;某个日型没有专属节时才用它;
157
+ - **留空 = 不生效**,跟以前一样由她自己编。
158
+
159
+ 那段正文的措辞写死是「从里面挑也行、自己另想也行、一件都不挑也行」——它是**例子**,不是待办;不进系统前缀,只在那一条邀请里出现。
160
+
161
+ **要写扩展工具就把工具名和调用写法写清,而且只写你真装了的。** 这里不做自动检测:`lifeFreeMenu` 那两行能自动判断装没装(读 `worlds.fun.enabled` / `worlds.map.enabled`),但任意工具没法从配置里判断。写了一个她那里没有的工具,她会照着做但做不成。
162
+
137
163
  ### 「此刻在做什么」为什么分三层
138
164
 
139
165
  Cortico 的 `envPromptVars()` **只在前缀重建时重算**,不是每轮请求。把「此刻」放进去,她会一整天以为自己还在早上那件事里。
@@ -184,16 +210,22 @@ Cortico 的 `envPromptVars()` **只在前缀重建时重算**,不是每轮请
184
210
 
185
211
  日程说的是「打算」,这一块说的是「真的去做了」。原来那个独立的**自由时间**扩展(`cortico-world-playtime`)已经并进来了。
186
212
 
187
- 到点(默认 **10:00 / 14:00 / 21:00**)推一条 `feast.life.free`:告诉她现在是她自己的时间,给一份**例子**,想做什么就做什么,做完随手 `feast_life_play` 记一笔。没记就催一次,催完放掉。
213
+ 到点(默认 **10:00 / 14:00 / 21:00**)推一条 `feast.life.free`:说「现在是你自己的时间」(或按日程换一种说法,见下),给一份**例子**,想做什么就做什么,做完随手 `feast_life_play` 记一笔。
188
214
 
189
- **`lifeFreeGoal` 是「叫醒的上限」,不是任务额度。** 这几条要说清楚,否则读起来就变成派活:
215
+ **档数就是一天最多叫几次。** 0.8.0 删掉了「记到几件就不再叫」那条线(`lifeFreeGoal`)和「没记就催」(`lifeFreeRetryMin` / `lifeFreeMaxRetries`):那条线数的是**记录**、管的是**呼叫**,真实效果是越投入越早被掐;而催促本来就该由下一档来做——一个时刻表不需要再内建一个闹钟。想叫她少几次就少写几个点,想多一点就多写几个。
216
+
217
+ **这次该说什么,由日程决定**(唯一判据 `classifyItem`,`src/life/kind.js`):
218
+
219
+ | 日程里此刻 | 说什么 |
220
+ | --- | --- |
221
+ | 空着(刷手机、发呆、收拾屋子都算) | 「现在是你自己的时间」+ 例子(默认那段,`EVENT_LIFE_FREE` 原文) |
222
+ | 在睡觉 | **不叫**,永远不叫(`lifeFreeBusyCall` 也不管睡不睡) |
223
+ | 在上班 / 通勤 / 开会 | `lifeFreeBusyCall` 关(默认)= 不叫,面板留一行「没叫:她那会儿在上班」;开 = 叫,但只说「这会儿你在上班,想记就随手记一笔」,**不贴「出去转转」那种例子** |
224
+ | 还没有日程 | 「有点空档」,例子照给 |
190
225
 
191
- - **记到几件就不再按点叫**——只表示「今天不再按时叫你了」,**不表示不许再动**。
192
- - 到了、甚至过了这个数,照样能记、照样算数(`recordPlay` 根本不看 `goal`)。
193
- - **想开始随时能开始**:`feast_life_start` 就是不给等叫醒的入口,跳过今天之后也能用。
194
- - 例子之外的事、临时起意的、什么也没做只是发呆,**全都算**。不记也不影响她继续做事。
226
+ 睡觉永远不叫、忙时换个说法而不是撒谎——这是 0.8.0 的主线:同一句话不再既说「这是你的时间」又说「你在上班」。`feast_life_start`(她主动问)和面板「现在就想动」走同一个判据,上班时段会照实说「这会儿你在上班」,不再一口咬定「现在是你自己的时间」(想动照样能动,只是不骗她)。
195
227
 
196
- **只在日程说是自由段时才叫。** 这是合并后最关键的一条:日程说她这会儿在上班、通勤、被占着,就**不叫**——否则会出现「现在是你自己的时间」和「你在上班」互相打脸。睡觉时段同样不叫。判断看活动名(「自己的时间 / 在家玩 / 休息 / 玩 / 摸鱼」这类算自由)。
228
+ **这是「报备」用法的开关。** 一天六档拍照报备那套(08:10 / 10:30 / 12:20 / 15:00 / 18:30 / 21:30),以前上班那两档会被静默跳过、要手改代码让「上班也照叫」;现在打开 `lifeFreeBusyCall` 就是六档全到,措辞自动换成报备。关着就当没这回事。
197
229
 
198
230
  叫醒事件里会带上日程的那一段,把两条线缝上:
199
231
 
@@ -247,11 +279,11 @@ Cortico 的 `envPromptVars()` **只在前缀重建时重算**,不是每轮请
247
279
 
248
280
  **记账单独存一份** `<数据目录>/feast/life/play-YYYY-MM-DD.json`,不写进日程:`feast_life_plan` 会整个重写一天,记进去她下次交回就覆盖了。计划和事实的生命周期不同,就该分开存。
249
281
 
250
- 「今天」面板底下那块「她自己的时间」显示今天记了几件、下一档几点、她做了什么;到数了标一句「不再按点叫(想动随时动)」。**被日程挡掉的那一档也会写出来**(`21:00 · 没叫:她那会儿在加班赶工`)——0.7.1 这里是纯静默,面板上只剩「今天没有了」,很容易以为功能坏了。
282
+ 「今天」面板底下那块「她自己的时间」显示今天记了几件、下一档几点、她做了什么。**唯一会出现的沉默会写出来**(`21:00 · 没叫:她那会儿在上班`),旁边还带一句去哪里打开「忙着的时候也叫」——0.7.1 这里是纯静默,面板上只剩「今天没有了」,很容易以为功能坏了。
251
283
 
252
- 判据是**排除法**:只排除明确被占用的(睡、回笼觉、午睡、上班、通勤、开会、加班、居家办公…),其余一律算她的空档。0.7.1 用的是白名单(`自己的时间|自由|在家玩|休息|摸鱼|追剧…`),实测在真实日程的 13 段里只命中 2 段、默认三档里两档被静默跳过——白名单判反了会互相打脸(上班时说「这是你的时间」),但把「她分明闲着」漏掉一样是错,所以折中成排除法。
284
+ 判据是**排除法**,而且只有一处(`src/life/kind.js` 的 `classifyItem`,返回 `asleep / busy / free / none`):只排除明确被占用的(睡、回笼觉、午睡、上班、通勤、开会、加班、居家办公…),其余一律算她的空档。0.7.1 用的是白名单(`自己的时间|自由|在家玩|休息|摸鱼|追剧…`),实测在真实日程的 13 段里只命中 2 段、默认三档里两档被静默跳过——白名单判反了会互相打脸(上班时说「这是你的时间」),但把「她分明闲着」漏掉一样是错,所以折中成排除法。
253
285
 
254
- 睡觉的判据也收成了一处(`isAsleepActivity`):以前各处都写 `/睡/`,认不出「回笼觉」「打盹」「补觉」,那一档会把她从回笼觉里叫起来。
286
+ 睡觉是占用词的子集,**先判睡再判忙**:「午睡」算睡着,不会被当成 busy 去报备。睡觉的判据和自由判断共用这一张表——以前各处都写 `/睡/`,认不出「回笼觉」「打盹」「补觉」,那一档会把她从回笼觉里叫起来。
255
287
 
256
288
  ### 她当天可以改主意
257
289
 
@@ -381,12 +413,11 @@ Cortico 的 `envPromptVars()` **只在前缀重建时重算**,不是每轮请
381
413
  | `lifeVoiceOn` | `true` | 附上「怎么把这些带进聊天」那段说话方式 |
382
414
  | `lifeMaxItems` | `24` | 她自己写明天时段数上限,写多了按时间顺序裁掉后面的 |
383
415
  | `lifeAdjustPast` | `false` | 允许她改今天已经过完的时段(默认关:那是事实,不是计划。主人从面板改不受限制) |
416
+ | `lifeDoings` | 空 | **她能做的事(按日型填)**:进「请她写明天」的正文,让日程每段是真能做的一件事。格式见上面「能做的事」一节。留空 = 由她自己编 |
384
417
  | `lifeFreeEnabled` | `true` | **「她自己的时间」总开关**(0.7.2 补上:以前代码认这个键但配置里没有,只能手改 json) |
385
- | `lifeFreeSlots` | `10:00,14:00,21:00` | 她自己的时间:几点叫醒她。留空 = 不叫(工具和面板照样能用) |
386
- | `lifeFreeGoal` | `3` | 每天想玩几件;做满不再叫。0 = 只叫不计数 |
387
- | `lifeFreeGraceMin` | `20` | 档位容错:到点后多少分钟内还算这一档 |
388
- | `lifeFreeRetryMin` | `40` | 没记就催:隔多少分钟再催 |
389
- | `lifeFreeMaxRetries` | `1` | 一档最多催几次;0 = 不催 |
418
+ | `lifeFreeSlots` | `10:00,14:00,21:00` | 她自己的时间:几点说那句话。**档数 = 一天最多叫几次**。留空 = 不叫(工具和面板照样能用) |
419
+ | `lifeFreeGraceMin` | `20` | 档位容错:到点后多少分钟内还算这一档(应用刚启动的追赶窗口) |
420
+ | `lifeFreeBusyCall` | `false` | **忙着的时候也叫**(0.8.0)。开=上班/通勤/开会那几档照样叫,但换成报备措辞;关=不叫、面板留痕。睡觉永远不叫 |
390
421
  | `lifeFreeMenu` | 4 条通用说法 | 叫醒时贴给她的菜单。**默认不点名任何别的扩展的工具**;要用具体工具自己填 |
391
422
  | `lifeFreeAskReport` | `true` | 做完要不要提醒她跟主人说一句 |
392
423
  | `lifeFreeFunOn` | `true` | **出门逛逛那一行**(0.7.4)。装了「娱乐时间」并启用着才加;没装/停用/你自己抄过 `fun_*` 都不加。关掉=不自动加 |
package/describe.json CHANGED
@@ -290,7 +290,7 @@
290
290
  },
291
291
  {
292
292
  "name": "feast_life_plan",
293
- "description": "把某一天(通常是明天)的打算交回来记下。收到「该想想明天怎么过」那条事件时用它:items 从 00:00 排到 24:00、不重叠不留空档,每段写清 start / end / activity,想加 location、detail、outfit 也行。写的是你自己想做的事,不是任务清单;交回来记好就行,不用跟主人复述。",
293
+ "description": "把某一天(通常是明天)的打算交回来记下。收到「该想想明天怎么过」那条事件时用它:items 从 00:00 排到 24:00、不重叠不留空档,每段写清 start / end / activity,想加 location、detail、outfit 也行。**每段要写成一件真能做的事**(「在公司写方案」「追一集番」),别写成「在家玩」「自己的时间」这种空话;事件里给了「能做的事」清单就从里面挑,写清单外的也行。写的是你自己想做的事,不是任务清单;交回来记好就行,不用跟主人复述。",
294
294
  "parameters": {
295
295
  "type": "object",
296
296
  "properties": {
@@ -473,7 +473,7 @@
473
473
  },
474
474
  {
475
475
  "name": "feast_life_start",
476
- "description": "不用等叫醒:现在就想干点什么的时候用。回执把「例子 + 怎么记账」直接给你,不必等下一档。做过什么用 feast_life_play 记;跳过了今天(feast_life_skip)也照样能用这个重新开始。",
476
+ "description": "不用等叫醒:现在就想干点什么的时候用。回执把「例子 + 怎么记账」直接给你,不必等下一档。做过什么用 feast_life_play 记;跳过了今天(feast_life_skip)也照样能用这个重新开始。如果这会儿你在上班或在睡觉,回执照实说一句——它不会把「现在是你自己的时间」硬塞给你,想动照样动。",
477
477
  "parameters": {
478
478
  "type": "object",
479
479
  "properties": {
@@ -529,8 +529,8 @@
529
529
  {
530
530
  "type": "feast.life.plan",
531
531
  "description": {
532
- "zh": "每晚到点请她自己写明天怎么过:正文给出日期、日型、最近几天和饭点,请她用 feast_life_plan 交回一份从 00:00 到 24:00 的 JSON。origin 是 internal,是她自己的日子,不是主人交代的事;在配置里可以整个关掉。先落占位再推,不会重复叫。",
533
- "en": "Nightly ask for the day she wants to have tomorrow: date, day type, recent days and meal slots, then she replies with feast_life_plan and a 00:00–24:00 JSON. Internal origin — her own day, not a task from the owner. Can be switched off entirely in config; a placeholder prevents duplicate asks."
532
+ "zh": "每晚到点请她自己写明天怎么过:正文给出日期、日型、最近几天、饭点,以及主人给她备的「能做的事」(配了这一项才有),请她用 feast_life_plan 交回一份从 00:00 到 24:00 的 JSON。origin 是 internal,是她自己的日子,不是主人交代的事;在配置里可以整个关掉。先落占位再推,不会重复叫。",
533
+ "en": "Nightly ask for the day she wants to have tomorrow: date, day type, recent days, meal slots, and the \"things she can actually do\" list the owner prepared (when configured), then she replies with feast_life_plan and a 00:00–24:00 JSON. Internal origin — her own day, not a task from the owner. Can be switched off entirely in config; a placeholder prevents duplicate asks."
534
534
  },
535
535
  "trigger": "flush"
536
536
  },
@@ -545,8 +545,8 @@
545
545
  {
546
546
  "type": "feast.life.free",
547
547
  "description": {
548
- "zh": "到她自己的时间:一条 internal 事件叫醒她「现在是你自己的时间」,正文带上日程里此刻那一段和一份可配置的菜单,让她挑一件事做,做完用 feast_life_play 记一笔。日程说这会儿在睡觉或正在上班时**不推**(不把「现在是你的时间」硬塞给一个正在上班的人)。没记就催一次,催完放掉;origin 是 internal。",
549
- "en": "Her own time: an internal event telling her this stretch is hers, with the schedule item she is currently in plus a configurable menu, asking her to pick something and log it with feast_life_play. Never sent while the schedule says she is asleep or busy at work — telling a working person \"this time is yours\" would contradict the schedule. One retry, then dropped. Internal origin."
548
+ "zh": "到她自己的时间:一条 internal 事件叫她「现在是你自己的时间」(或按日程换说法),正文带上日程里此刻那一段和一份可配置的菜单,让她挑一件事做,做完用 feast_life_play 记一笔。日程说这会儿在睡觉时**不推**;在上班/通勤/开会时,看配置里的「忙着的时候也叫」:关着就不推(面板留一行解释),开着就推一条「报备」式的(不说「这是你的时间」,也不给出门的例子)。档位就是一天最多叫几次,不催第二遍;origin 是 internal。",
549
+ "en": "Her own time: an internal event telling her this stretch is hers (or, depending on the schedule, something else entirely), with the schedule item she is currently in plus a configurable menu, asking her to pick something and log it with feast_life_play. Never sent while the schedule says she is asleep; while she is at work / commuting / in a meeting it follows the \"call her while she is busy\" switch — off means no event (the panel shows one line explaining it), on means a check-in style event that does not claim the time is hers and offers no going-out examples. Slots are the daily cap on calls; there is no retry. Internal origin."
550
550
  },
551
551
  "trigger": "flush"
552
552
  }
package/dist/webui.js CHANGED
@@ -273,16 +273,14 @@ const TABLE = {
273
273
  /* --- 自由时间 --- */
274
274
  freeTitle: '她自己的时间',
275
275
  freeOff: '自由时间关着。',
276
- freeGoal: (n, g) => `今天记了 ${n} 件 · 到 ${g} 件就不再按点叫`,
277
276
  freeDone: (n) => `今天记了 ${n} 件`,
278
- freeEnough: '已到数 · 不再按点叫',
279
- freePending: (slot) => `在等她记「${slot}」这一档`,
280
277
  freeNext: (hm) => `下一档 ${hm}`,
281
278
  freeNone: '还没有排档',
282
279
  freeSkipped: '今天不按点叫了(她随时能自己动)',
283
280
  freeNotYet: '今天还没记过什么(不记也不影响她做事)。',
284
- freeHint: '到点会叫醒她「现在是你自己的时间」。下面这些只是例子:单子外的事、临时起意的都算,做不做、做几件都由她,想开始随时能开始、不用等叫醒。到她睡觉或上班的时段不会叫。',
281
+ freeHint: '到点会叫醒她「现在是你自己的时间」。下面这些只是例子:单子外的事、临时起意的都算,做不做、做几件都由她,想开始随时能开始、不用等叫醒。到她睡觉的时段不会叫;上班时段看她自己有没有开「忙着的时候也叫」。',
285
282
  freeSkippedSlot: (doing) => `没叫:她那会儿在${doing}`,
283
+ freeSkippedHint: '(想让她上班时也叫:配置 →「她自己的时间」→「忙着的时候也叫」)',
286
284
  freeSkipToday: '今天先别叫了',
287
285
  freeSkipDone: '好了,今天剩下的档不叫了。',
288
286
  freeStart: '现在就想动',
@@ -420,16 +418,14 @@ const TABLE = {
420
418
  /* --- free time --- */
421
419
  freeTitle: 'Her own time',
422
420
  freeOff: 'Free time is off.',
423
- freeGoal: (n, g) => `${n} logged · stops calling at ${g}`,
424
421
  freeDone: (n) => `${n} logged today`,
425
- freeEnough: 'at the number · no more scheduled wake-ups',
426
- freePending: (slot) => `waiting on her to log the ${slot} slot`,
427
422
  freeNext: (hm) => `next ${hm}`,
428
423
  freeNone: 'no slots',
429
424
  freeSkipped: 'no scheduled wake-ups today (she can still do anything)',
430
425
  freeNotYet: 'Nothing logged yet (not logging does not stop her doing things).',
431
- freeHint: 'She is woken at these slots. The list is only examples — anything at all counts, and she may do as much or as little as she likes, starting whenever she wants without waiting for a wake-up. Never while the schedule says she is asleep or at work.',
426
+ freeHint: 'She is woken at these slots. The list is only examples — anything at all counts, and she may do as much or as little as she likes, starting whenever she wants without waiting for a wake-up. Never while the schedule says she is asleep; while she is at work it depends on the "Call her while she is busy" switch.',
432
427
  freeSkippedSlot: (doing) => `skipped: she was ${doing}`,
428
+ freeSkippedHint: 'To reach her while she is busy too: config → "Her own time" → "Call her while she is busy".',
433
429
  freeSkipToday: 'No wake-ups today',
434
430
  freeSkipDone: 'Done — no more scheduled wake-ups today.',
435
431
  freeStart: 'Start something now',
@@ -1394,9 +1390,7 @@ const todayPanel = {
1394
1390
  } else if (f.skipped) {
1395
1391
  head.appendChild(el('span', 'feast-dim', t.freeSkipped));
1396
1392
  } else {
1397
- head.appendChild(el('b', null, f.goal > 0 ? t.freeGoal(f.done.length, f.goal) : t.freeDone(f.done.length)));
1398
- if (f.left === 0) head.appendChild(el('span', 'feast-flag is-owner', t.freeEnough));
1399
- if (f.pendingSlot) head.appendChild(el('span', 'feast-flag', t.freePending(f.pendingSlot)));
1393
+ head.appendChild(el('b', null, t.freeDone(f.done.length)));
1400
1394
  if (f.next) head.appendChild(el('span', 'feast-left', f.next === '没排档' || !f.slots.length ? t.freeNone : t.freeNext(f.next)));
1401
1395
  }
1402
1396
  box.appendChild(head);
@@ -1420,6 +1414,7 @@ const todayPanel = {
1420
1414
 
1421
1415
  // 到点了、但日程说她被占着所以没叫的那几档。不写出来,面板上就只剩「今天没有了」,
1422
1416
  // 用户以为功能坏了(0.7.1 就是这样,实测她一天 13 段里 11 段都被判成"不算")。
1417
+ // 0.8.0:忙时叫不叫由「忙着的时候也叫」决定,所以这栏现在是唯一会出现的沉默。
1423
1418
  if (f.skippedSlots?.length) {
1424
1419
  const list = el('div', 'feast-list');
1425
1420
  for (const s of f.skippedSlots) {
@@ -1429,6 +1424,7 @@ const todayPanel = {
1429
1424
  list.appendChild(row);
1430
1425
  }
1431
1426
  box.appendChild(list);
1427
+ if (!f.busyCall) box.appendChild(el('div', 'feast-note', t.freeSkippedHint));
1432
1428
  }
1433
1429
  // 面板上替她开口:0.7.1 只有一个「今天不叫了」是工具,主人点不到。
1434
1430
  if (f.enabled && !f.skipped) {
package/package.json CHANGED
@@ -1,79 +1,79 @@
1
- {
2
- "name": "cortico-world-feast",
3
- "version": "0.7.5",
4
- "description": "鱼的每一天 · 先给她一天,再给她一桌饭:她自己的日程(每晚自己写明天、到点过自己的时间、做完记一笔)+ 824 道菜的桌子,能端一道、端一桌,也能和她一起吃一顿。可以跟「生图工作室」「娱乐时间」「鱼的小世界」各接一小截,不装也完整可用。",
5
- "license": "MIT",
6
- "author": "青",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/bailuhanyi/cortico-world-feast.git"
10
- },
11
- "homepage": "https://github.com/bailuhanyi/cortico-world-feast#readme",
12
- "bugs": {
13
- "url": "https://github.com/bailuhanyi/cortico-world-feast/issues"
14
- },
15
- "keywords": [
16
- "cortico-world",
17
- "cortico",
18
- "coopanion",
19
- "coo",
20
- "food",
21
- "eat",
22
- "taste",
23
- "flavor",
24
- "dish",
25
- "meal",
26
- "hunger",
27
- "companion"
28
- ],
29
- "type": "module",
30
- "main": "./src/index.js",
31
- "exports": {
32
- ".": "./src/index.js"
33
- },
34
- "files": [
35
- "src",
36
- "dist",
37
- "assets",
38
- "describe.json",
39
- "CHANGELOG.md",
40
- "README.md",
41
- "PUBLISHING.md",
42
- "GUIDE.md"
43
- ],
44
- "engines": {
45
- "node": ">=22.6"
46
- },
47
- "scripts": {
48
- "test": "node test/dishes.test.mjs && node test/eat.test.mjs && node test/state.test.mjs && node test/combos.test.mjs && node test/together.test.mjs && node test/life.test.mjs && node test/wardrobe.test.mjs && node test/life-world.test.mjs && node test/weather.test.mjs && node test/funlink.test.mjs && node test/maplink.test.mjs && node test/world.test.mjs && node test/panels.test.mjs",
49
- "dishes": "node tools/validate-dishes.mjs",
50
- "selfcheck": "node tools/selfcheck.mjs",
51
- "check:install": "node tools/check-install.mjs",
52
- "check:publish": "node tools/publish-check.mjs --online",
53
- "describe": "node tools/make-describe.mjs",
54
- "prepublishOnly": "node tools/validate-dishes.mjs && node tools/selfcheck.mjs && node tools/publish-check.mjs --online && node test/dishes.test.mjs && node test/eat.test.mjs && node test/state.test.mjs && node test/combos.test.mjs && node test/together.test.mjs && node test/life.test.mjs && node test/wardrobe.test.mjs && node test/life-world.test.mjs && node test/weather.test.mjs && node test/funlink.test.mjs && node test/maplink.test.mjs && node test/world.test.mjs && node test/panels.test.mjs && node tools/make-describe.mjs --check"
55
- },
56
- "cortico": {
57
- "kind": "world",
58
- "api": 6,
59
- "displayName": "鱼的每一天",
60
- "icon": "assets/icon.png",
61
- "webUiClient": "dist/webui.js",
62
- "describe": "describe.json",
63
- "locales": {
64
- "zh": {
65
- "displayName": "鱼的每一天",
66
- "description": "先给她一天,再给她一桌饭。每天晚上到点请她自己写明天怎么过(零 API Key,用已配的模型),第二天按它过;到点还有「她自己的时间」,让她挑件事做并记一笔。主人能在「今天」面板看今天和明天的时间线、此刻她在做什么、她做过什么、往前翻往期,也能临时改掉某一段。桌上是 824 道菜(28 个菜系组),每道都有九维口味、香气、口感、余韵和一段实吃描写;她能自己按菜系挑,主人也能从面板端一道或整桌端过去(8 套内置套餐,也能自己勾几道攒成一桌存下来);还能和她一起吃一顿:邀请她、互相喂一口,你吃了什么她也知道。同一道菜每次吃到的都不一样,吃过什么、对什么反应、口味画像跨天攒着。饭点提醒、「她的一天」和自由时间都能在配置里单独关掉。\n\n能和这几个扩展联动,都是一个开关的事,不装就整段不出现、绝不报错:装了「生图工作室」,她写日程时会列出衣柜和场景,发图时穿着地点对得上;装了「娱乐时间」,「自己的时间」里会多一行,她能真出门逛;装了「鱼的小世界」,「自己的时间」里会多一行,她会想起周围那些地方。"
67
- },
68
- "en": {
69
- "displayName": "Fish Every Day",
70
- "description": "First a day of her own, then a table of food. Every evening she is asked to write tomorrow herself (no API key — it uses the model you already have), and the next day she lives it; on her own-time slots she picks something to do and logs it. The Today panel shows today's and tomorrow's timeline, what she is doing right now, what she has been up to, past days, and lets you change a stretch of it. The table holds 824 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, her day, and her own time can each be switched off in config.\n\nIt can also hook up to three other extensions, one switch each, and nothing breaks when they are absent: with the image studio installed she lists the wardrobe and scenes when writing her day, so the outfit and place match when she sends a picture; with Fun Time installed her own time gains one line and she can really go out; with Little World installed her own time gains another line and she remembers the places around her."
71
- }
72
- },
73
- "tags": [
74
- "companion",
75
- "internal-state",
76
- "experimental"
77
- ]
78
- }
79
- }
1
+ {
2
+ "name": "cortico-world-feast",
3
+ "version": "0.8.0",
4
+ "description": "鱼的每一天 · 先给她一天,再给她一桌饭:她自己的日程(每晚自己写明天,可以按日型给她备一张「能做的事」清单,到点过自己的时间、做完记一笔)+ 824 道菜的桌子,能端一道、端一桌,也能和她一起吃一顿。可以跟「生图工作室」「娱乐时间」「鱼的小世界」各接一小截,不装也完整可用。",
5
+ "license": "MIT",
6
+ "author": "青",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/bailuhanyi/cortico-world-feast.git"
10
+ },
11
+ "homepage": "https://github.com/bailuhanyi/cortico-world-feast#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/bailuhanyi/cortico-world-feast/issues"
14
+ },
15
+ "keywords": [
16
+ "cortico-world",
17
+ "cortico",
18
+ "coopanion",
19
+ "coo",
20
+ "food",
21
+ "eat",
22
+ "taste",
23
+ "flavor",
24
+ "dish",
25
+ "meal",
26
+ "hunger",
27
+ "companion"
28
+ ],
29
+ "type": "module",
30
+ "main": "./src/index.js",
31
+ "exports": {
32
+ ".": "./src/index.js"
33
+ },
34
+ "files": [
35
+ "src",
36
+ "dist",
37
+ "assets",
38
+ "describe.json",
39
+ "CHANGELOG.md",
40
+ "README.md",
41
+ "PUBLISHING.md",
42
+ "GUIDE.md"
43
+ ],
44
+ "engines": {
45
+ "node": ">=22.6"
46
+ },
47
+ "scripts": {
48
+ "test": "node test/dishes.test.mjs && node test/eat.test.mjs && node test/state.test.mjs && node test/combos.test.mjs && node test/together.test.mjs && node test/life.test.mjs && node test/wardrobe.test.mjs && node test/life-world.test.mjs && node test/weather.test.mjs && node test/funlink.test.mjs && node test/maplink.test.mjs && node test/world.test.mjs && node test/panels.test.mjs",
49
+ "dishes": "node tools/validate-dishes.mjs",
50
+ "selfcheck": "node tools/selfcheck.mjs",
51
+ "check:install": "node tools/check-install.mjs",
52
+ "check:publish": "node tools/publish-check.mjs --online",
53
+ "describe": "node tools/make-describe.mjs",
54
+ "prepublishOnly": "node tools/validate-dishes.mjs && node tools/selfcheck.mjs && node tools/publish-check.mjs --online && node test/dishes.test.mjs && node test/eat.test.mjs && node test/state.test.mjs && node test/combos.test.mjs && node test/together.test.mjs && node test/life.test.mjs && node test/wardrobe.test.mjs && node test/life-world.test.mjs && node test/weather.test.mjs && node test/funlink.test.mjs && node test/maplink.test.mjs && node test/world.test.mjs && node test/panels.test.mjs && node tools/make-describe.mjs --check"
55
+ },
56
+ "cortico": {
57
+ "kind": "world",
58
+ "api": 6,
59
+ "displayName": "鱼的每一天",
60
+ "icon": "assets/icon.png",
61
+ "webUiClient": "dist/webui.js",
62
+ "describe": "describe.json",
63
+ "locales": {
64
+ "zh": {
65
+ "displayName": "鱼的每一天",
66
+ "description": "先给她一天,再给她一桌饭。每天晚上到点请她自己写明天怎么过(零 API Key,用已配的模型),第二天按它过;你还能按日型给她备一张「能做的事」清单,日程里就会写成真能做的一件事,而不是「在家玩」这种空白。到点还有「她自己的时间」,让她挑件事做并记一笔——上班/通勤时段默认不叫,开了开关才照叫,但会换成报备的说法。主人能在「今天」面板看今天和明天的时间线、此刻她在做什么、她做过什么、往前翻往期,也能临时改掉某一段。桌上是 824 道菜(28 个菜系组),每道都有九维口味、香气、口感、余韵和一段实吃描写;她能自己按菜系挑,主人也能从面板端一道或整桌端过去(8 套内置套餐,也能自己勾几道攒成一桌存下来);还能和她一起吃一顿:邀请她、互相喂一口,你吃了什么她也知道。同一道菜每次吃到的都不一样,吃过什么、对什么反应、口味画像跨天攒着。饭点提醒、「她的一天」和自由时间都能在配置里单独关掉。\n\n能和这几个扩展联动,都是一个开关的事,不装就整段不出现、绝不报错:装了「生图工作室」,她写日程时会列出衣柜和场景,发图时穿着地点对得上;装了「娱乐时间」,「自己的时间」里会多一行,她能真出门逛;装了「鱼的小世界」,「自己的时间」里会多一行,她会想起周围那些地方。"
67
+ },
68
+ "en": {
69
+ "displayName": "Fish Every Day",
70
+ "description": "First a day of her own, then a table of food. Every evening she is asked to write tomorrow herself (no API key — it uses the model you already have), and the next day she lives it; you can also prepare a list of \"things she can actually do\" per day type, so the day she writes is made of real things instead of a blank \"hanging out at home\". On her own-time slots she picks something to do and logs it — while she is at work or commuting it stays quiet by default, and with one switch on it still speaks but as a check-in rather than \"this time is yours\". The Today panel shows today's and tomorrow's timeline, what she is doing right now, what she has been up to, past days, and lets you change a stretch of it. The table holds 824 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, her day, and her own time can each be switched off in config.\n\nIt can also hook up to three other extensions, one switch each, and nothing breaks when they are absent: with the image studio installed she lists the wardrobe and scenes when writing her day, so the outfit and place match when she sends a picture; with Fun Time installed her own time gains one line and she can really go out; with Little World installed her own time gains another line and she remembers the places around her."
71
+ }
72
+ },
73
+ "tags": [
74
+ "companion",
75
+ "internal-state",
76
+ "experimental"
77
+ ]
78
+ }
79
+ }