@waterwx/dsh-novel-forge 1.8.0 → 1.10.0

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 (38) hide show
  1. package/README.md +3 -0
  2. package/lib/client.js +3124 -1122
  3. package/lib/client.js.map +1 -1
  4. package/lib/index.js +1222 -179
  5. package/lib/index.js.map +1 -1
  6. package/lib/types/assets.d.ts +3 -1
  7. package/lib/types/client/api.d.ts +23 -1
  8. package/lib/types/client/locales.d.ts +16 -0
  9. package/lib/types/client/panel/AdaptModeView.d.ts +2 -1
  10. package/lib/types/client/panel/AuthorHome.d.ts +11 -1
  11. package/lib/types/client/panel/GlobalAssetLibraryView.d.ts +4 -0
  12. package/lib/types/client/panel/ModelManager.d.ts +14 -0
  13. package/lib/types/client/panel/ModelPicker.d.ts +11 -0
  14. package/lib/types/client/panel/ProgressConsole.d.ts +17 -0
  15. package/lib/types/client/panel/ReasoningSection.d.ts +10 -0
  16. package/lib/types/client/panel/SettingsView.d.ts +1 -1
  17. package/lib/types/engine.d.ts +53 -1
  18. package/lib/types/protocol.d.ts +312 -4
  19. package/package.json +1 -1
  20. package/src/assets.ts +16 -1
  21. package/src/author-assets.ts +7 -26
  22. package/src/client/api.ts +102 -0
  23. package/src/client/locales.ts +32 -0
  24. package/src/client/panel/AdaptModeView.tsx +378 -62
  25. package/src/client/panel/AuthorAssetsView.tsx +3 -1
  26. package/src/client/panel/AuthorHome.tsx +130 -21
  27. package/src/client/panel/GlobalAssetLibraryView.tsx +172 -0
  28. package/src/client/panel/ModelManager.tsx +205 -0
  29. package/src/client/panel/NovelPanel.tsx +26 -63
  30. package/src/client/panel/ProgressConsole.tsx +64 -0
  31. package/src/client/panel/ProgressHomeView.tsx +1 -1
  32. package/src/client/panel/ReasoningSection.tsx +31 -0
  33. package/src/client/panel/SettingsView.tsx +56 -49
  34. package/src/client/panel/panel.module.css +25 -0
  35. package/src/engine.ts +455 -2
  36. package/src/index.ts +2 -2
  37. package/src/protocol.ts +321 -4
  38. package/src/routes.ts +338 -3
package/README.md CHANGED
@@ -5,6 +5,9 @@
5
5
  你的专属 AI 小说写作插件:把一份大纲"编译"成一本完整的小说。
6
6
  Your personal AI novel-writing plugin for DSH: turn an outline into a complete novel.
7
7
 
8
+ > **适配 DSH 版本 / Compatible DSH**:官方稳定版 `0.1.1-rc.2`。请使用正式/稳定版 DSH;**不兼容 DSH Alpha / 预览版**。
9
+ > 本插件依赖 `@deepseek-ai/dsh-* ^0.1.0-rc.5`,以官方稳定版为准。
10
+
8
11
  ---
9
12
 
10
13
  ## 功能一览 / Features