codebee 0.1.71 → 0.1.73

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.
Files changed (118) hide show
  1. package/CHANGELOG.md +601 -589
  2. package/LICENSE +21 -21
  3. package/README.md +508 -509
  4. package/app/core/acceptance.py +100 -100
  5. package/app/core/aiflavor.py +197 -197
  6. package/app/core/artifacts.py +148 -148
  7. package/app/core/assets.py +110 -110
  8. package/app/core/attachments.py +623 -623
  9. package/app/core/audit.py +30 -30
  10. package/app/core/backup.py +470 -470
  11. package/app/core/beekeeper.py +183 -183
  12. package/app/core/benchstore.py +95 -95
  13. package/app/core/board.py +209 -209
  14. package/app/core/bookmeta.py +935 -935
  15. package/app/core/bookmeta_catalog.py +180 -180
  16. package/app/core/branching.py +137 -137
  17. package/app/core/builtin_agent.py +1680 -1673
  18. package/app/core/capability.py +144 -144
  19. package/app/core/chaptersafe.py +32 -32
  20. package/app/core/cleanup.py +303 -303
  21. package/app/core/compaction.py +201 -201
  22. package/app/core/covergen.py +356 -356
  23. package/app/core/defectretro.py +43 -43
  24. package/app/core/diagnostics.py +114 -114
  25. package/app/core/dispatch.py +190 -190
  26. package/app/core/dispatch_log.py +128 -128
  27. package/app/core/env_scrub.py +85 -85
  28. package/app/core/errorlog.py +137 -137
  29. package/app/core/evalbench.py +836 -720
  30. package/app/core/evaluation.py +174 -174
  31. package/app/core/failure_notify.py +290 -290
  32. package/app/core/flows.py +8 -8
  33. package/app/core/goal_service.py +167 -167
  34. package/app/core/health.py +374 -374
  35. package/app/core/history.py +38 -38
  36. package/app/core/hooks.py +162 -162
  37. package/app/core/jobs.py +25 -1
  38. package/app/core/manager.py +2208 -2143
  39. package/app/core/market.py +90 -4
  40. package/app/core/market_remote.py +16 -0
  41. package/app/core/mocks.py +64 -64
  42. package/app/core/modelhub.py +3 -2
  43. package/app/core/notify.py +201 -201
  44. package/app/core/novel_quality.py +189 -189
  45. package/app/core/operations.py +228 -228
  46. package/app/core/paihang.py +145 -138
  47. package/app/core/pipeline.py +102 -30
  48. package/app/core/planner.py +2 -0
  49. package/app/core/plugins.py +34 -0
  50. package/app/core/portguard.py +111 -111
  51. package/app/core/preview.py +293 -293
  52. package/app/core/prompt_guard.py +78 -0
  53. package/app/core/publish/__init__.py +7 -7
  54. package/app/core/publish/auto.py +396 -367
  55. package/app/core/publish/browser.py +655 -655
  56. package/app/core/publish/fanqie.py +165 -165
  57. package/app/core/publish/flow.py +640 -589
  58. package/app/core/publish/flows-fanqie-calibrated.json +336 -336
  59. package/app/core/publish/ledger.py +307 -229
  60. package/app/core/publish/manager.py +1118 -824
  61. package/app/core/publish/qimao.py +176 -146
  62. package/app/core/publish/ws.py +139 -139
  63. package/app/core/quality_gate.py +194 -0
  64. package/app/core/redact.py +38 -38
  65. package/app/core/repeat_guard.py +129 -129
  66. package/app/core/router.py +398 -398
  67. package/app/core/runner.py +2142 -2142
  68. package/app/core/selfupdate.py +384 -384
  69. package/app/core/session_log.py +161 -161
  70. package/app/core/sessions.py +312 -312
  71. package/app/core/settings_schema.py +270 -270
  72. package/app/core/share_page.py +114 -114
  73. package/app/core/skill_scan.py +139 -122
  74. package/app/core/skillpacks/fanqie-novel.md +98 -80
  75. package/app/core/skillpacks/market/character-bible.md +66 -66
  76. package/app/core/skillpacks/market/code-risk-checklist.md +58 -58
  77. package/app/core/skillpacks/market/git-workflow.md +57 -57
  78. package/app/core/skillpacks/market/release-notes.md +72 -72
  79. package/app/core/skillpacks/market/weekly-report.md +71 -71
  80. package/app/core/skillpacks/market/worldview-consistency.md +70 -70
  81. package/app/core/skillpacks/qimao-signing.md +70 -59
  82. package/app/core/skills.py +58 -8
  83. package/app/core/step_runner.py +132 -132
  84. package/app/core/store.py +51 -0
  85. package/app/core/task_compile.py +199 -199
  86. package/app/core/telemetry.py +292 -292
  87. package/app/core/tlsctx.py +64 -64
  88. package/app/core/token_meter.py +147 -147
  89. package/app/core/tracing.py +144 -144
  90. package/app/core/upstream.py +41 -41
  91. package/app/core/usage.py +1035 -1035
  92. package/app/core/volumes.py +389 -389
  93. package/app/core/wxdigest.py +858 -858
  94. package/app/core/zentao.py +2692 -2614
  95. package/app/main.py +110 -39
  96. package/app/mcp_server.py +175 -175
  97. package/app/pick_dialog.py +110 -110
  98. package/app/ui/app.js +509 -114
  99. package/app/ui/artdiff.js +74 -74
  100. package/app/ui/board.html +162 -162
  101. package/app/ui/board.js +305 -305
  102. package/app/ui/i18n.js +41 -2
  103. package/app/ui/icons/bee.svg +79 -79
  104. package/app/ui/index.html +8 -3
  105. package/app/ui/manifest.json +16 -16
  106. package/app/ui/qrcode.js +2297 -2297
  107. package/app/ui/style.css +74 -26
  108. package/bin/tutti.js +147 -147
  109. package/package.json +48 -47
  110. package/tools/wx_reader.py +261 -261
  111. package/app/.playwright-cli/console-2026-09-23T08-26-03-635Z.log +0 -88
  112. package/app/.playwright-cli/page-2026-09-23T08-26-03-845Z.yml +0 -126
  113. package/app/.playwright-cli/page-2026-09-23T08-29-44-203Z.png +0 -0
  114. package/app/.playwright-cli/page-2026-09-23T08-35-42-046Z.yml +0 -210
  115. package/app/.playwright-cli/page-2026-09-23T08-36-52-858Z.png +0 -0
  116. package/app/.playwright-cli/page-2026-09-23T08-37-33-938Z.png +0 -0
  117. package/app/.playwright-cli/run-detail-after.png +0 -0
  118. package/app//344/275/234/345/223/201/344/277/241/346/201/257-/344/270/203/347/214/253.md +0 -18
@@ -1,336 +1,336 @@
1
- {
2
- "_note": "番茄真机校准(2026-09-19 定稿,2026-09-24 加固):编辑器=/main/writer/<book_id>/publish/ 直达(章节号 input.serial-input 纯数字;标题 div.serial-editor-input-hint input ≥5字/30上限;正文 .ProseMirror ≥1000字;「下一步」保存校验后按钮组右缘箭头展开下拉含「定时发布」)。建书=/main/writer/create 直达表单:radio 签约模式/目标读者(label 真实点击)→ 阅读标签 select(y<430)弹层 arco-anchor 切主分类/主题/角色/情节 + 标签云点击 + 确认 → 内容标签 select(y>430)弹层 情感/人设/世界观 同构 → 名称/主角1/主角2/简介 → 立即创建(submit 步骤:auto_submit=false 时填好即停,留给人工提交) → 跳 book-info/<id>。锚点切换渲染慢(0924 三连败):弹层打开后 settle,锚点 tries=12。0928 再加固(弹层没开连败案):签约/读者 radio 点击后断言选中态(expect_checked);两处标签触发器点完 wait .category-modal 存在替代盲 sleep;real_click_text 落点 elementFromPoint 守卫,找不到目标时报错自带定位范围可见项诊断。",
3
- "check_login": [
4
- {
5
- "do": "navigate",
6
- "url": "about:blank"
7
- },
8
- {
9
- "do": "navigate",
10
- "url": "{home}"
11
- },
12
- {
13
- "do": "url_any",
14
- "any": [
15
- "fanqienovel.com"
16
- ]
17
- }
18
- ],
19
- "upload_chapter": [
20
- {
21
- "do": "navigate",
22
- "url": "about:blank"
23
- },
24
- {
25
- "do": "navigate",
26
- "url": "{editor_url}"
27
- },
28
- {
29
- "do": "url_any",
30
- "any": [
31
- "fanqienovel.com"
32
- ]
33
- },
34
- {
35
- "do": "wait",
36
- "sel": ".ProseMirror",
37
- "timeout": 20
38
- },
39
- {
40
- "do": "fill",
41
- "sel": "input.serial-input, input.byte-input",
42
- "key": "chapter_no"
43
- },
44
- {
45
- "do": "fill",
46
- "sel": "div.serial-editor-input-hint input",
47
- "key": "chapter_title"
48
- },
49
- {
50
- "do": "fill",
51
- "sel": ".ProseMirror",
52
- "key": "chapter_body"
53
- },
54
- {
55
- "do": "shot",
56
- "name": "chapter-filled"
57
- },
58
- {
59
- "do": "click_real",
60
- "text": "下一步",
61
- "scope": "button",
62
- "tries": 15
63
- },
64
- {
65
- "do": "click_arrow",
66
- "target": "下一步"
67
- },
68
- {
69
- "do": "click_real",
70
- "text": "定时发布",
71
- "tries": 12,
72
- "optional": true
73
- },
74
- {
75
- "do": "click_real",
76
- "text": "发布",
77
- "tries": 12,
78
- "optional": true
79
- },
80
- {
81
- "do": "verify",
82
- "url": "{chapter_manage_url}",
83
- "any": [
84
- "{chapter_title}"
85
- ],
86
- "settle": 6
87
- }
88
- ],
89
- "probe_form": [
90
- {
91
- "do": "navigate",
92
- "url": "about:blank"
93
- },
94
- {
95
- "do": "navigate",
96
- "url": "https://fanqienovel.com/main/writer/create"
97
- },
98
- {
99
- "do": "url_any",
100
- "any": [
101
- "fanqienovel.com"
102
- ]
103
- },
104
- {
105
- "do": "wait",
106
- "sel": "input[placeholder='请输入作品名称']",
107
- "timeout": 20
108
- },
109
- {
110
- "do": "probe",
111
- "note": "建书表单"
112
- }
113
- ],
114
- "create_book": [
115
- {
116
- "do": "navigate",
117
- "url": "about:blank"
118
- },
119
- {
120
- "do": "navigate",
121
- "url": "https://fanqienovel.com/main/writer/create"
122
- },
123
- {
124
- "do": "url_any",
125
- "any": [
126
- "fanqienovel.com"
127
- ]
128
- },
129
- {
130
- "do": "wait",
131
- "sel": "input[placeholder='请输入作品名称']",
132
- "timeout": 20
133
- },
134
- {
135
- "do": "sleep",
136
- "s": 3
137
- },
138
- {
139
- "do": "click_real",
140
- "text": "{signing_mode}",
141
- "scope": "label.arco-radio,span.arco-radio,[class*=serial-radio]",
142
- "tries": 8,
143
- "expect_checked": true
144
- },
145
- {
146
- "do": "click_real",
147
- "text": "{target_reader}",
148
- "scope": "label.arco-radio,span.arco-radio,[class*=serial-radio]",
149
- "tries": 8,
150
- "expect_checked": true
151
- },
152
- {
153
- "do": "click_real",
154
- "text": "知道了",
155
- "scope": "button",
156
- "tries": 4,
157
- "optional": true
158
- },
159
- {
160
- "do": "click_real",
161
- "text": "请选择作品标签",
162
- "scope": "[class*=select-view],div,span",
163
- "y_max": 430,
164
- "tries": 10
165
- },
166
- {
167
- "do": "wait",
168
- "sel": ".category-modal",
169
- "timeout": 15
170
- },
171
- {
172
- "do": "click_real",
173
- "text": "{category}",
174
- "scope": ".category-modal span,.category-modal div,.category-modal li",
175
- "tries": 8
176
- },
177
- {
178
- "do": "click_real",
179
- "text": "主题",
180
- "scope": ".category-modal .arco-anchor-link",
181
- "tries": 12
182
- },
183
- {
184
- "do": "click_real",
185
- "text": "{tag_theme}",
186
- "scope": ".category-modal span,.category-modal div,.category-modal li",
187
- "y_min": 140,
188
- "tries": 8,
189
- "optional": true
190
- },
191
- {
192
- "do": "click_real",
193
- "text": "角色",
194
- "scope": ".category-modal .arco-anchor-link",
195
- "tries": 12
196
- },
197
- {
198
- "do": "click_real",
199
- "text": "{tag_role}",
200
- "scope": ".category-modal span,.category-modal div,.category-modal li",
201
- "y_min": 140,
202
- "tries": 8,
203
- "optional": true
204
- },
205
- {
206
- "do": "click_real",
207
- "text": "情节",
208
- "scope": ".category-modal .arco-anchor-link",
209
- "tries": 12
210
- },
211
- {
212
- "do": "click_real",
213
- "text": "{tag_plot}",
214
- "scope": ".category-modal span,.category-modal div,.category-modal li",
215
- "y_min": 140,
216
- "tries": 8,
217
- "optional": true
218
- },
219
- {
220
- "do": "click_real",
221
- "text": "确认",
222
- "scope": ".category-modal button",
223
- "tries": 8
224
- },
225
- {
226
- "do": "wait_gone",
227
- "sel": ".category-modal",
228
- "timeout": 25
229
- },
230
- {
231
- "do": "click_real",
232
- "text": "请选择作品标签",
233
- "scope": "[class*=select-view],div,span",
234
- "tries": 15
235
- },
236
- {
237
- "do": "wait",
238
- "sel": ".category-modal",
239
- "timeout": 15
240
- },
241
- {
242
- "do": "click_real",
243
- "text": "情感",
244
- "scope": ".category-modal .arco-anchor-link",
245
- "tries": 12
246
- },
247
- {
248
- "do": "click_real",
249
- "text": "{tag_content_emotion}",
250
- "scope": ".category-modal span,.category-modal div,.category-modal li",
251
- "y_min": 140,
252
- "tries": 8,
253
- "optional": true
254
- },
255
- {
256
- "do": "click_real",
257
- "text": "人设",
258
- "scope": ".category-modal .arco-anchor-link",
259
- "tries": 12
260
- },
261
- {
262
- "do": "click_real",
263
- "text": "{tag_content_character}",
264
- "scope": ".category-modal span,.category-modal div,.category-modal li",
265
- "y_min": 140,
266
- "tries": 8,
267
- "optional": true
268
- },
269
- {
270
- "do": "click_real",
271
- "text": "世界观",
272
- "scope": ".category-modal .arco-anchor-link",
273
- "tries": 12
274
- },
275
- {
276
- "do": "click_real",
277
- "text": "{tag_content_world}",
278
- "scope": ".category-modal span,.category-modal div,.category-modal li",
279
- "y_min": 140,
280
- "tries": 8,
281
- "optional": true
282
- },
283
- {
284
- "do": "click_real",
285
- "text": "确认",
286
- "scope": ".category-modal button",
287
- "tries": 8
288
- },
289
- {
290
- "do": "wait_gone",
291
- "sel": ".category-modal",
292
- "timeout": 25
293
- },
294
- {
295
- "do": "fill",
296
- "sel": "input[placeholder='请输入作品名称']",
297
- "key": "title"
298
- },
299
- {
300
- "do": "fill",
301
- "sel": "input[placeholder='请输入主角名1']",
302
- "key": "protagonist"
303
- },
304
- {
305
- "do": "fill",
306
- "sel": "input[placeholder='请输入主角名2']",
307
- "key": "protagonist2"
308
- },
309
- {
310
- "do": "fill",
311
- "sel": "textarea[placeholder*='请输入50-500字']",
312
- "key": "summary"
313
- },
314
- {
315
- "do": "shot",
316
- "name": "create-book-filled"
317
- },
318
- {
319
- "do": "submit",
320
- "text": "立即创建",
321
- "scope": "button",
322
- "tries": 10
323
- },
324
- {
325
- "do": "wait",
326
- "sel": "body",
327
- "timeout": 10
328
- },
329
- {
330
- "do": "url_any",
331
- "any": [
332
- "book-info"
333
- ]
334
- }
335
- ]
336
- }
1
+ {
2
+ "_note": "番茄真机校准(2026-09-19 定稿,2026-09-24 加固):编辑器=/main/writer/<book_id>/publish/ 直达(章节号 input.serial-input 纯数字;标题 div.serial-editor-input-hint input ≥5字/30上限;正文 .ProseMirror ≥1000字;「下一步」保存校验后按钮组右缘箭头展开下拉含「定时发布」)。建书=/main/writer/create 直达表单:radio 签约模式/目标读者(label 真实点击)→ 阅读标签 select(y<430)弹层 arco-anchor 切主分类/主题/角色/情节 + 标签云点击 + 确认 → 内容标签 select(y>430)弹层 情感/人设/世界观 同构 → 名称/主角1/主角2/简介 → 立即创建(submit 步骤:auto_submit=false 时填好即停,留给人工提交) → 跳 book-info/<id>。锚点切换渲染慢(0924 三连败):弹层打开后 settle,锚点 tries=12。0928 再加固(弹层没开连败案):签约/读者 radio 点击后断言选中态(expect_checked);两处标签触发器点完 wait .category-modal 存在替代盲 sleep;real_click_text 落点 elementFromPoint 守卫,找不到目标时报错自带定位范围可见项诊断。",
3
+ "check_login": [
4
+ {
5
+ "do": "navigate",
6
+ "url": "about:blank"
7
+ },
8
+ {
9
+ "do": "navigate",
10
+ "url": "{home}"
11
+ },
12
+ {
13
+ "do": "url_any",
14
+ "any": [
15
+ "fanqienovel.com"
16
+ ]
17
+ }
18
+ ],
19
+ "upload_chapter": [
20
+ {
21
+ "do": "navigate",
22
+ "url": "about:blank"
23
+ },
24
+ {
25
+ "do": "navigate",
26
+ "url": "{editor_url}"
27
+ },
28
+ {
29
+ "do": "url_any",
30
+ "any": [
31
+ "fanqienovel.com"
32
+ ]
33
+ },
34
+ {
35
+ "do": "wait",
36
+ "sel": ".ProseMirror",
37
+ "timeout": 20
38
+ },
39
+ {
40
+ "do": "fill",
41
+ "sel": "input.serial-input, input.byte-input",
42
+ "key": "chapter_no"
43
+ },
44
+ {
45
+ "do": "fill",
46
+ "sel": "div.serial-editor-input-hint input",
47
+ "key": "chapter_title"
48
+ },
49
+ {
50
+ "do": "fill",
51
+ "sel": ".ProseMirror",
52
+ "key": "chapter_body"
53
+ },
54
+ {
55
+ "do": "shot",
56
+ "name": "chapter-filled"
57
+ },
58
+ {
59
+ "do": "click_real",
60
+ "text": "下一步",
61
+ "scope": "button",
62
+ "tries": 15
63
+ },
64
+ {
65
+ "do": "click_arrow",
66
+ "target": "下一步"
67
+ },
68
+ {
69
+ "do": "click_real",
70
+ "text": "定时发布",
71
+ "tries": 12,
72
+ "optional": true
73
+ },
74
+ {
75
+ "do": "click_real",
76
+ "text": "发布",
77
+ "tries": 12,
78
+ "optional": true
79
+ },
80
+ {
81
+ "do": "verify",
82
+ "url": "{chapter_manage_url}",
83
+ "any": [
84
+ "{chapter_title}"
85
+ ],
86
+ "settle": 6
87
+ }
88
+ ],
89
+ "probe_form": [
90
+ {
91
+ "do": "navigate",
92
+ "url": "about:blank"
93
+ },
94
+ {
95
+ "do": "navigate",
96
+ "url": "https://fanqienovel.com/main/writer/create"
97
+ },
98
+ {
99
+ "do": "url_any",
100
+ "any": [
101
+ "fanqienovel.com"
102
+ ]
103
+ },
104
+ {
105
+ "do": "wait",
106
+ "sel": "input[placeholder='请输入作品名称']",
107
+ "timeout": 20
108
+ },
109
+ {
110
+ "do": "probe",
111
+ "note": "建书表单"
112
+ }
113
+ ],
114
+ "create_book": [
115
+ {
116
+ "do": "navigate",
117
+ "url": "about:blank"
118
+ },
119
+ {
120
+ "do": "navigate",
121
+ "url": "https://fanqienovel.com/main/writer/create"
122
+ },
123
+ {
124
+ "do": "url_any",
125
+ "any": [
126
+ "fanqienovel.com"
127
+ ]
128
+ },
129
+ {
130
+ "do": "wait",
131
+ "sel": "input[placeholder='请输入作品名称']",
132
+ "timeout": 20
133
+ },
134
+ {
135
+ "do": "sleep",
136
+ "s": 3
137
+ },
138
+ {
139
+ "do": "click_real",
140
+ "text": "{signing_mode}",
141
+ "scope": "label.arco-radio,span.arco-radio,[class*=serial-radio]",
142
+ "tries": 8,
143
+ "expect_checked": true
144
+ },
145
+ {
146
+ "do": "click_real",
147
+ "text": "{target_reader}",
148
+ "scope": "label.arco-radio,span.arco-radio,[class*=serial-radio]",
149
+ "tries": 8,
150
+ "expect_checked": true
151
+ },
152
+ {
153
+ "do": "click_real",
154
+ "text": "知道了",
155
+ "scope": "button",
156
+ "tries": 4,
157
+ "optional": true
158
+ },
159
+ {
160
+ "do": "click_real",
161
+ "text": "请选择作品标签",
162
+ "scope": "[class*=select-view],div,span",
163
+ "y_max": 430,
164
+ "tries": 10
165
+ },
166
+ {
167
+ "do": "wait",
168
+ "sel": ".category-modal",
169
+ "timeout": 15
170
+ },
171
+ {
172
+ "do": "click_real",
173
+ "text": "{category}",
174
+ "scope": ".category-modal span,.category-modal div,.category-modal li",
175
+ "tries": 8
176
+ },
177
+ {
178
+ "do": "click_real",
179
+ "text": "主题",
180
+ "scope": ".category-modal .arco-anchor-link",
181
+ "tries": 12
182
+ },
183
+ {
184
+ "do": "click_real",
185
+ "text": "{tag_theme}",
186
+ "scope": ".category-modal span,.category-modal div,.category-modal li",
187
+ "y_min": 140,
188
+ "tries": 8,
189
+ "optional": true
190
+ },
191
+ {
192
+ "do": "click_real",
193
+ "text": "角色",
194
+ "scope": ".category-modal .arco-anchor-link",
195
+ "tries": 12
196
+ },
197
+ {
198
+ "do": "click_real",
199
+ "text": "{tag_role}",
200
+ "scope": ".category-modal span,.category-modal div,.category-modal li",
201
+ "y_min": 140,
202
+ "tries": 8,
203
+ "optional": true
204
+ },
205
+ {
206
+ "do": "click_real",
207
+ "text": "情节",
208
+ "scope": ".category-modal .arco-anchor-link",
209
+ "tries": 12
210
+ },
211
+ {
212
+ "do": "click_real",
213
+ "text": "{tag_plot}",
214
+ "scope": ".category-modal span,.category-modal div,.category-modal li",
215
+ "y_min": 140,
216
+ "tries": 8,
217
+ "optional": true
218
+ },
219
+ {
220
+ "do": "click_real",
221
+ "text": "确认",
222
+ "scope": ".category-modal button",
223
+ "tries": 8
224
+ },
225
+ {
226
+ "do": "wait_gone",
227
+ "sel": ".category-modal",
228
+ "timeout": 25
229
+ },
230
+ {
231
+ "do": "click_real",
232
+ "text": "请选择作品标签",
233
+ "scope": "[class*=select-view],div,span",
234
+ "tries": 15
235
+ },
236
+ {
237
+ "do": "wait",
238
+ "sel": ".category-modal",
239
+ "timeout": 15
240
+ },
241
+ {
242
+ "do": "click_real",
243
+ "text": "情感",
244
+ "scope": ".category-modal .arco-anchor-link",
245
+ "tries": 12
246
+ },
247
+ {
248
+ "do": "click_real",
249
+ "text": "{tag_content_emotion}",
250
+ "scope": ".category-modal span,.category-modal div,.category-modal li",
251
+ "y_min": 140,
252
+ "tries": 8,
253
+ "optional": true
254
+ },
255
+ {
256
+ "do": "click_real",
257
+ "text": "人设",
258
+ "scope": ".category-modal .arco-anchor-link",
259
+ "tries": 12
260
+ },
261
+ {
262
+ "do": "click_real",
263
+ "text": "{tag_content_character}",
264
+ "scope": ".category-modal span,.category-modal div,.category-modal li",
265
+ "y_min": 140,
266
+ "tries": 8,
267
+ "optional": true
268
+ },
269
+ {
270
+ "do": "click_real",
271
+ "text": "世界观",
272
+ "scope": ".category-modal .arco-anchor-link",
273
+ "tries": 12
274
+ },
275
+ {
276
+ "do": "click_real",
277
+ "text": "{tag_content_world}",
278
+ "scope": ".category-modal span,.category-modal div,.category-modal li",
279
+ "y_min": 140,
280
+ "tries": 8,
281
+ "optional": true
282
+ },
283
+ {
284
+ "do": "click_real",
285
+ "text": "确认",
286
+ "scope": ".category-modal button",
287
+ "tries": 8
288
+ },
289
+ {
290
+ "do": "wait_gone",
291
+ "sel": ".category-modal",
292
+ "timeout": 25
293
+ },
294
+ {
295
+ "do": "fill",
296
+ "sel": "input[placeholder='请输入作品名称']",
297
+ "key": "title"
298
+ },
299
+ {
300
+ "do": "fill",
301
+ "sel": "input[placeholder='请输入主角名1']",
302
+ "key": "protagonist"
303
+ },
304
+ {
305
+ "do": "fill",
306
+ "sel": "input[placeholder='请输入主角名2']",
307
+ "key": "protagonist2"
308
+ },
309
+ {
310
+ "do": "fill",
311
+ "sel": "textarea[placeholder*='请输入50-500字']",
312
+ "key": "summary"
313
+ },
314
+ {
315
+ "do": "shot",
316
+ "name": "create-book-filled"
317
+ },
318
+ {
319
+ "do": "submit",
320
+ "text": "立即创建",
321
+ "scope": "button",
322
+ "tries": 10
323
+ },
324
+ {
325
+ "do": "wait",
326
+ "sel": "body",
327
+ "timeout": 10
328
+ },
329
+ {
330
+ "do": "url_any",
331
+ "any": [
332
+ "book-info"
333
+ ]
334
+ }
335
+ ]
336
+ }