ai_co_discuss 0.5.20 → 0.5.21

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 (30) hide show
  1. package/.agents/skills/workflow-creator/SKILL.md +3 -0
  2. package/docs/en/guide/workflows.md +2 -0
  3. package/docs/en/guide/working.md +1 -1
  4. package/docs/guide/workflows.md +2 -0
  5. package/docs/guide/working.md +1 -1
  6. package/frontend/locales/en/settings.json +5 -0
  7. package/package.json +1 -1
  8. package/runner/workflows.mjs +26 -8
  9. package/web/i18n.js +1 -1
  10. package/web/modern.css +1 -1
  11. package/web/modern.js +58 -58
  12. package/workflows/decision-council/SKILL.md +2 -1
  13. package/workflows/decision-council/flow.json +15 -15
  14. package/workflows/story-serial/agents/writer.md +1 -1
  15. package/workflows/story-serial/flow.json +456 -123
  16. package/workflows/story-serial/workflows/aigc-reduce/flow.json +134 -13
  17. package/workflows/story-serial/workflows/character-play/flow.json +212 -25
  18. package/workflows/story-serial/workflows/jack-sparrow/flow.json +67 -23
  19. package/workflows/story-serial/workflows/luke-nichols/flow.json +67 -23
  20. package/workflows/story-serial/workflows/revise-episodes/flow.json +184 -23
  21. package/workflows/story-serial/workflows/tidy-docs/flow.json +256 -19
  22. package/workflows/tri-model-dev/SKILL.md +72 -0
  23. package/workflows/tri-model-dev/agents/advisor.md +22 -0
  24. package/workflows/tri-model-dev/agents/backend.md +25 -0
  25. package/workflows/tri-model-dev/agents/reviewer.md +38 -0
  26. package/workflows/tri-model-dev/flow.json +397 -0
  27. package/workflows/tri-model-dev/workflows/browser-verify/SKILL.md +22 -0
  28. package/workflows/tri-model-dev/workflows/browser-verify/agents/browser_ops.md +18 -0
  29. package/workflows/tri-model-dev/workflows/browser-verify/flow.json +136 -0
  30. package/workflows/trpg-classic/flow.json +17 -17
@@ -9,7 +9,31 @@
9
9
  {
10
10
  "id": "check",
11
11
  "type": "host",
12
- "label": "查分定位",
12
+ "label": "查分与定位",
13
+ "x": 0,
14
+ "y": 0
15
+ },
16
+ {
17
+ "id": "check_gate",
18
+ "type": "branch",
19
+ "label": "查分结论",
20
+ "branches": [
21
+ {
22
+ "id": "pass_or_only",
23
+ "label": "达标或仅查分"
24
+ },
25
+ {
26
+ "id": "need_rewrite",
27
+ "label": "有高分块需改"
28
+ }
29
+ ],
30
+ "x": 0,
31
+ "y": 0
32
+ },
33
+ {
34
+ "id": "report_user",
35
+ "type": "user",
36
+ "label": "查看查分报告",
13
37
  "x": 0,
14
38
  "y": 0
15
39
  },
@@ -23,7 +47,39 @@
23
47
  {
24
48
  "id": "retest",
25
49
  "type": "host",
26
- "label": "复测",
50
+ "label": "复测与全篇重查",
51
+ "x": 0,
52
+ "y": 0
53
+ },
54
+ {
55
+ "id": "retest_gate",
56
+ "type": "branch",
57
+ "label": "复测结论",
58
+ "branches": [
59
+ {
60
+ "id": "retry",
61
+ "label": "未过·未满3次"
62
+ },
63
+ {
64
+ "id": "stuck",
65
+ "label": "同块3次仍≥0.5"
66
+ },
67
+ {
68
+ "id": "changed_fact",
69
+ "label": "过关·动对白事实"
70
+ },
71
+ {
72
+ "id": "tone_only",
73
+ "label": "过关·只动口气"
74
+ }
75
+ ],
76
+ "x": 0,
77
+ "y": 0
78
+ },
79
+ {
80
+ "id": "stuck_user",
81
+ "type": "user",
82
+ "label": "看三版结果拍板",
27
83
  "x": 0,
28
84
  "y": 0
29
85
  },
@@ -44,7 +100,24 @@
44
100
  {
45
101
  "id": "note",
46
102
  "type": "host",
47
- "label": "记知识库",
103
+ "label": "通读·记知识库",
104
+ "x": 0,
105
+ "y": 0
106
+ },
107
+ {
108
+ "id": "deliver_gate",
109
+ "type": "branch",
110
+ "label": "收尾与交付",
111
+ "branches": [
112
+ {
113
+ "id": "with_record",
114
+ "label": "已记账集改事实"
115
+ },
116
+ {
117
+ "id": "no_record",
118
+ "label": "无账目变动"
119
+ }
120
+ ],
48
121
  "x": 0,
49
122
  "y": 0
50
123
  },
@@ -54,6 +127,13 @@
54
127
  "card": "recorder",
55
128
  "x": 0,
56
129
  "y": 0
130
+ },
131
+ {
132
+ "id": "deliver_user",
133
+ "type": "user",
134
+ "label": "确认删改与文风",
135
+ "x": 0,
136
+ "y": 0
57
137
  }
58
138
  ],
59
139
  "edges": [
@@ -63,6 +143,17 @@
63
143
  },
64
144
  {
65
145
  "source": "check",
146
+ "target": "check_gate"
147
+ },
148
+ {
149
+ "source": "check_gate",
150
+ "branch": "pass_or_only",
151
+ "target": "report_user",
152
+ "label": "不动原文"
153
+ },
154
+ {
155
+ "source": "check_gate",
156
+ "branch": "need_rewrite",
66
157
  "target": "writer",
67
158
  "label": "按定位整块重写"
68
159
  },
@@ -72,18 +163,36 @@
72
163
  },
73
164
  {
74
165
  "source": "retest",
166
+ "target": "retest_gate"
167
+ },
168
+ {
169
+ "source": "retest_gate",
170
+ "branch": "retry",
75
171
  "target": "writer",
76
- "label": "没过·同块至多三次"
172
+ "label": "再定位重写"
77
173
  },
78
174
  {
79
- "source": "retest",
175
+ "source": "retest_gate",
176
+ "branch": "stuck",
177
+ "target": "stuck_user",
178
+ "label": "停止硬改"
179
+ },
180
+ {
181
+ "source": "retest_gate",
182
+ "branch": "changed_fact",
80
183
  "target": "critic_people",
81
- "label": "动了对白或事实"
184
+ "label": "双审一圈"
82
185
  },
83
186
  {
84
- "source": "retest",
187
+ "source": "retest_gate",
188
+ "branch": "changed_fact",
85
189
  "target": "critic",
86
- "label": "动了对白或事实"
190
+ "label": "双审一圈"
191
+ },
192
+ {
193
+ "source": "retest_gate",
194
+ "branch": "tone_only",
195
+ "target": "note"
87
196
  },
88
197
  {
89
198
  "source": "critic_people",
@@ -94,14 +203,26 @@
94
203
  "target": "note"
95
204
  },
96
205
  {
97
- "source": "retest",
98
- "target": "note",
99
- "label": "只动叙述口气"
206
+ "source": "note",
207
+ "target": "deliver_gate"
100
208
  },
101
209
  {
102
- "source": "note",
210
+ "source": "deliver_gate",
211
+ "branch": "with_record",
103
212
  "target": "recorder",
104
- "label": "已记账的集改了事实"
213
+ "label": "更新状态账"
214
+ },
215
+ {
216
+ "source": "deliver_gate",
217
+ "branch": "with_record",
218
+ "target": "deliver_user",
219
+ "label": "附删改与文风建议"
220
+ },
221
+ {
222
+ "source": "deliver_gate",
223
+ "branch": "no_record",
224
+ "target": "deliver_user",
225
+ "label": "附删改与文风建议"
105
226
  }
106
227
  ]
107
228
  }
@@ -7,9 +7,37 @@
7
7
  "y": 0
8
8
  },
9
9
  {
10
- "id": "dispatch",
10
+ "id": "entry",
11
+ "type": "branch",
12
+ "label": "触发时机",
13
+ "branches": [
14
+ {
15
+ "id": "before_write",
16
+ "label": "开写前·联合推演"
17
+ },
18
+ {
19
+ "id": "before_accept",
20
+ "label": "定稿前·角色审稿"
21
+ },
22
+ {
23
+ "id": "standalone",
24
+ "label": "单审已写定的集"
25
+ }
26
+ ],
27
+ "x": 0,
28
+ "y": 0
29
+ },
30
+ {
31
+ "id": "dispatch_plan",
11
32
  "type": "host",
12
- "label": "判定关键集·派人物",
33
+ "label": "请角色·同时派活",
34
+ "x": 0,
35
+ "y": 0
36
+ },
37
+ {
38
+ "id": "plan_chars",
39
+ "type": "host",
40
+ "label": "派相关人物推演",
13
41
  "x": 0,
14
42
  "y": 0
15
43
  },
@@ -21,30 +49,117 @@
21
49
  "y": 0
22
50
  },
23
51
  {
24
- "id": "plan_character",
52
+ "id": "plan_char_a",
25
53
  "type": "card",
26
54
  "card": "character",
27
55
  "x": 0,
28
56
  "y": 0
29
57
  },
30
58
  {
31
- "id": "brief",
59
+ "id": "plan_char_b",
60
+ "type": "card",
61
+ "card": "character",
62
+ "x": 0,
63
+ "y": 0
64
+ },
65
+ {
66
+ "id": "plan_ruling",
67
+ "type": "host",
68
+ "label": "裁定·写进处境",
69
+ "x": 0,
70
+ "y": 0
71
+ },
72
+ {
73
+ "id": "plan_gate",
74
+ "type": "branch",
75
+ "label": "推演结果",
76
+ "branches": [
77
+ {
78
+ "id": "clash",
79
+ "label": "正面交锋再一轮"
80
+ },
81
+ {
82
+ "id": "user_ask",
83
+ "label": "牵涉用户已定"
84
+ },
85
+ {
86
+ "id": "ok",
87
+ "label": "直接改任务书"
88
+ }
89
+ ],
90
+ "x": 0,
91
+ "y": 0
92
+ },
93
+ {
94
+ "id": "plan_user",
95
+ "type": "user",
96
+ "label": "用户确认取舍",
97
+ "x": 0,
98
+ "y": 0
99
+ },
100
+ {
101
+ "id": "brief_done",
32
102
  "type": "host",
33
- "label": "裁定·改任务书",
103
+ "label": "定任务书·回主线",
34
104
  "x": 0,
35
105
  "y": 0
36
106
  },
37
107
  {
38
- "id": "review_character",
108
+ "id": "dispatch_review",
109
+ "type": "host",
110
+ "label": "派角色各审一次",
111
+ "x": 0,
112
+ "y": 0
113
+ },
114
+ {
115
+ "id": "review_char_a",
116
+ "type": "card",
117
+ "card": "character",
118
+ "x": 0,
119
+ "y": 0
120
+ },
121
+ {
122
+ "id": "review_char_b",
39
123
  "type": "card",
40
124
  "card": "character",
41
125
  "x": 0,
42
126
  "y": 0
43
127
  },
44
128
  {
45
- "id": "ruling",
129
+ "id": "review_ruling",
46
130
  "type": "host",
47
- "label": "逐条裁定",
131
+ "label": "逐条裁定·请离",
132
+ "x": 0,
133
+ "y": 0
134
+ },
135
+ {
136
+ "id": "review_gate",
137
+ "type": "branch",
138
+ "label": "审稿去向",
139
+ "branches": [
140
+ {
141
+ "id": "modify",
142
+ "label": "需改正文"
143
+ },
144
+ {
145
+ "id": "accept",
146
+ "label": "直接交回验收"
147
+ }
148
+ ],
149
+ "x": 0,
150
+ "y": 0
151
+ },
152
+ {
153
+ "id": "next_fix",
154
+ "type": "host",
155
+ "label": "交写审或改集",
156
+ "x": 0,
157
+ "y": 0
158
+ },
159
+ {
160
+ "id": "review_done",
161
+ "type": "host",
162
+ "label": "交回主线验收",
48
163
  "x": 0,
49
164
  "y": 0
50
165
  }
@@ -52,39 +167,111 @@
52
167
  "edges": [
53
168
  {
54
169
  "source": "start",
55
- "target": "dispatch"
170
+ "target": "entry"
56
171
  },
57
172
  {
58
- "source": "dispatch",
173
+ "source": "entry",
174
+ "branch": "before_write",
175
+ "target": "dispatch_plan"
176
+ },
177
+ {
178
+ "source": "entry",
179
+ "branch": "before_accept",
180
+ "target": "dispatch_review"
181
+ },
182
+ {
183
+ "source": "entry",
184
+ "branch": "standalone",
185
+ "target": "dispatch_review"
186
+ },
187
+ {
188
+ "source": "dispatch_plan",
189
+ "target": "plan_chars",
190
+ "label": "按人物名逐位请进"
191
+ },
192
+ {
193
+ "source": "dispatch_plan",
59
194
  "target": "screenwriter",
60
- "label": "同时派出"
195
+ "label": "每集只调这一次"
196
+ },
197
+ {
198
+ "source": "plan_chars",
199
+ "target": "plan_char_a",
200
+ "label": "角色甲·同时推演"
61
201
  },
62
202
  {
63
- "source": "dispatch",
64
- "target": "plan_character",
65
- "label": "同时推演·每人一位"
203
+ "source": "plan_chars",
204
+ "target": "plan_char_b",
205
+ "label": "角色乙…至多3位"
66
206
  },
67
207
  {
68
208
  "source": "screenwriter",
69
- "target": "brief"
209
+ "target": "plan_ruling"
210
+ },
211
+ {
212
+ "source": "plan_char_a",
213
+ "target": "plan_ruling"
214
+ },
215
+ {
216
+ "source": "plan_char_b",
217
+ "target": "plan_ruling"
218
+ },
219
+ {
220
+ "source": "plan_ruling",
221
+ "target": "plan_gate"
222
+ },
223
+ {
224
+ "source": "plan_gate",
225
+ "branch": "clash",
226
+ "target": "plan_chars",
227
+ "label": "只派相关人物·至多两轮"
228
+ },
229
+ {
230
+ "source": "plan_gate",
231
+ "branch": "user_ask",
232
+ "target": "plan_user"
233
+ },
234
+ {
235
+ "source": "plan_user",
236
+ "target": "brief_done"
237
+ },
238
+ {
239
+ "source": "plan_gate",
240
+ "branch": "ok",
241
+ "target": "brief_done"
242
+ },
243
+ {
244
+ "source": "dispatch_review",
245
+ "target": "review_char_a",
246
+ "label": "角色甲·只审一次"
247
+ },
248
+ {
249
+ "source": "dispatch_review",
250
+ "target": "review_char_b",
251
+ "label": "角色乙…不进循环"
252
+ },
253
+ {
254
+ "source": "review_char_a",
255
+ "target": "review_ruling"
70
256
  },
71
257
  {
72
- "source": "plan_character",
73
- "target": "brief"
258
+ "source": "review_char_b",
259
+ "target": "review_ruling"
74
260
  },
75
261
  {
76
- "source": "brief",
77
- "target": "plan_character",
78
- "label": "正面交锋·最多再一轮"
262
+ "source": "review_ruling",
263
+ "target": "review_gate"
79
264
  },
80
265
  {
81
- "source": "brief",
82
- "target": "review_character",
83
- "label": "写审通过后各审一次"
266
+ "source": "review_gate",
267
+ "branch": "modify",
268
+ "target": "next_fix",
269
+ "label": "不再请人物复审"
84
270
  },
85
271
  {
86
- "source": "review_character",
87
- "target": "ruling"
272
+ "source": "review_gate",
273
+ "branch": "accept",
274
+ "target": "review_done"
88
275
  }
89
276
  ]
90
277
  }
@@ -4,59 +4,103 @@
4
4
  "id": "start",
5
5
  "type": "start",
6
6
  "x": 0,
7
- "y": -30
7
+ "y": 0
8
+ },
9
+ {
10
+ "id": "scene",
11
+ "type": "branch",
12
+ "label": "触发场景(README已声明)",
13
+ "branches": [
14
+ {
15
+ "id": "plan",
16
+ "label": "阶段构思"
17
+ },
18
+ {
19
+ "id": "review",
20
+ "label": "验收前·点名核实"
21
+ }
22
+ ],
23
+ "x": 0,
24
+ "y": 0
8
25
  },
9
26
  {
10
27
  "id": "plan_dispatch",
11
28
  "type": "host",
12
- "label": "阶段构思·派活",
13
- "x": 216,
14
- "y": -140
29
+ "label": "给阶段处境",
30
+ "x": 0,
31
+ "y": 0
32
+ },
33
+ {
34
+ "id": "jack_sparrow_plan",
35
+ "type": "card",
36
+ "card": "jack_sparrow",
37
+ "x": 0,
38
+ "y": 0
39
+ },
40
+ {
41
+ "id": "ruling_plan",
42
+ "type": "host",
43
+ "label": "裁定·写入处境",
44
+ "x": 0,
45
+ "y": 0
15
46
  },
16
47
  {
17
48
  "id": "review_dispatch",
18
49
  "type": "host",
19
- "label": "加审·点名派活",
20
- "x": 216,
21
- "y": 60
50
+ "label": "指定核实段落",
51
+ "x": 0,
52
+ "y": 0
22
53
  },
23
54
  {
24
- "id": "jack_sparrow",
55
+ "id": "jack_sparrow_review",
25
56
  "type": "card",
26
57
  "card": "jack_sparrow",
27
- "x": 576,
28
- "y": -48
58
+ "x": 0,
59
+ "y": 0
29
60
  },
30
61
  {
31
- "id": "ruling",
62
+ "id": "ruling_review",
32
63
  "type": "host",
33
- "label": "逐条裁定",
34
- "x": 936,
35
- "y": -68
64
+ "label": "裁定·不进循环",
65
+ "x": 0,
66
+ "y": 0
36
67
  }
37
68
  ],
38
69
  "edges": [
39
70
  {
40
71
  "source": "start",
41
- "target": "plan_dispatch"
72
+ "target": "scene"
42
73
  },
43
74
  {
44
- "source": "start",
45
- "target": "review_dispatch"
75
+ "source": "scene",
76
+ "branch": "plan",
77
+ "target": "plan_dispatch",
78
+ "label": "与编剧设定同派"
79
+ },
80
+ {
81
+ "source": "scene",
82
+ "branch": "review",
83
+ "target": "review_dispatch",
84
+ "label": "点名或待核航海段落"
46
85
  },
47
86
  {
48
87
  "source": "plan_dispatch",
49
- "target": "jack_sparrow",
50
- "label": "交约束与失败方式"
88
+ "target": "jack_sparrow_plan",
89
+ "label": "交约束换算失败方式"
90
+ },
91
+ {
92
+ "source": "jack_sparrow_plan",
93
+ "target": "ruling_plan",
94
+ "label": "不是返工结论"
51
95
  },
52
96
  {
53
97
  "source": "review_dispatch",
54
- "target": "jack_sparrow",
55
- "label": "只报硬错误"
98
+ "target": "jack_sparrow_review",
99
+ "label": "只报硬错误与改法"
56
100
  },
57
101
  {
58
- "source": "jack_sparrow",
59
- "target": "ruling",
102
+ "source": "jack_sparrow_review",
103
+ "target": "ruling_review",
60
104
  "label": "不是返工结论"
61
105
  }
62
106
  ]