@cloud411716/fancy-webnovel 1.0.16 → 1.0.17

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 (3) hide show
  1. package/index.js +0 -2
  2. package/package.json +1 -1
  3. package/events.js +0 -19
package/index.js CHANGED
@@ -21,8 +21,6 @@
21
21
  * specifies). Declare this in the profile's cordis.patch.yml.
22
22
  */
23
23
 
24
- import './events.js'; // documents fancy/scan:* event types (JSDoc, no runtime effect)
25
-
26
24
  import { defineTool } from '@deepseek-ai/dsh-tools';
27
25
  import { apply as applyBootstrap } from './commands/bootstrap/index.js';
28
26
  import { apply as applyScan } from './commands/scan/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud411716/fancy-webnovel",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "exports": {
package/events.js DELETED
@@ -1,19 +0,0 @@
1
- /**
2
- * events.js — Scan progress event vocabulary
3
- *
4
- * These are pure in-memory plugin events emitted via ctx.events.emit().
5
- * They flow through the DSH session log and are observable by the agent.
6
- *
7
- * Type declarations (for TypeScript users):
8
- * ```ts
9
- * // @ts-check
10
- * declare module '@deepseek-ai/cordis' {
11
- * interface Events {
12
- * 'fancy/scan:start'(platform: string, channel: string, type: string, label: string): void
13
- * 'fancy/scan:book'(platform: string, channel: string, type: string, index: number, total: number, title: string, rank: number): void
14
- * 'fancy/scan:rank-done'(platform: string, channel: string, type: string, ok: boolean, written: number, failed: number, errorMsg?: string): void
15
- * 'fancy/scan:done'(platform: string, totalBooks: number, totalFiles: number, ok: boolean): void
16
- * }
17
- * }
18
- * ```
19
- */