cortico-world-fun 0.2.1 → 0.3.1

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/describe.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "tools": [
3
3
  {
4
4
  "name": "fun_places",
5
- "description": "查询当前可去地点,默认按营业状态和拥挤度排序;all 列出全部,kind 筛选类别。地点名以此工具返回为准。",
5
+ "description": "查询地点、当前可逛项目及心愿的合适时段。",
6
6
  "parameters": {
7
7
  "type": "object",
8
8
  "properties": {
@@ -99,7 +99,7 @@
99
99
  },
100
100
  {
101
101
  "name": "fun_choice",
102
- "description": "处理 fun_wander 回执中出现的待选择事件。按回执提供的 choiceId 和 optionId 选一个,不会凭空添加收获。",
102
+ "description": "按待选回执的选项处理当前事件,也可略过。",
103
103
  "parameters": {
104
104
  "type": "object",
105
105
  "properties": {
@@ -109,7 +109,7 @@
109
109
  },
110
110
  "optionId": {
111
111
  "type": "string",
112
- "description": "待选择事件回执给出的 optionId。"
112
+ "description": "使用回执中的 optionId,或填 skip 略过。"
113
113
  }
114
114
  },
115
115
  "required": [
@@ -122,19 +122,47 @@
122
122
  "write"
123
123
  ],
124
124
  "summary": {
125
- "zh": "处理逛到的结构化事件选择,按回执中的 choiceId 和 optionId 选择。",
126
- "en": "Resolve a structured event choice using the choiceId and optionId from the receipt."
125
+ "zh": "处理待选择事件,可按回执选择或略过。",
126
+ "en": "Resolve or skip a pending event choice."
127
+ }
128
+ },
129
+ {
130
+ "name": "fun_resume",
131
+ "description": "继续未逛完的行程,返回进度和待选事件。",
132
+ "parameters": {
133
+ "type": "object",
134
+ "properties": {
135
+ "id": {
136
+ "type": "string",
137
+ "description": "fun_view 提供的未完行程 ID。"
138
+ }
139
+ },
140
+ "required": [
141
+ "id"
142
+ ],
143
+ "additionalProperties": false
144
+ },
145
+ "tags": [
146
+ "write"
147
+ ],
148
+ "summary": {
149
+ "zh": "继续一趟未逛完的行程。",
150
+ "en": "Resume an unfinished outing."
127
151
  }
128
152
  },
129
153
  {
130
154
  "name": "fun_home",
131
- "description": "结束当前行程并返回摘要及记录提示。note 可选,记录一句本趟感受。",
155
+ "description": "收摊并把已发生的经历记入纪念册。",
132
156
  "parameters": {
133
157
  "type": "object",
134
158
  "properties": {
135
159
  "note": {
136
160
  "type": "string",
137
161
  "description": "这一趟怎么样,一句话,可选。"
162
+ },
163
+ "draftId": {
164
+ "type": "string",
165
+ "description": "要按已有记录结束未完行程时,填 fun_view 提供的 ID。结束正在逛的行程时不填。"
138
166
  }
139
167
  },
140
168
  "additionalProperties": false
@@ -162,9 +190,60 @@
162
190
  "en": "Show current place recommendations; use fun_places for filters."
163
191
  }
164
192
  },
193
+ {
194
+ "name": "fun_route",
195
+ "description": "规划两站出门、前往下一站、改下一站或取消后续;不自动移动。",
196
+ "parameters": {
197
+ "type": "object",
198
+ "properties": {
199
+ "action": {
200
+ "type": "string",
201
+ "enum": [
202
+ "plan",
203
+ "status",
204
+ "next",
205
+ "change",
206
+ "cancel"
207
+ ]
208
+ },
209
+ "places": {
210
+ "type": "array",
211
+ "items": {
212
+ "type": "string"
213
+ },
214
+ "minItems": 2,
215
+ "maxItems": 2,
216
+ "description": "plan 时填两个不同地点正名或 ID。"
217
+ },
218
+ "id": {
219
+ "type": "string",
220
+ "description": "next/change/cancel 时填回执中的路线 ID。"
221
+ },
222
+ "place": {
223
+ "type": "string",
224
+ "description": "change 时的新下一站;只改尚未去的站。"
225
+ },
226
+ "company": {
227
+ "type": "string",
228
+ "description": "plan 时的同行人,可选。"
229
+ }
230
+ },
231
+ "required": [
232
+ "action"
233
+ ],
234
+ "additionalProperties": false
235
+ },
236
+ "tags": [
237
+ "write"
238
+ ],
239
+ "summary": {
240
+ "zh": "规划和管理最多两站的出门路线,明确前往下一站或提前结束。",
241
+ "en": "Plan and manage a two-stop outing, explicitly move on or end early."
242
+ }
243
+ },
165
244
  {
166
245
  "name": "fun_view",
167
- "description": "按需查询近期或珍藏的行程记录。",
246
+ "description": "查询行程,可按地点、同行人、日期或关键词检索。",
168
247
  "parameters": {
169
248
  "type": "object",
170
249
  "properties": {
@@ -173,6 +252,30 @@
173
252
  "description": "看最近几趟,默认 5。",
174
253
  "minimum": 1,
175
254
  "maximum": 20
255
+ },
256
+ "query": {
257
+ "type": "string",
258
+ "description": "搜索地点、项目、备注、小事或纪念品。"
259
+ },
260
+ "place": {
261
+ "type": "string",
262
+ "description": "只看这个地点的行程,正名或别名。"
263
+ },
264
+ "company": {
265
+ "type": "string",
266
+ "description": "只看与这位同行人的行程。"
267
+ },
268
+ "from": {
269
+ "type": "string",
270
+ "description": "开始日期 YYYY-MM-DD,包含当天。"
271
+ },
272
+ "to": {
273
+ "type": "string",
274
+ "description": "结束日期 YYYY-MM-DD,包含当天。"
275
+ },
276
+ "id": {
277
+ "type": "string",
278
+ "description": "精确查看一个已有行程 ID。"
176
279
  }
177
280
  },
178
281
  "additionalProperties": false
@@ -182,8 +285,8 @@
182
285
  "snapshot"
183
286
  ],
184
287
  "summary": {
185
- "zh": "按需查询近期或珍藏的行程记录。",
186
- "en": "Query recent or kept trip records on demand."
288
+ "zh": "查看正在逛、未逛完或已收摊的行程。",
289
+ "en": "View active, unfinished, or finished outings."
187
290
  }
188
291
  },
189
292
  {
@@ -285,6 +388,64 @@
285
388
  "en": "Keep or unkeep a trip without changing the recent trip book or permanent collection."
286
389
  }
287
390
  },
391
+ {
392
+ "name": "fun_story",
393
+ "description": "管理本地地点剧情包,校验和预览只读,导入或启停须指定操作。",
394
+ "parameters": {
395
+ "type": "object",
396
+ "properties": {
397
+ "action": {
398
+ "type": "string",
399
+ "enum": [
400
+ "list",
401
+ "template",
402
+ "validate",
403
+ "preview",
404
+ "export",
405
+ "import",
406
+ "enable",
407
+ "disable",
408
+ "remove"
409
+ ]
410
+ },
411
+ "id": {
412
+ "type": "string",
413
+ "description": "已有剧情包 ID,来自 list。"
414
+ },
415
+ "json": {
416
+ "type": "string",
417
+ "description": "完整剧情包 JSON,最多 32 KB;validate/preview 不保存。"
418
+ },
419
+ "placeId": {
420
+ "type": "string",
421
+ "description": "template 绑定的真实地点 ID,可来自自填地点;list 提供可用 ID。"
422
+ },
423
+ "area": {
424
+ "type": "string",
425
+ "description": "preview 的项目,默认使用起始节点项目。"
426
+ },
427
+ "time": {
428
+ "type": "string",
429
+ "description": "preview 的测试时刻 HH:MM,默认当前本地时刻。"
430
+ },
431
+ "replace": {
432
+ "type": "boolean",
433
+ "description": "import 覆盖已有同 ID 自定义包时才设 true。"
434
+ }
435
+ },
436
+ "required": [
437
+ "action"
438
+ ],
439
+ "additionalProperties": false
440
+ },
441
+ "tags": [
442
+ "write"
443
+ ],
444
+ "summary": {
445
+ "zh": "管理、校验与预览本地地点剧情包,支持自填地点。",
446
+ "en": "Manage, validate, and preview local story packs, including custom places."
447
+ }
448
+ },
288
449
  {
289
450
  "name": "fun_shelf",
290
451
  "description": "按地点查询长期纪念品收藏和收集进度。",
@@ -314,7 +475,7 @@
314
475
  "key": "worlds.fun.env",
315
476
  "title": "娱乐时间",
316
477
  "role": "envPrompt",
317
- "content": "## 娱乐时间\n\n出游流程:`fun_places` 查询地点 → `fun_go` 进门 → `fun_wander` 逐处游逛 → `fun_home` 收摊;现在出门可用 `fun_start`。地点、项目、纪念品和拍照点名称以工具回执为准;吃喝只填当前地点真实提供的品类。历史与收藏按需用 `fun_view`、`fun_shelf` 查询。\n\n- 遇到带 `choiceId` / `optionId` 的待选事件,必须照回执调用 `fun_choice` 完成选择后再继续,不猜 ID 或选项。\n- 明确表达想去或想做时用 `fun_wish` 记录、`fun_wishes` 查询;不催促、不从旧行程推断完成。\n- 发图用 `imggen_draw`:按 `fun_home` 回执填写 `scene` / `outfits` 正名,不编场景或衣服名字;库里没找到的不要填。\n- 食物只记品类。开关联动允许且实际用「鱼的每一天」的 `feast_menu` → `feast_eat` 后才能描述口感;否则只说吃喝了什么,别形容味道。本插件不会探测别的扩展装没装,不依赖其他 World。\n- 时段可能改变氛围和可逛项目;重复到访有效。历史只按需查询,不编造未发生的经历。\n- 用户自填地点通常没有素材库场景;以回执为准。地点清单和动态详情通过 `fun_places` 查询。预设删不掉,只能恢复。\n- 出门前可用 `feast_life_now` 对齐日程;收摊后按回执用 `feast_life_play` 记录实际经历。\n\n{{fun_places_block}}\n"
478
+ "content": "## 娱乐时间\n\n出游流程:`fun_places` 查询地点 → `fun_go` 进门 → `fun_wander` 逐处游逛 → `fun_home` 收摊;现在出门可用 `fun_start`。地点、项目、纪念品和拍照点名称以工具回执为准;吃喝只填当前地点真实提供的品类。历史与收藏按需用 `fun_view`、`fun_shelf` 查询。\n\n- 连逛两处可用 `fun_route` 规划;每站自己进门、收摊,再决定下一站、换一站或提前结束,不自动移动。\n- 中断后用 `fun_view` 找未完行程,再决定续逛或按已有记录收摊。待选事件按回执的选项处理。\n- 明确表达想去或想做时用 `fun_wish` 记录、`fun_wishes` 查询;不催促、不从旧行程推断完成。\n- 发图用 `imggen_draw`:按 `fun_home` 回执填写 `scene` / `outfits` 正名,不编场景或衣服名字;库里没找到的不要填。\n- 食物只记品类。开关联动允许且实际用「鱼的每一天」的 `feast_menu` → `feast_eat` 后才能描述口感;否则只说吃喝了什么,别形容味道。本插件不会探测别的扩展装没装,不依赖其他 World。\n- 时段可能改变氛围和可逛项目;重复到访有效。历史只按需查询,不编造未发生的经历。\n- 用户自填地点通常没有素材库场景;以回执为准。地点清单和动态详情通过 `fun_places` 查询。预设删不掉,只能恢复。\n- 出门前可用 `feast_life_now` 对齐日程;收摊后按回执用 `feast_life_play` 记录实际经历。\n\n{{fun_places_block}}\n"
318
479
  }
319
480
  ]
320
481
  }