@llm-newsletter-kit/core 1.0.0 → 1.0.1

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 (2) hide show
  1. package/README.md +1 -32
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -158,38 +158,7 @@ For detailed field descriptions, see `src/generate-newsletter/models/interfaces.
158
158
 
159
159
  All chains are composed as a single pipeline using `@langchain/core/runnables` sequence.
160
160
 
161
- ```mermaid
162
- sequenceDiagram
163
- autonumber
164
- actor Operator as Operator/CI
165
- participant GN as GenerateNewsletter
166
- participant TS as TaskService
167
- participant CR as CrawlingChain (CrawlingProvider)
168
- participant AN as AnalysisChain (AnalysisProvider)
169
- participant CG as ContentGenerateChain (ContentGenerateProvider)
170
- participant ES as EmailService (optional)
171
-
172
- Operator->>GN: generate()
173
- GN->>TS: start()
174
- TS-->>GN: taskId
175
-
176
- GN->>CR: run(crawlingTargetGroups)
177
- CR-->>GN: saved count / urls
178
-
179
- GN->>AN: run(unscored articles)
180
- AN-->>GN: tags/scores updated
181
-
182
- GN->>CG: run(candidates)
183
- CG-->>GN: newsletter(id, html)
184
-
185
- alt previewNewsletter enabled
186
- GN->>ES: send(emailMessage, preview)
187
- ES-->>GN: ok
188
- end
189
-
190
- GN->>TS: end()
191
- GN-->>Operator: id | null
192
- ```
161
+ ![diagram.png](assets/diagram.png)
193
162
 
194
163
  ## Crawling & Parsing Philosophy: "Bring Your Own Scraper"
195
164
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@llm-newsletter-kit/core",
3
3
  "private": false,
4
4
  "type": "module",
5
- "version": "1.0.0",
5
+ "version": "1.0.1",
6
6
  "description": "An extensible framework to automate your entire newsletter workflow. Handles data collection, LLM-based content analysis, and email generation, letting you focus on your unique domain logic.",
7
7
  "main": "dist/index.cjs",
8
8
  "module": "dist/index.js",