@llm-newsletter-kit/core 1.3.9 → 1.3.11
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.
- package/dist/index.cjs +2 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -923,11 +923,7 @@ let GenerateNewsletter$1 = class GenerateNewsletter extends BaseLLMQuery {
|
|
|
923
923
|
subscribePageUrl;
|
|
924
924
|
newsletterBrandName;
|
|
925
925
|
schema = zod.z.object({
|
|
926
|
-
title: zod.z
|
|
927
|
-
.string()
|
|
928
|
-
.max(100)
|
|
929
|
-
.min(20)
|
|
930
|
-
.describe('Title of the newsletter email'),
|
|
926
|
+
title: zod.z.string().max(70).min(20).describe('Title of the newsletter email'),
|
|
931
927
|
content: zod.z.string().describe('Email content in markdown format'),
|
|
932
928
|
isWrittenInOutputLanguage: zod.z
|
|
933
929
|
.boolean()
|
|
@@ -1087,7 +1083,7 @@ Output Format & Requirements:
|
|
|
1087
1083
|
|
|
1088
1084
|
7. Title Writing Guidelines:${this.options.content.titleContext
|
|
1089
1085
|
? `\n - **Required title keyword**: "${this.options.content.titleContext}". This phrase MUST appear in the title. Combine it with key context from today's newsletter content to form a natural, complete title.
|
|
1090
|
-
- Keep title length 20-
|
|
1086
|
+
- Keep title length 20-70 characters.
|
|
1091
1087
|
- Use neutral and objective terms in title (e.g., 'announced', 'implementing', 'deadline approaching').
|
|
1092
1088
|
- Write title clearly and factually to maintain professionalism and credibility.`
|
|
1093
1089
|
: `
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.js
CHANGED
|
@@ -921,11 +921,7 @@ let GenerateNewsletter$1 = class GenerateNewsletter extends BaseLLMQuery {
|
|
|
921
921
|
subscribePageUrl;
|
|
922
922
|
newsletterBrandName;
|
|
923
923
|
schema = z.object({
|
|
924
|
-
title: z
|
|
925
|
-
.string()
|
|
926
|
-
.max(100)
|
|
927
|
-
.min(20)
|
|
928
|
-
.describe('Title of the newsletter email'),
|
|
924
|
+
title: z.string().max(70).min(20).describe('Title of the newsletter email'),
|
|
929
925
|
content: z.string().describe('Email content in markdown format'),
|
|
930
926
|
isWrittenInOutputLanguage: z
|
|
931
927
|
.boolean()
|
|
@@ -1085,7 +1081,7 @@ Output Format & Requirements:
|
|
|
1085
1081
|
|
|
1086
1082
|
7. Title Writing Guidelines:${this.options.content.titleContext
|
|
1087
1083
|
? `\n - **Required title keyword**: "${this.options.content.titleContext}". This phrase MUST appear in the title. Combine it with key context from today's newsletter content to form a natural, complete title.
|
|
1088
|
-
- Keep title length 20-
|
|
1084
|
+
- Keep title length 20-70 characters.
|
|
1089
1085
|
- Use neutral and objective terms in title (e.g., 'announced', 'implementing', 'deadline approaching').
|
|
1090
1086
|
- Write title clearly and factually to maintain professionalism and credibility.`
|
|
1091
1087
|
: `
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
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.3.
|
|
5
|
+
"version": "1.3.11",
|
|
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",
|
|
@@ -49,27 +49,27 @@
|
|
|
49
49
|
"license": "Apache-2.0",
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@langchain/core": "^1.1.39",
|
|
52
|
-
"ai": "^6.0.
|
|
52
|
+
"ai": "^6.0.158",
|
|
53
53
|
"es-toolkit": "^1.45.1",
|
|
54
54
|
"jsdom": "^29.0.2",
|
|
55
55
|
"juice": "^11.1.1",
|
|
56
|
-
"safe-markdown2html": "^1.0.
|
|
56
|
+
"safe-markdown2html": "^1.0.2",
|
|
57
57
|
"zod": "^4.3.6"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@ai-sdk/anthropic": "^3.0.
|
|
61
|
-
"@ai-sdk/google": "^3.0.
|
|
60
|
+
"@ai-sdk/anthropic": "^3.0.69",
|
|
61
|
+
"@ai-sdk/google": "^3.0.62",
|
|
62
62
|
"@ai-sdk/openai": "^3.0.52",
|
|
63
63
|
"@ai-sdk/togetherai": "^2.0.45",
|
|
64
64
|
"@eslint/js": "^10.0.1",
|
|
65
65
|
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
66
66
|
"@types/jsdom": "^28.0.1",
|
|
67
|
-
"@types/node": "^25.
|
|
67
|
+
"@types/node": "^25.6.0",
|
|
68
68
|
"@vitest/coverage-v8": "^4.1.4",
|
|
69
69
|
"@vitest/expect": "^4.1.4",
|
|
70
70
|
"eslint": "^10.2.0",
|
|
71
71
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
72
|
-
"prettier": "^3.8.
|
|
72
|
+
"prettier": "^3.8.2",
|
|
73
73
|
"rimraf": "^6.1.3",
|
|
74
74
|
"rollup": "^4.60.1",
|
|
75
75
|
"rollup-plugin-dts": "^6.4.1",
|