@cloud411716/fancy-webnovel 1.0.26 → 1.0.28

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.
@@ -132,10 +132,11 @@ export function apply(ctx) {
132
132
  }
133
133
 
134
134
  // ---------- platform selection ----------
135
- notify(session, 'success', scan.platformList());
136
-
137
135
  const platformResult = await ctx.userQuestions.ask({
138
- questions: [scan.askPlatform()],
136
+ questions: [{
137
+ ...scan.askPlatform(),
138
+ question: `${scan.platformList()}\n\n请选择要扫的平台(输入编号 1-4):`,
139
+ }],
139
140
  agent: invocation.agent,
140
141
  signal,
141
142
  });
@@ -221,21 +222,13 @@ export function apply(ctx) {
221
222
 
222
223
  // ---------- output results ----------
223
224
  if (lastReceipt && totalFiles > 0) {
224
- notify(session, 'success', scan.notify({
225
+ return notify(session, 'success', scan.notify({
225
226
  type: 'handover',
226
227
  platform,
227
228
  files: lastReceipt.scan_files,
228
229
  topicFile: lastReceipt.topic_decision || '',
229
230
  projectRoot,
230
231
  }));
231
- const prompt = scan.llmAnalysisPrompt({
232
- platform,
233
- date: lastReceipt.date || '',
234
- files: lastReceipt.scan_files,
235
- topicFile: lastReceipt.topic_decision || '',
236
- projectRoot,
237
- });
238
- llmFollowup(invocation, prompt);
239
232
  }
240
233
 
241
234
  if (failedRanks.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud411716/fancy-webnovel",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "exports": {