cortico-world-fun 0.3.1 → 0.7.6
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 +586 -410
- package/PUBLISHING.md +38 -66
- package/README.md +192 -47
- package/assets/home/chibi-cards.webp +0 -0
- package/assets/home/chibi-chatting.webp +0 -0
- package/assets/home/chibi-cooking.webp +0 -0
- package/assets/home/chibi-gaming.webp +0 -0
- package/assets/home/chibi-idle.webp +0 -0
- package/assets/home/chibi-looking_outside.webp +0 -0
- package/assets/home/chibi-painting.webp +0 -0
- package/assets/home/chibi-reading.webp +0 -0
- package/assets/home/chibi-sleeping.webp +0 -0
- package/assets/home/chibi-watching.webp +0 -0
- package/assets/icon.png +0 -0
- package/describe.json +365 -48
- package/dist/webui.js +6758 -749
- package/package.json +8 -8
- package/src/ENV_PROMPT.md +11 -10
- package/src/bridge-echo-solo.json +137 -0
- package/src/config.js +356 -176
- package/src/creek-letter.js +3 -0
- package/src/definition.js +121 -106
- package/src/exploration.js +2 -2
- package/src/home-room.js +895 -0
- package/src/joint.js +230 -0
- package/src/journeys.js +1 -1
- package/src/phases.js +5 -10
- package/src/place-cover.js +176 -0
- package/src/place-library.js +794 -0
- package/src/place-transfer.js +162 -0
- package/src/state.js +717 -596
- package/src/story-canon.js +21 -0
- package/src/story-dm.js +140 -0
- package/src/story-examples.js +597 -78
- package/src/story-free.js +298 -0
- package/src/story-images.js +474 -0
- package/src/story-library.js +187 -20
- package/src/story-node-limit.js +55 -0
- package/src/story-packs.js +333 -16
- package/src/story-panel.js +318 -0
- package/src/story-read.js +121 -0
- package/src/story-reliability.js +95 -0
- package/src/story-secrets.js +485 -0
- package/src/story-venue-migration.js +113 -0
- package/src/swapped-plaque-riddle.json +167 -0
- package/src/time.js +16 -0
- package/src/user-venues.js +44 -15
- package/src/venues.js +93 -9
- package/src/world.js +3683 -1847
package/describe.json
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
},
|
|
15
15
|
"kind": {
|
|
16
16
|
"type": "string",
|
|
17
|
-
"description": "
|
|
17
|
+
"description": "筛一类:大类(「户外」)、感受(「室内」「夜」「免费」)或某处正名(「猫咖」)。"
|
|
18
18
|
},
|
|
19
19
|
"all": {
|
|
20
20
|
"type": "boolean",
|
|
21
|
-
"description": "
|
|
21
|
+
"description": "true = 列全部二十处(按开放排序),忽略 count。"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"additionalProperties": false
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "fun_go",
|
|
37
|
-
"description": "
|
|
37
|
+
"description": "开始一趟出游,返回当下描写与可逛项目。place 用 fun_places 给的地点名或别名。",
|
|
38
38
|
"parameters": {
|
|
39
39
|
"type": "object",
|
|
40
40
|
"properties": {
|
|
41
41
|
"place": {
|
|
42
42
|
"type": "string",
|
|
43
|
-
"description": "
|
|
43
|
+
"description": "去哪儿,如「海洋馆」。"
|
|
44
44
|
},
|
|
45
45
|
"company": {
|
|
46
46
|
"type": "string",
|
|
47
|
-
"description": "
|
|
47
|
+
"description": "同行人,可选;一个人不填。"
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"required": [
|
|
@@ -62,29 +62,29 @@
|
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"name": "fun_wander",
|
|
65
|
-
"description": "
|
|
65
|
+
"description": "在当前地点逛一处;可记录本次真实收获。回执带 choiceId 时先用 fun_choice。",
|
|
66
66
|
"parameters": {
|
|
67
67
|
"type": "object",
|
|
68
68
|
"properties": {
|
|
69
69
|
"area": {
|
|
70
70
|
"type": "string",
|
|
71
|
-
"description": "
|
|
71
|
+
"description": "逛哪儿,如「过山车」;不填自动挑一处没逛过的。"
|
|
72
72
|
},
|
|
73
73
|
"note": {
|
|
74
74
|
"type": "string",
|
|
75
|
-
"description": "
|
|
75
|
+
"description": "一句话,可选。"
|
|
76
76
|
},
|
|
77
77
|
"buy": {
|
|
78
78
|
"type": "string",
|
|
79
|
-
"description": "
|
|
79
|
+
"description": "买了什么,填 souvenir 名。"
|
|
80
80
|
},
|
|
81
81
|
"photo": {
|
|
82
82
|
"type": "string",
|
|
83
|
-
"description": "
|
|
83
|
+
"description": "在哪儿拍照,填 photoSpot 名。"
|
|
84
84
|
},
|
|
85
85
|
"consume": {
|
|
86
86
|
"type": "string",
|
|
87
|
-
"description": "
|
|
87
|
+
"description": "只填这处真有的品类。只记名字不记味道——味道用 feast_menu/feast_eat 去「鱼的每一天」点。"
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
"additionalProperties": false
|
|
@@ -105,11 +105,11 @@
|
|
|
105
105
|
"properties": {
|
|
106
106
|
"choiceId": {
|
|
107
107
|
"type": "string",
|
|
108
|
-
"description": "
|
|
108
|
+
"description": "回执的 choiceId。"
|
|
109
109
|
},
|
|
110
110
|
"optionId": {
|
|
111
111
|
"type": "string",
|
|
112
|
-
"description": "
|
|
112
|
+
"description": "回执的 optionId,或 skip。"
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
"required": [
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"properties": {
|
|
135
135
|
"id": {
|
|
136
136
|
"type": "string",
|
|
137
|
-
"description": "fun_view
|
|
137
|
+
"description": "fun_view 的未完行程 ID。"
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
140
|
"required": [
|
|
@@ -152,17 +152,17 @@
|
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
"name": "fun_home",
|
|
155
|
-
"description": "
|
|
155
|
+
"description": "回家,把已发生的经历记入纪念册。",
|
|
156
156
|
"parameters": {
|
|
157
157
|
"type": "object",
|
|
158
158
|
"properties": {
|
|
159
159
|
"note": {
|
|
160
160
|
"type": "string",
|
|
161
|
-
"description": "
|
|
161
|
+
"description": "一句话,可选。"
|
|
162
162
|
},
|
|
163
163
|
"draftId": {
|
|
164
164
|
"type": "string",
|
|
165
|
-
"description": "
|
|
165
|
+
"description": "按已有记录结束未完行程时填 fun_view 的 ID;结束正在逛的不填。"
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
"additionalProperties": false
|
|
@@ -175,6 +175,57 @@
|
|
|
175
175
|
"en": "End the trip and return its summary and logging prompt."
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
|
+
{
|
|
179
|
+
"name": "fun_home_state",
|
|
180
|
+
"description": "查看房间状态:活动、备注、今天想做什么、待记一条、住所、是否在外。只读,不含图片。",
|
|
181
|
+
"parameters": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"properties": {},
|
|
184
|
+
"additionalProperties": false
|
|
185
|
+
},
|
|
186
|
+
"tags": [
|
|
187
|
+
"read",
|
|
188
|
+
"snapshot"
|
|
189
|
+
],
|
|
190
|
+
"summary": {
|
|
191
|
+
"zh": "只读查看房间状态与可复制的「待记一条」;不含图片,不写盘。",
|
|
192
|
+
"en": "Read the room state and a copyable \"one line to log\"; no images, no writes."
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "fun_home_activity",
|
|
197
|
+
"description": "切换她在家的活动(十个固定 id),可附一句备注。expectedRevision 不一致时返回原因,不自动重试。",
|
|
198
|
+
"parameters": {
|
|
199
|
+
"type": "object",
|
|
200
|
+
"properties": {
|
|
201
|
+
"activity": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"description": "idle / reading / watching / cards / gaming / painting / cooking / looking_outside / sleeping / chatting。"
|
|
204
|
+
},
|
|
205
|
+
"note": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"description": "房间备注,≤120 字,可选。"
|
|
208
|
+
},
|
|
209
|
+
"expectedRevision": {
|
|
210
|
+
"type": "integer",
|
|
211
|
+
"minimum": 0,
|
|
212
|
+
"description": "fun_home_state 的 revision。"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"required": [
|
|
216
|
+
"activity",
|
|
217
|
+
"expectedRevision"
|
|
218
|
+
],
|
|
219
|
+
"additionalProperties": false
|
|
220
|
+
},
|
|
221
|
+
"tags": [
|
|
222
|
+
"write"
|
|
223
|
+
],
|
|
224
|
+
"summary": {
|
|
225
|
+
"zh": "切换她在家的十个固定活动之一,可附备注;revision 冲突不自动重试。",
|
|
226
|
+
"en": "Switch one of her ten fixed home activities, optionally with a note; no retry on revision conflicts."
|
|
227
|
+
}
|
|
228
|
+
},
|
|
178
229
|
{
|
|
179
230
|
"name": "fun_start",
|
|
180
231
|
"description": "查看当前推荐地点;详细筛选用 fun_places。",
|
|
@@ -213,19 +264,19 @@
|
|
|
213
264
|
},
|
|
214
265
|
"minItems": 2,
|
|
215
266
|
"maxItems": 2,
|
|
216
|
-
"description": "plan
|
|
267
|
+
"description": "plan:两个不同地点。"
|
|
217
268
|
},
|
|
218
269
|
"id": {
|
|
219
270
|
"type": "string",
|
|
220
|
-
"description": "next/change/cancel
|
|
271
|
+
"description": "next/change/cancel:路线 ID。"
|
|
221
272
|
},
|
|
222
273
|
"place": {
|
|
223
274
|
"type": "string",
|
|
224
|
-
"description": "change
|
|
275
|
+
"description": "change:新下一站(只改未去的)。"
|
|
225
276
|
},
|
|
226
277
|
"company": {
|
|
227
278
|
"type": "string",
|
|
228
|
-
"description": "plan
|
|
279
|
+
"description": "plan:同行人,可选。"
|
|
229
280
|
}
|
|
230
281
|
},
|
|
231
282
|
"required": [
|
|
@@ -249,33 +300,33 @@
|
|
|
249
300
|
"properties": {
|
|
250
301
|
"count": {
|
|
251
302
|
"type": "integer",
|
|
252
|
-
"description": "
|
|
303
|
+
"description": "最近几趟,默认 5。",
|
|
253
304
|
"minimum": 1,
|
|
254
305
|
"maximum": 20
|
|
255
306
|
},
|
|
256
307
|
"query": {
|
|
257
308
|
"type": "string",
|
|
258
|
-
"description": "
|
|
309
|
+
"description": "搜地点、项目、备注、小事、纪念品。"
|
|
259
310
|
},
|
|
260
311
|
"place": {
|
|
261
312
|
"type": "string",
|
|
262
|
-
"description": "
|
|
313
|
+
"description": "只看这处,正名或别名。"
|
|
263
314
|
},
|
|
264
315
|
"company": {
|
|
265
316
|
"type": "string",
|
|
266
|
-
"description": "
|
|
317
|
+
"description": "只看这位同行人。"
|
|
267
318
|
},
|
|
268
319
|
"from": {
|
|
269
320
|
"type": "string",
|
|
270
|
-
"description": "
|
|
321
|
+
"description": "YYYY-MM-DD,含当天。"
|
|
271
322
|
},
|
|
272
323
|
"to": {
|
|
273
324
|
"type": "string",
|
|
274
|
-
"description": "
|
|
325
|
+
"description": "YYYY-MM-DD,含当天。"
|
|
275
326
|
},
|
|
276
327
|
"id": {
|
|
277
328
|
"type": "string",
|
|
278
|
-
"description": "
|
|
329
|
+
"description": "精确看一趟。"
|
|
279
330
|
}
|
|
280
331
|
},
|
|
281
332
|
"additionalProperties": false
|
|
@@ -285,13 +336,13 @@
|
|
|
285
336
|
"snapshot"
|
|
286
337
|
],
|
|
287
338
|
"summary": {
|
|
288
|
-
"zh": "
|
|
339
|
+
"zh": "查看正在逛、未逛完或已回家的行程。",
|
|
289
340
|
"en": "View active, unfinished, or finished outings."
|
|
290
341
|
}
|
|
291
342
|
},
|
|
292
343
|
{
|
|
293
344
|
"name": "fun_wishes",
|
|
294
|
-
"description": "
|
|
345
|
+
"description": "查看出游心愿及状态;只记明确说过的,不催促。",
|
|
295
346
|
"parameters": {
|
|
296
347
|
"type": "object",
|
|
297
348
|
"properties": {},
|
|
@@ -308,7 +359,7 @@
|
|
|
308
359
|
},
|
|
309
360
|
{
|
|
310
361
|
"name": "fun_wish",
|
|
311
|
-
"description": "
|
|
362
|
+
"description": "记录明确表达的出游心愿,或暂缓、恢复、取消。项目/时段/纪念品须填真实正名;不替你出游、不按旧行程补完成。",
|
|
312
363
|
"parameters": {
|
|
313
364
|
"type": "object",
|
|
314
365
|
"properties": {
|
|
@@ -323,11 +374,11 @@
|
|
|
323
374
|
},
|
|
324
375
|
"id": {
|
|
325
376
|
"type": "string",
|
|
326
|
-
"description": "
|
|
377
|
+
"description": "fun_wishes 的心愿 ID。"
|
|
327
378
|
},
|
|
328
379
|
"place": {
|
|
329
380
|
"type": "string",
|
|
330
|
-
"description": "
|
|
381
|
+
"description": "地点名,别名也认。"
|
|
331
382
|
},
|
|
332
383
|
"type": {
|
|
333
384
|
"type": "string",
|
|
@@ -344,7 +395,7 @@
|
|
|
344
395
|
},
|
|
345
396
|
"reason": {
|
|
346
397
|
"type": "string",
|
|
347
|
-
"description": "
|
|
398
|
+
"description": "你明确说过的缘由,可选。"
|
|
348
399
|
}
|
|
349
400
|
},
|
|
350
401
|
"required": [
|
|
@@ -362,17 +413,17 @@
|
|
|
362
413
|
},
|
|
363
414
|
{
|
|
364
415
|
"name": "fun_keepsake",
|
|
365
|
-
"description": "
|
|
416
|
+
"description": "珍藏或取消珍藏一趟已回家的行程;不影响收藏账本。",
|
|
366
417
|
"parameters": {
|
|
367
418
|
"type": "object",
|
|
368
419
|
"properties": {
|
|
369
420
|
"id": {
|
|
370
421
|
"type": "string",
|
|
371
|
-
"description": "
|
|
422
|
+
"description": "fun_view 的行程 ID。"
|
|
372
423
|
},
|
|
373
424
|
"keep": {
|
|
374
425
|
"type": "boolean",
|
|
375
|
-
"description": "true 珍藏,false
|
|
426
|
+
"description": "true 珍藏,false 取消。"
|
|
376
427
|
}
|
|
377
428
|
},
|
|
378
429
|
"required": [
|
|
@@ -390,7 +441,7 @@
|
|
|
390
441
|
},
|
|
391
442
|
{
|
|
392
443
|
"name": "fun_story",
|
|
393
|
-
"description": "
|
|
444
|
+
"description": "管理本地故事工坊:校验/预览只读,导入、启停、删除要指定 action。需打开「聊天里也能管故事」才挂。",
|
|
394
445
|
"parameters": {
|
|
395
446
|
"type": "object",
|
|
396
447
|
"properties": {
|
|
@@ -401,6 +452,7 @@
|
|
|
401
452
|
"template",
|
|
402
453
|
"validate",
|
|
403
454
|
"preview",
|
|
455
|
+
"playtest",
|
|
404
456
|
"export",
|
|
405
457
|
"import",
|
|
406
458
|
"enable",
|
|
@@ -410,27 +462,44 @@
|
|
|
410
462
|
},
|
|
411
463
|
"id": {
|
|
412
464
|
"type": "string",
|
|
413
|
-
"description": "
|
|
465
|
+
"description": "已有包 ID(list 取)。"
|
|
414
466
|
},
|
|
415
467
|
"json": {
|
|
416
468
|
"type": "string",
|
|
417
|
-
"description": "
|
|
469
|
+
"description": "完整包 JSON,≤32 KB;validate/preview 不保存。"
|
|
418
470
|
},
|
|
419
471
|
"placeId": {
|
|
420
472
|
"type": "string",
|
|
421
|
-
"description": "template
|
|
473
|
+
"description": "template 绑定的地点 ID(list 可查)。"
|
|
474
|
+
},
|
|
475
|
+
"mode": {
|
|
476
|
+
"type": "string",
|
|
477
|
+
"enum": [
|
|
478
|
+
"static",
|
|
479
|
+
"free"
|
|
480
|
+
],
|
|
481
|
+
"description": "template 类型:static 选项式(默认)/ free 场景包。"
|
|
422
482
|
},
|
|
423
483
|
"area": {
|
|
424
484
|
"type": "string",
|
|
425
|
-
"description": "preview
|
|
485
|
+
"description": "preview 的项目,默认起始项目。"
|
|
426
486
|
},
|
|
427
487
|
"time": {
|
|
428
488
|
"type": "string",
|
|
429
|
-
"description": "preview 的测试时刻 HH:MM
|
|
489
|
+
"description": "preview 的测试时刻 HH:MM,默认现在。"
|
|
490
|
+
},
|
|
491
|
+
"path": {
|
|
492
|
+
"type": "array",
|
|
493
|
+
"maxItems": 16,
|
|
494
|
+
"items": {
|
|
495
|
+
"type": "string",
|
|
496
|
+
"maxLength": 24
|
|
497
|
+
},
|
|
498
|
+
"description": "playtest 已选的路径,只用临时状态。"
|
|
430
499
|
},
|
|
431
500
|
"replace": {
|
|
432
501
|
"type": "boolean",
|
|
433
|
-
"description": "import
|
|
502
|
+
"description": "import 覆盖同 ID 包时设 true。"
|
|
434
503
|
}
|
|
435
504
|
},
|
|
436
505
|
"required": [
|
|
@@ -442,7 +511,7 @@
|
|
|
442
511
|
"write"
|
|
443
512
|
],
|
|
444
513
|
"summary": {
|
|
445
|
-
"zh": "
|
|
514
|
+
"zh": "管理、校验与预览本地故事工坊,支持自填地点。",
|
|
446
515
|
"en": "Manage, validate, and preview local story packs, including custom places."
|
|
447
516
|
}
|
|
448
517
|
},
|
|
@@ -454,7 +523,7 @@
|
|
|
454
523
|
"properties": {
|
|
455
524
|
"place": {
|
|
456
525
|
"type": "string",
|
|
457
|
-
"description": "
|
|
526
|
+
"description": "只看这处;不填看全部。"
|
|
458
527
|
}
|
|
459
528
|
},
|
|
460
529
|
"additionalProperties": false
|
|
@@ -467,15 +536,263 @@
|
|
|
467
536
|
"zh": "按地点查询长期纪念品收藏和收集进度。",
|
|
468
537
|
"en": "Query long-term souvenirs and collection progress by place."
|
|
469
538
|
}
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"name": "fun_story_places",
|
|
542
|
+
"description": "查询故事地点索引或单个地点详情;只读,不开始出游。",
|
|
543
|
+
"parameters": {
|
|
544
|
+
"type": "object",
|
|
545
|
+
"properties": {
|
|
546
|
+
"id": {
|
|
547
|
+
"type": "string",
|
|
548
|
+
"description": "地点 ID;不填返回索引。"
|
|
549
|
+
},
|
|
550
|
+
"full": {
|
|
551
|
+
"type": "boolean",
|
|
552
|
+
"description": "跳过 10 分钟记忆化,重取完整结果。"
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
"additionalProperties": false
|
|
556
|
+
},
|
|
557
|
+
"tags": [
|
|
558
|
+
"read",
|
|
559
|
+
"snapshot"
|
|
560
|
+
],
|
|
561
|
+
"summary": {
|
|
562
|
+
"zh": "查询地点索引或单个地点详情,只读,不开始出游;JSON 回执经标准 text 返回。",
|
|
563
|
+
"en": "Read the place index or one place detail; does not start an outing. JSON is returned in standard text."
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "fun_story_candidates",
|
|
568
|
+
"description": "查询可用故事候选和公开简介(不含未来分支);只读。",
|
|
569
|
+
"parameters": {
|
|
570
|
+
"type": "object",
|
|
571
|
+
"properties": {
|
|
572
|
+
"full": {
|
|
573
|
+
"type": "boolean",
|
|
574
|
+
"description": "跳过 10 分钟记忆化,重取完整结果。"
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
"additionalProperties": false
|
|
578
|
+
},
|
|
579
|
+
"tags": [
|
|
580
|
+
"read",
|
|
581
|
+
"snapshot"
|
|
582
|
+
],
|
|
583
|
+
"summary": {
|
|
584
|
+
"zh": "查询故事候选和公开简介,不返回未来分支;JSON 回执经标准 text 返回。",
|
|
585
|
+
"en": "Read story candidates and public synopses without future branches. JSON is returned in standard text."
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"name": "fun_story_detail",
|
|
590
|
+
"description": "查询一篇故事的公开资料与可用原因,不含节点全文。",
|
|
591
|
+
"parameters": {
|
|
592
|
+
"type": "object",
|
|
593
|
+
"properties": {
|
|
594
|
+
"id": {
|
|
595
|
+
"type": "string",
|
|
596
|
+
"description": "故事 ID。"
|
|
597
|
+
},
|
|
598
|
+
"full": {
|
|
599
|
+
"type": "boolean",
|
|
600
|
+
"description": "跳过 10 分钟记忆化,重取完整结果。"
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
"required": [
|
|
604
|
+
"id"
|
|
605
|
+
],
|
|
606
|
+
"additionalProperties": false
|
|
607
|
+
},
|
|
608
|
+
"tags": [
|
|
609
|
+
"read",
|
|
610
|
+
"snapshot"
|
|
611
|
+
],
|
|
612
|
+
"summary": {
|
|
613
|
+
"zh": "查询单个故事的公开资料与可用原因,不返回节点内容;JSON 回执经标准 text 返回。",
|
|
614
|
+
"en": "Read one story’s public metadata and availability without node contents. JSON is returned in standard text."
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"name": "fun_story_current",
|
|
619
|
+
"description": "查询当前故事的状态、已发生片段与待选项;不推进。",
|
|
620
|
+
"parameters": {
|
|
621
|
+
"type": "object",
|
|
622
|
+
"properties": {
|
|
623
|
+
"full": {
|
|
624
|
+
"type": "boolean",
|
|
625
|
+
"description": "跳过 10 分钟记忆化,重取完整结果。"
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
"additionalProperties": false
|
|
629
|
+
},
|
|
630
|
+
"tags": [
|
|
631
|
+
"read",
|
|
632
|
+
"snapshot"
|
|
633
|
+
],
|
|
634
|
+
"summary": {
|
|
635
|
+
"zh": "查询当前故事的状态和已发生内容,不推进故事;JSON 回执经标准 text 返回。",
|
|
636
|
+
"en": "Read current story state and actual events without advancing it. JSON is returned in standard text."
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"name": "fun_story_recap",
|
|
641
|
+
"description": "查询已结束故事的事实回顾,只含实际发生。",
|
|
642
|
+
"parameters": {
|
|
643
|
+
"type": "object",
|
|
644
|
+
"properties": {
|
|
645
|
+
"id": {
|
|
646
|
+
"type": "string",
|
|
647
|
+
"description": "回忆 ID;不填取最近。"
|
|
648
|
+
},
|
|
649
|
+
"full": {
|
|
650
|
+
"type": "boolean",
|
|
651
|
+
"description": "跳过 10 分钟记忆化,重取完整结果。"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"additionalProperties": false
|
|
655
|
+
},
|
|
656
|
+
"tags": [
|
|
657
|
+
"read",
|
|
658
|
+
"snapshot"
|
|
659
|
+
],
|
|
660
|
+
"summary": {
|
|
661
|
+
"zh": "查询已保存故事的事实回顾,不写入日程或长期记忆;JSON 回执经标准 text 返回。",
|
|
662
|
+
"en": "Read an actual story recap without writing a schedule or long-term memory. JSON is returned in standard text."
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"name": "fun_story_schedule",
|
|
667
|
+
"description": "生成候选的可复制短文本;复制不写日程、不出发。",
|
|
668
|
+
"parameters": {
|
|
669
|
+
"type": "object",
|
|
670
|
+
"properties": {
|
|
671
|
+
"id": {
|
|
672
|
+
"type": "string",
|
|
673
|
+
"description": "候选 ID,可选。"
|
|
674
|
+
},
|
|
675
|
+
"full": {
|
|
676
|
+
"type": "boolean",
|
|
677
|
+
"description": "跳过 10 分钟记忆化,重取完整结果。"
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
"additionalProperties": false
|
|
681
|
+
},
|
|
682
|
+
"tags": [
|
|
683
|
+
"read",
|
|
684
|
+
"snapshot"
|
|
685
|
+
],
|
|
686
|
+
"summary": {
|
|
687
|
+
"zh": "生成可复制的故事候选短文本;复制不写日程;JSON 回执经标准 text 返回。",
|
|
688
|
+
"en": "Create copyable story-candidate text; copying does not write a schedule. JSON is returned in standard text."
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "fun_story_start",
|
|
693
|
+
"description": "在聊天里开始一段故事(需开「文字通道也能玩故事」)。先从 fun_story_candidates / detail 取 packId、revision,从 fun_story_current 取 startStamp;开始前会重校验。用户明确说要开始才填 confirm:true。",
|
|
694
|
+
"parameters": {
|
|
695
|
+
"type": "object",
|
|
696
|
+
"properties": {
|
|
697
|
+
"packId": {
|
|
698
|
+
"type": "string",
|
|
699
|
+
"description": "候选里的故事 ID。"
|
|
700
|
+
},
|
|
701
|
+
"revision": {
|
|
702
|
+
"type": "string",
|
|
703
|
+
"description": "候选里的版本。"
|
|
704
|
+
},
|
|
705
|
+
"startStamp": {
|
|
706
|
+
"type": "string",
|
|
707
|
+
"description": "fun_story_current 的 startStamp。"
|
|
708
|
+
},
|
|
709
|
+
"confirm": {
|
|
710
|
+
"type": "boolean",
|
|
711
|
+
"description": "用户明确说要开始时填 true。"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"required": [
|
|
715
|
+
"packId",
|
|
716
|
+
"revision",
|
|
717
|
+
"startStamp",
|
|
718
|
+
"confirm"
|
|
719
|
+
],
|
|
720
|
+
"additionalProperties": false
|
|
721
|
+
},
|
|
722
|
+
"tags": [
|
|
723
|
+
"write"
|
|
724
|
+
],
|
|
725
|
+
"summary": {
|
|
726
|
+
"zh": "在文字通道里开始一段故事(需开启文字通道开关),开始前重新校验条件;JSON 回执经标准 text 返回。",
|
|
727
|
+
"en": "Start a story from a text channel (requires the text switch), rechecking conditions. JSON is returned in standard text."
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"name": "fun_story_act",
|
|
732
|
+
"description": "在聊天里推进当前故事,把用户原话交给它,不替用户编选择。选项式按回合身份提交:用户回合记 owner,鱼回合由鱼决定;原话对不上先返回 proposalId,确认后再带 proposalId+optionId。自由模式每句一回合;结束用 intent:close + confirm:true。",
|
|
733
|
+
"parameters": {
|
|
734
|
+
"type": "object",
|
|
735
|
+
"properties": {
|
|
736
|
+
"tripId": {
|
|
737
|
+
"type": "string",
|
|
738
|
+
"description": "fun_story_current 的行程 ID。"
|
|
739
|
+
},
|
|
740
|
+
"stamp": {
|
|
741
|
+
"type": "string",
|
|
742
|
+
"description": "fun_story_current 的进度戳;变了重读,别猜。"
|
|
743
|
+
},
|
|
744
|
+
"intent": {
|
|
745
|
+
"type": "string",
|
|
746
|
+
"enum": [
|
|
747
|
+
"say",
|
|
748
|
+
"close"
|
|
749
|
+
],
|
|
750
|
+
"description": "say 说一句;close 结束并保存回忆。"
|
|
751
|
+
},
|
|
752
|
+
"say": {
|
|
753
|
+
"type": "string",
|
|
754
|
+
"description": "用户原话,≤200 字。"
|
|
755
|
+
},
|
|
756
|
+
"proposalId": {
|
|
757
|
+
"type": "string",
|
|
758
|
+
"description": "上次返回的提议 ID。"
|
|
759
|
+
},
|
|
760
|
+
"optionId": {
|
|
761
|
+
"type": "string",
|
|
762
|
+
"description": "确认提交的选项 ID。"
|
|
763
|
+
},
|
|
764
|
+
"from": {
|
|
765
|
+
"type": "string",
|
|
766
|
+
"description": "QQ 昵称,仅日志归属,可选。"
|
|
767
|
+
},
|
|
768
|
+
"confirm": {
|
|
769
|
+
"type": "boolean",
|
|
770
|
+
"description": "intent 为 close 时填 true。"
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"required": [
|
|
774
|
+
"tripId",
|
|
775
|
+
"stamp",
|
|
776
|
+
"intent"
|
|
777
|
+
],
|
|
778
|
+
"additionalProperties": false
|
|
779
|
+
},
|
|
780
|
+
"tags": [
|
|
781
|
+
"write"
|
|
782
|
+
],
|
|
783
|
+
"summary": {
|
|
784
|
+
"zh": "在文字通道里推进当前故事:选项式先给待确认提议,自由模式每句推进一回合;JSON 回执经标准 text 返回。",
|
|
785
|
+
"en": "Advance the current story from a text channel: option packs return a proposal, free packs advance one turn per line. JSON is returned in standard text."
|
|
786
|
+
}
|
|
470
787
|
}
|
|
471
788
|
],
|
|
472
789
|
"events": [],
|
|
473
790
|
"prompts": [
|
|
474
791
|
{
|
|
475
792
|
"key": "worlds.fun.env",
|
|
476
|
-
"title": "
|
|
793
|
+
"title": "从0开始的肥鱼大冒险",
|
|
477
794
|
"role": "envPrompt",
|
|
478
|
-
"content": "##
|
|
795
|
+
"content": "## 从0开始的肥鱼大冒险\n\n出游:`fun_places` 查地点 → `fun_go` 进门 → `fun_wander` 逐处逛 → `fun_home` 回家;也能用 `fun_start` 现在出门。地点、项目、纪念品、拍照点名称以回执为准;吃喝只填当前地点真有的品类。历史与收藏按需查 `fun_view`、`fun_shelf`。\n\n- 连逛两处用 `fun_route`:每站自己进门、回家,再决定下一站、换一站或提前结束,不自动移动。中断后用 `fun_view` 找未完行程;待选事件按回执处理。\n- 房间状态是画面,不是经历;切姿势用 `fun_home_activity`,只读看房间用 `fun_home_state`;`pendingLine` 只是可复制文本。\n- 明确表达想去或想做时用 `fun_wish` 记录、`fun_wishes` 查询;不催促、不从旧行程推断完成。\n- 配图:想画就自己画(`imggen_draw`),不想画不用管;`scene` / `outfits` 用正名,只画真实发生过的样子,库里没找到的不要填。\n- 吃喝只记品类。允许且实际用「鱼的每一天」的 `feast_menu` → `feast_eat` 后才形容味道;否则只说吃喝了什么,别形容味道。本插件不会探测别的扩展装没装,不依赖其他 World。\n- 时段会改变氛围和可逛项目;重复到访有效。历史只按需查,不编造未发生的经历。\n- 用户自填地点通常没有素材库场景;地点清单与详情用 `fun_places`。预设删不掉,只能恢复;故事库随包四篇,也能自己写。\n- 出门前可用 `feast_life_now` 对齐日程,用 `feast_life_adjust` 写进当天;回家后按回执用 `feast_life_play` 记录。自己出门不限次数:到时段会收到提醒,去不去、去哪儿由你和主对话按日程定。\n- 故事只读查询同一参数 10 分钟内只回「没变化」:看到 `unchanged` 就停;上下文断了才加 `full:true`。\n\n{{fun_places_block}}"
|
|
479
796
|
}
|
|
480
797
|
]
|
|
481
798
|
}
|