@heripo/research-radar 6.4.1 → 6.4.2
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/README.md +4 -4
- package/dist/index.d.ts +668 -698
- package/dist/index.js +4915 -6013
- package/dist/index.js.map +1 -1
- package/package.json +26 -31
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ An OpenAI API key is always required and supplies all default models. The option
|
|
|
76
76
|
|
|
77
77
|
### Transitive dependency security
|
|
78
78
|
|
|
79
|
-
This repository's `package-lock.json` resolves the audited dependencies for development and CI. Consumers use their own lockfiles, so upgrading this library alone does not guarantee that an existing vulnerable transitive dependency is replaced. The current
|
|
79
|
+
This repository's `package-lock.json` resolves the audited dependencies for development and CI. Consumers use their own lockfiles, so upgrading this library alone does not guarantee that an existing vulnerable transitive dependency is replaced. The current Cheerio dependency range still allows `undici` 7.29.0.
|
|
80
80
|
|
|
81
81
|
For npm applications, merge the following into the **application's root `package.json`** to require a patched undici 7.x version. Overrides declared by an installed library are ignored by npm ([npm overrides documentation](https://docs.npmjs.com/cli/v11/configuring-npm/package-json/#overrides)). The selector leaves undici 8.x, used by jsdom, unchanged.
|
|
82
82
|
|
|
@@ -151,7 +151,7 @@ Candidate selection belongs to your repository. Persist `usedArticles` associati
|
|
|
151
151
|
|
|
152
152
|
### Recent titles and source deadlines
|
|
153
153
|
|
|
154
|
-
These APIs use the published core 3.2.
|
|
154
|
+
These APIs use the published core 3.2.1 package. The peer dependency requires
|
|
155
155
|
`~3.2.0`, and `npm ci` installs the locked package without a local core link.
|
|
156
156
|
|
|
157
157
|
- Implement optional `NewsletterRepository.findRecentPublishedTitles({ fromInclusive, toExclusive })`
|
|
@@ -339,7 +339,7 @@ The optional `contentGeneration: { provider, apiKey, model? }` compatibility pat
|
|
|
339
339
|
|
|
340
340
|
Core 3.2 downloads each article's images and sends their bytes instead of URLs, refusing non-public addresses. When the application supplies `customFetch`, images are downloaded through it behind a robots.txt gate, so a proxy or TLS workaround a board needs applies to its images too; that gate's robots.txt lookup never follows a redirect to another host. Core checks every image URL and redirect hop before calling that fetch, but checking the address at connect time, against DNS rebinding, is then up to the application's fetch. Without `customFetch`, core's own download is used, which checks addresses as it connects but skips robots.txt for images. The analysis prompt asks for two labelled paragraphs: `시각 맥락` describes what the images show, and `이미지 속 정보` carries legible text read from them — event names, dates, venues, organisers and deadlines that a poster-only notice leaves out of its body. The generation prompt may cite `이미지 속 정보` to fill in such facts, prefers the body when the two disagree, and treats everything else in the image analysis as context only. Deadline extraction still ignores image analysis.
|
|
341
341
|
|
|
342
|
-
[src/config/index.ts](./src/config/index.ts) defines Korean output (`outputLanguage: '한국어'`), the cultural heritage domain (`expertField: ['문화유산']`), brand name, `subscribePageUrl`, LLM `maxRetries: 5`, chain `stopAfterAttempt: 3`, and generation `temperature: 0.3`. Publication settings are `minimumArticleCountForIssue: 5` and `priorityArticleScoreThreshold: 8`; the core engine evaluates them. In the locked core 3.2.
|
|
342
|
+
[src/config/index.ts](./src/config/index.ts) defines Korean output (`outputLanguage: '한국어'`), the cultural heritage domain (`expertField: ['문화유산']`), brand name, `subscribePageUrl`, LLM `maxRetries: 5`, chain `stopAfterAttempt: 3`, and generation `temperature: 0.3`. Publication settings are `minimumArticleCountForIssue: 5` and `priorityArticleScoreThreshold: 8`; the core engine evaluates them. In the locked core 3.2.1 implementation, the count check skips **5 or fewer** candidates unless at least one has importance score >= 8. An empty candidate list is always skipped.
|
|
343
343
|
|
|
344
344
|
## Crawling targets and parsers
|
|
345
345
|
|
|
@@ -426,7 +426,7 @@ npm ci
|
|
|
426
426
|
|
|
427
427
|
# build
|
|
428
428
|
npm run clean # remove dist/
|
|
429
|
-
npm run build # clean dist
|
|
429
|
+
npm run build # clean dist/, type-check, and build with tsdown (ESM + types)
|
|
430
430
|
|
|
431
431
|
# type-check & lint
|
|
432
432
|
npm run lint # lint source files
|