@cloud411716/fancy-webnovel 1.0.12 → 1.0.14

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.
@@ -203,11 +203,11 @@ export function apply(ctx) {
203
203
 
204
204
  disposers.push(ctx.events.on('fancy/scan:start', (_ctx, platform, _channel, _type, label) => {
205
205
  currentRankLabel = label;
206
- llmFollowup(invocation, `[${SPINNER[_spinnerIdx++ % 4]}] 正在采集:${platformLabel(platform)} ${label} …`);
206
+ notify(session, `[${SPINNER[_spinnerIdx++ % 4]}] 正在采集:${platformLabel(platform)} ${label} …`);
207
207
  }));
208
208
 
209
209
  disposers.push(ctx.events.on('fancy/scan:rank-done', (_ctx, _platform, _channel, _type, ok, written) => {
210
- llmFollowup(invocation, `[${SPINNER[_spinnerIdx++ % 4]}] ${currentRankLabel} ${ok ? `✓ 写入 ${written} 条` : '✗ 失败'}`);
210
+ notify(session, `[${SPINNER[_spinnerIdx++ % 4]}] ${currentRankLabel} ${ok ? `✓ 写入 ${written} 条` : '✗ 失败'}`);
211
211
  }));
212
212
 
213
213
  const { totalBooks, totalFiles, failedRanks, lastReceipt } = await runScans(
package/index.js CHANGED
@@ -79,7 +79,7 @@ export function apply(ctx) {
79
79
  },
80
80
  },
81
81
  output: {
82
- // No schema: we return null, so render output is suppressed.
82
+ schema: { type: 'null' },
83
83
  render() { return []; },
84
84
  },
85
85
  async execute(args, exec) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud411716/fancy-webnovel",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "exports": {