polite-crawler 0.7.5 → 0.7.7

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 (33) hide show
  1. package/README.md +1 -1
  2. package/build/api.d.mts +15 -1
  3. package/build/api.mjs +29 -12
  4. package/build/api.mjs.map +1 -1
  5. package/build/{cli-daemon-YNpHLC2L.mjs → cli-daemon-lG7WNWst.mjs} +2 -2
  6. package/build/{cli-daemon-YNpHLC2L.mjs.map → cli-daemon-lG7WNWst.mjs.map} +1 -1
  7. package/build/{cli-recipes-DvQ_Me5c.mjs → cli-recipes-D_sAr57h.mjs} +2 -2
  8. package/build/{cli-recipes-DvQ_Me5c.mjs.map → cli-recipes-D_sAr57h.mjs.map} +1 -1
  9. package/build/cli.mjs +7 -7
  10. package/build/{daemon-Dnj2ZBJw.mjs → daemon-bZTLwYE5.mjs} +3 -3
  11. package/build/{daemon-Dnj2ZBJw.mjs.map → daemon-bZTLwYE5.mjs.map} +1 -1
  12. package/build/{diff-DjgRBTJx.mjs → diff-DHUti6NZ.mjs} +2 -2
  13. package/build/{diff-DjgRBTJx.mjs.map → diff-DHUti6NZ.mjs.map} +1 -1
  14. package/build/{extract-Bun3TNXl.mjs → extract-DWs92OE3.mjs} +2 -2
  15. package/build/{extract-Bun3TNXl.mjs.map → extract-DWs92OE3.mjs.map} +1 -1
  16. package/build/index.d.mts +32 -2
  17. package/build/index.mjs +11 -11
  18. package/build/{open-DVL4oPJO.mjs → open-C7vQ8p4t.mjs} +6 -6
  19. package/build/{open-DVL4oPJO.mjs.map → open-C7vQ8p4t.mjs.map} +1 -1
  20. package/build/{recipe-DVXPaaPb.mjs → recipe-LQe60Vnw.mjs} +3 -3
  21. package/build/{recipe-DVXPaaPb.mjs.map → recipe-LQe60Vnw.mjs.map} +1 -1
  22. package/build/{recipe-product-DsO5gD1F.mjs → recipe-product-Br94MGo2.mjs} +41 -20
  23. package/build/recipe-product-Br94MGo2.mjs.map +1 -0
  24. package/build/{runtime-s85UU4dn.mjs → runtime-ahLMF_Kj.mjs} +2 -2
  25. package/build/{runtime-s85UU4dn.mjs.map → runtime-ahLMF_Kj.mjs.map} +1 -1
  26. package/build/{version-gVJubuLB.mjs → version-hPkXyrtH.mjs} +2 -2
  27. package/build/{version-gVJubuLB.mjs.map → version-hPkXyrtH.mjs.map} +1 -1
  28. package/build/{wacz-BCzE2Js9.mjs → wacz-CtY8h0rI.mjs} +3 -3
  29. package/build/{wacz-BCzE2Js9.mjs.map → wacz-CtY8h0rI.mjs.map} +1 -1
  30. package/build/{warc-Ds8EA8KB.mjs → warc-Djn38QhO.mjs} +2 -2
  31. package/build/{warc-Ds8EA8KB.mjs.map → warc-Djn38QhO.mjs.map} +1 -1
  32. package/package.json +3 -1
  33. package/build/recipe-product-DsO5gD1F.mjs.map +0 -1
package/build/index.d.mts CHANGED
@@ -3577,7 +3577,7 @@ export declare class WatchStore {
3577
3577
  */
3578
3578
  export declare const runWatch: (runtime: CrawlRuntime, source: WatchStore | (() => Promise<WatchStore>), options?: WatchRunnerOptions) => WatchRun;
3579
3579
  /** This is the version of the package. A test makes sure that it agrees with `package.json`. */
3580
- export declare const VERSION = "0.7.5";
3580
+ export declare const VERSION = "0.7.7";
3581
3581
  /** This is the product token that robots.txt rules match when an application gives no token. */
3582
3582
  export declare const DEFAULT_TOKEN = "PoliteCrawler";
3583
3583
  /** This page tells a site owner what the crawler is and how to control it. */
@@ -4566,6 +4566,36 @@ interface VenueRead {
4566
4566
  export declare const venueReadingsOf: (source: VenueSource, options?: {
4567
4567
  readonly location?: VenueLocation | undefined;
4568
4568
  }) => VenueRead;
4569
+ /**
4570
+ * The readings of a venue in their order, and the readings that `readVenue` chooses from them.
4571
+ *
4572
+ * @beta
4573
+ */
4574
+ interface VenueChoice {
4575
+ /** These are the readings, one for each source, label, week and season: the best first. */
4576
+ readonly readings: readonly VenueReading[];
4577
+ /** This reading is the best reading of the opening hours, from any source. */
4578
+ readonly best: VenueReading | null;
4579
+ /** This reading is the best reading of the site itself (not OpenStreetMap) with no guess. */
4580
+ readonly from_site: VenueReading | null;
4581
+ /** These days are the days where two readings of the whole schedule (a rank of 2 or less) disagree. */
4582
+ readonly disagree: readonly Day[];
4583
+ }
4584
+ /**
4585
+ * This function orders the readings of a venue and chooses the best reading, as `readVenue` does.
4586
+ * Give the readings in the order of the pages, the home page first.
4587
+ *
4588
+ * - It applies the rule of the word "bar" to all the readings together.
4589
+ * - It keeps the first reading for each source, label, week and season.
4590
+ * - It sorts the readings by rank. Of two readings with the same rank, the reading as written
4591
+ * comes before a guess.
4592
+ * - The best reading is the first reading of the opening hours.
4593
+ *
4594
+ * The function is pure. An eval of the choice uses it.
4595
+ *
4596
+ * @beta
4597
+ */
4598
+ export declare const chooseVenueReadings: (readings: readonly VenueReading[]) => VenueChoice;
4569
4599
  /** An OpenStreetMap `opening_hours` value, with where the caller got it. */
4570
4600
  interface VenueOsm {
4571
4601
  /** This text is the value of the tag, for example `Mo-Fr 08:00-18:00; Sa 09:00-13:00`. */
@@ -4905,4 +4935,4 @@ interface WaczResult extends ArchiveCounts {
4905
4935
  * The export writes temporary files beside `out` and removes them at the end.
4906
4936
  */
4907
4937
  export declare const exportWacz: (source: ArchiveSource, options: ArchiveOptions) => Promise<WaczResult>;
4908
- export { ALLOW_ALL, type AiInput, type ArchiveCounts, type ArchiveFilter, type ArchiveOptions, type ArchiveSource, type Archived, type BlobStore, type CacheEntry, type CacheIndex, type CaptureFilter, type CaptureLogOptions, type CapturePayload, type CaptureReader, type CaptureRecord, type CaptureWriter, type CatchUpResult, type ChangeCommandOptions, type Changefreq, type ChunkOptions, type Clock, type CrawlEvent, type CrawlOptions, type CrawlPage, type CrawlRun, type CrawlRunOptions, type CrawlRuntime, type CrawlStop, type CrawlSummary, type CrawlerOptions, DAYS, DEFAULT_POLICY, type Daemon, type DaemonDue, type DaemonMcpHooks, type DaemonMcpHost, type DaemonMcpOptions, type DaemonMcpService, type DaemonOptions, type DaemonState, type DaemonStatus, type DaemonTask, type DaemonTick, type DamagedLine, type Day, type DiffHunk, type DiffInput, type DiffLimits, type DiffLine, type DiffOptions, type DiffResult, type DiffSide, type DiffSummary, type DigestOptions, type DirectoryKey, type DiscoverOptions, type DiscoverResult, type DiscoverRunOptions, type DiscoverSource, type DiscoverStop, type DiscoveredUrl, type Doc, type DocDigest, type DocIndexOptions, type DocInput, type DocVersion, type Duration, type EgressOptions, type EgressResolve, type EmbedCallOptions, type EmbedOptions, type EmbedResult, type EmbedStop, type Embedder, type EmbeddingModel, type ExtractOptions, type ExtractResult, type ExtractSource, type ExtractSummary, type ExtractedDoc, type Extractor, type FeatureExtractor, type FetchOptions, type FetchOutcome, type FetchRequest, type Fetched, type FieldCandidate, type FieldCheck, type FieldClaim, type FieldKind, type FieldResult, type FieldSpan, type FieldStatus, type FieldsChecked, type FileBlobStoreOptions, type FindIndexOptions, type FindOptions, type Found, type FusedRank, type HostCounts, type HostResult, type HostStateStore, type HostStop, type Hours, type HoursComparison, type HybridCrawler, type HybridFindOptions, type HybridOptions, type HybridSearch, type HybridSearchOptions, type IndexBuild, type IndexCounts, type Indexed, type Interval, type JsonRecord, type JwkInput, type KeyDirectory, type KeyInput, type Latest, MemoryHostStateStore, type MetaChange, type Money, type OllamaEmbedderOptions, type OpenOptions, type OpenedCrawler, type Outcome, type PageExtract, type PageLink, type PageOptions, type PageResult, type Passage, type PdfOptions, type PdfText, type PlaywrightRenderer, type PolicyOptions, type PoliteCrawler, type PolitenessPolicy, type Pooling, type ProductOptions, type ProductRead, type ProductResult, type ProductVariant, type QuotaRecord, type QuotaStore, type RankMode, type RankOptions, type Ranked, type ReadOptions, type ReadResult, type ReadingIndex, type Recipe, type RecipeCapture, type RecipeDefinition, type RecipeDoc, type RecipeExtract, type RecipeRequest, type RecipeRequestOptions, type RecipeResult, type RecipeRunOptions, type RecipeTarget, type RecordInput, type RefusedReason, type ReindexResult, type RenderOptions, type RenderRequest, type Rendered, type Renderer, type RequestSigner, type Robots, type RobotsDecision, type RobotsGroup, type RobotsRule, type RobotsSignal, type RuntimeOptions, type ScanOptions, type ScheduleOptions, type ScheduleResult, type ScopeOptions, type SearchOptions, type SearchRank, type Signals, type SignatureAgentType, type SignatureCheck, type SignedRequest, type SitemapEntry, type SitemapKind, type SitemapLimits, type SitemapRead, type SqliteHostStateOptions, type StoreRuntime, type StoredChunk, type TextChunk, type TextDiff, type TransformersEmbedderOptions, type TransformersModule, type UrlPattern, VALIDATOR_MEMO, type ValidatorAnswer, type ValidatorLimits, type ValidatorMemo, type ValidatorReport, type ValidatorVerdict, type Variant, type VectorCounts, type VectorHit, type VectorStoreOptions, type VectorWrite, type VenueLink, type VenueLocation, type VenueOptions, type VenueOsm, type VenuePage, type VenueRead, type VenueReading, type VenueResult, type VenueSource, type Verified, type VerifyOptions, type VerifyResult, type VersionAt, type VersionChoice, type VersionText, type WaczResult, type WarcResult, type WatchEntry, type WatchEvent, type WatchKind, type WatchList, type WatchOptions, type WatchPending, type WatchRescheduleOptions, type WatchRow, type WatchRun, type WatchRunOptions, type WatchRunnerOptions, type WatchSchedule, type WatchState, type WatchStop, type WatchStoreOptions, type WatchSummary, type WatchUpdate, type WebArchive, type WebBotAuthOptions, type WebBotAuthSigner, type Week, type WordPart, bodyEncoding, cacheKeyOf, canonicalUrl, compareHours, decide, decodeBody, describeWeek, disagreements, extractPage, fromCompact, fromSchemaOrg, fromText, nextValidatorMemo, parseRobots, realClock, siteOf, toHoursWeek, typesOf };
4938
+ export { ALLOW_ALL, type AiInput, type ArchiveCounts, type ArchiveFilter, type ArchiveOptions, type ArchiveSource, type Archived, type BlobStore, type CacheEntry, type CacheIndex, type CaptureFilter, type CaptureLogOptions, type CapturePayload, type CaptureReader, type CaptureRecord, type CaptureWriter, type CatchUpResult, type ChangeCommandOptions, type Changefreq, type ChunkOptions, type Clock, type CrawlEvent, type CrawlOptions, type CrawlPage, type CrawlRun, type CrawlRunOptions, type CrawlRuntime, type CrawlStop, type CrawlSummary, type CrawlerOptions, DAYS, DEFAULT_POLICY, type Daemon, type DaemonDue, type DaemonMcpHooks, type DaemonMcpHost, type DaemonMcpOptions, type DaemonMcpService, type DaemonOptions, type DaemonState, type DaemonStatus, type DaemonTask, type DaemonTick, type DamagedLine, type Day, type DiffHunk, type DiffInput, type DiffLimits, type DiffLine, type DiffOptions, type DiffResult, type DiffSide, type DiffSummary, type DigestOptions, type DirectoryKey, type DiscoverOptions, type DiscoverResult, type DiscoverRunOptions, type DiscoverSource, type DiscoverStop, type DiscoveredUrl, type Doc, type DocDigest, type DocIndexOptions, type DocInput, type DocVersion, type Duration, type EgressOptions, type EgressResolve, type EmbedCallOptions, type EmbedOptions, type EmbedResult, type EmbedStop, type Embedder, type EmbeddingModel, type ExtractOptions, type ExtractResult, type ExtractSource, type ExtractSummary, type ExtractedDoc, type Extractor, type FeatureExtractor, type FetchOptions, type FetchOutcome, type FetchRequest, type Fetched, type FieldCandidate, type FieldCheck, type FieldClaim, type FieldKind, type FieldResult, type FieldSpan, type FieldStatus, type FieldsChecked, type FileBlobStoreOptions, type FindIndexOptions, type FindOptions, type Found, type FusedRank, type HostCounts, type HostResult, type HostStateStore, type HostStop, type Hours, type HoursComparison, type HybridCrawler, type HybridFindOptions, type HybridOptions, type HybridSearch, type HybridSearchOptions, type IndexBuild, type IndexCounts, type Indexed, type Interval, type JsonRecord, type JwkInput, type KeyDirectory, type KeyInput, type Latest, MemoryHostStateStore, type MetaChange, type Money, type OllamaEmbedderOptions, type OpenOptions, type OpenedCrawler, type Outcome, type PageExtract, type PageLink, type PageOptions, type PageResult, type Passage, type PdfOptions, type PdfText, type PlaywrightRenderer, type PolicyOptions, type PoliteCrawler, type PolitenessPolicy, type Pooling, type ProductOptions, type ProductRead, type ProductResult, type ProductVariant, type QuotaRecord, type QuotaStore, type RankMode, type RankOptions, type Ranked, type ReadOptions, type ReadResult, type ReadingIndex, type Recipe, type RecipeCapture, type RecipeDefinition, type RecipeDoc, type RecipeExtract, type RecipeRequest, type RecipeRequestOptions, type RecipeResult, type RecipeRunOptions, type RecipeTarget, type RecordInput, type RefusedReason, type ReindexResult, type RenderOptions, type RenderRequest, type Rendered, type Renderer, type RequestSigner, type Robots, type RobotsDecision, type RobotsGroup, type RobotsRule, type RobotsSignal, type RuntimeOptions, type ScanOptions, type ScheduleOptions, type ScheduleResult, type ScopeOptions, type SearchOptions, type SearchRank, type Signals, type SignatureAgentType, type SignatureCheck, type SignedRequest, type SitemapEntry, type SitemapKind, type SitemapLimits, type SitemapRead, type SqliteHostStateOptions, type StoreRuntime, type StoredChunk, type TextChunk, type TextDiff, type TransformersEmbedderOptions, type TransformersModule, type UrlPattern, VALIDATOR_MEMO, type ValidatorAnswer, type ValidatorLimits, type ValidatorMemo, type ValidatorReport, type ValidatorVerdict, type Variant, type VectorCounts, type VectorHit, type VectorStoreOptions, type VectorWrite, type VenueChoice, type VenueLink, type VenueLocation, type VenueOptions, type VenueOsm, type VenuePage, type VenueRead, type VenueReading, type VenueResult, type VenueSource, type Verified, type VerifyOptions, type VerifyResult, type VersionAt, type VersionChoice, type VersionText, type WaczResult, type WarcResult, type WatchEntry, type WatchEvent, type WatchKind, type WatchList, type WatchOptions, type WatchPending, type WatchRescheduleOptions, type WatchRow, type WatchRun, type WatchRunOptions, type WatchRunnerOptions, type WatchSchedule, type WatchState, type WatchStop, type WatchStoreOptions, type WatchSummary, type WatchUpdate, type WebArchive, type WebBotAuthOptions, type WebBotAuthSigner, type Week, type WordPart, bodyEncoding, cacheKeyOf, canonicalUrl, compareHours, decide, decodeBody, describeWeek, disagreements, extractPage, fromCompact, fromSchemaOrg, fromText, nextValidatorMemo, parseRobots, realClock, siteOf, toHoursWeek, typesOf };
package/build/index.mjs CHANGED
@@ -1,23 +1,23 @@
1
1
  import { n as FileBlobStore, t as CaptureLog } from "./log-CB5bADmd.mjs";
2
2
  import { t as browserMissing } from "./browser-C_dFMvO3.mjs";
3
- import { c as startDaemon, i as daemonStateFile, n as DAEMON_STATE_SCHEMA, o as readDaemonState, r as changeCommand, s as scheduleWatches, t as DAEMON_DEFAULTS } from "./daemon-Dnj2ZBJw.mjs";
4
- import { C as DocIndex, F as makeRecord, M as Crawler, N as DEADLINE_NOTE, O as locate, P as DEFAULT_SECRET_PARAMS, R as EgressRefused, S as readPdf, T as NO_EMBEDDER, _ as archivedDocId, a as fetchPage, c as isHeldBack, d as recordOverride, f as reindex, h as archiveExtractor, i as fetchAndIndex, j as CAPTURE_SCHEMA, l as isoTime, m as versionAtTime, n as HELD_BACK, o as findDocuments, p as verifyQuote, r as catchUpIndex, s as heldBackMeta, t as Extractors, u as readDocument, w as FAST_RANK_SHARE, x as isPdf, z as egressLookup } from "./runtime-s85UU4dn.mjs";
5
- import { a as formatDiff, n as diffDocument, r as diffTexts, t as DIFF_LIMITS } from "./diff-DjgRBTJx.mjs";
6
- import { C as DISCOVER_LIMITS, D as readSitemap, E as feedDate, S as crawlSite, T as SITEMAP_LIMITS, _ as estimateTokens, b as SqliteHostStateStore, c as WatchStore, d as VectorStore, f as createHybridSearch, g as chunkTokensOf, h as chunkText, i as openCrawler, l as runWatch, m as HYBRID_DEFAULTS, n as defaultUserAgent, o as WATCH_LIMITS, p as CHUNK_LIMITS, r as isMailbox, s as WATCH_SCHEMA, t as createRuntime, u as VECTORS_SCHEMA, v as fuseRanks, w as discoverSite, x as CRAWL_LIMITS, y as unitVector } from "./open-DVL4oPJO.mjs";
3
+ import { c as startDaemon, i as daemonStateFile, n as DAEMON_STATE_SCHEMA, o as readDaemonState, r as changeCommand, s as scheduleWatches, t as DAEMON_DEFAULTS } from "./daemon-bZTLwYE5.mjs";
4
+ import { C as DocIndex, F as makeRecord, M as Crawler, N as DEADLINE_NOTE, O as locate, P as DEFAULT_SECRET_PARAMS, R as EgressRefused, S as readPdf, T as NO_EMBEDDER, _ as archivedDocId, a as fetchPage, c as isHeldBack, d as recordOverride, f as reindex, h as archiveExtractor, i as fetchAndIndex, j as CAPTURE_SCHEMA, l as isoTime, m as versionAtTime, n as HELD_BACK, o as findDocuments, p as verifyQuote, r as catchUpIndex, s as heldBackMeta, t as Extractors, u as readDocument, w as FAST_RANK_SHARE, x as isPdf, z as egressLookup } from "./runtime-ahLMF_Kj.mjs";
5
+ import { a as formatDiff, n as diffDocument, r as diffTexts, t as DIFF_LIMITS } from "./diff-DHUti6NZ.mjs";
6
+ import { C as DISCOVER_LIMITS, D as readSitemap, E as feedDate, S as crawlSite, T as SITEMAP_LIMITS, _ as estimateTokens, b as SqliteHostStateStore, c as WatchStore, d as VectorStore, f as createHybridSearch, g as chunkTokensOf, h as chunkText, i as openCrawler, l as runWatch, m as HYBRID_DEFAULTS, n as defaultUserAgent, o as WATCH_LIMITS, p as CHUNK_LIMITS, r as isMailbox, s as WATCH_SCHEMA, t as createRuntime, u as VECTORS_SCHEMA, v as fuseRanks, w as discoverSite, x as CRAWL_LIMITS, y as unitVector } from "./open-C7vQ8p4t.mjs";
7
7
  import { i as ollamaEmbedder, n as OLLAMA_MODELS, r as isLoopback, t as NO_OLLAMA } from "./ollama-B7eNmGhl.mjs";
8
8
  import { n as TRANSFORMERS_MODELS, r as transformersEmbedder, t as NO_TRANSFORMERS } from "./transformers-Cb-KaPge.mjs";
9
- import { n as checkFields, r as extractDocument, t as FIELD_KINDS } from "./extract-Bun3TNXl.mjs";
9
+ import { n as checkFields, r as extractDocument, t as FIELD_KINDS } from "./extract-DWs92OE3.mjs";
10
10
  import { DAYS, compareHours, describeWeek, disagreements, fromCompact, fromSchemaOrg, fromText, toHoursWeek } from "./hours.mjs";
11
11
  import { extractPage, typesOf } from "./html.mjs";
12
12
  import { DEFAULT_POLICY, MemoryHostStateStore, VALIDATOR_MEMO, nextValidatorMemo, realClock } from "./politeness.mjs";
13
- import { a as readJson, i as defineRecipe, n as RESERVED_RECIPES, o as registerRecipe, s as runRecipe, t as RECIPE_LIMITS } from "./recipe-DVXPaaPb.mjs";
14
- import { a as readAmount, c as locationMatches, d as readVenue, f as venueReadingsOf, i as productOf, l as namesVenue, n as pickProduct, o as readProduct, r as pickVariant, s as VENUE_LIMITS, t as PRODUCT_LIMITS, u as rankHoursLinks } from "./recipe-product-DsO5gD1F.mjs";
13
+ import { a as readJson, i as defineRecipe, n as RESERVED_RECIPES, o as registerRecipe, s as runRecipe, t as RECIPE_LIMITS } from "./recipe-LQe60Vnw.mjs";
14
+ import { a as readAmount, c as chooseVenueReadings, d as rankHoursLinks, f as readVenue, i as productOf, l as locationMatches, n as pickProduct, o as readProduct, p as venueReadingsOf, r as pickVariant, s as VENUE_LIMITS, t as PRODUCT_LIMITS, u as namesVenue } from "./recipe-product-Br94MGo2.mjs";
15
15
  import { n as RenderRefused, r as playwrightRenderer, t as NO_PLAYWRIGHT } from "./render-B0NrFDkJ.mjs";
16
16
  import { ALLOW_ALL, decide, parseRobots } from "./robots.mjs";
17
17
  import { bodyEncoding, decodeBody } from "./text.mjs";
18
18
  import { cacheKeyOf, canonicalUrl, siteOf } from "./urls.mjs";
19
- import { i as durationMs, n as DEFAULT_TOKEN, r as VERSION, t as BOT_PAGE } from "./version-gVJubuLB.mjs";
19
+ import { i as durationMs, n as DEFAULT_TOKEN, r as VERSION, t as BOT_PAGE } from "./version-hPkXyrtH.mjs";
20
20
  import { i as keyDirectory, n as KEY_DIRECTORY_TYPE, o as verifySignature, r as createWebBotAuthSigner, t as KEY_DIRECTORY_PATH } from "./webbotauth-DbiWmibz.mjs";
21
- import { t as exportWacz } from "./wacz-BCzE2Js9.mjs";
22
- import { n as exportWarc } from "./warc-Ds8EA8KB.mjs";
23
- export { ALLOW_ALL, BOT_PAGE, CAPTURE_SCHEMA, CHUNK_LIMITS, CRAWL_LIMITS, CaptureLog, Crawler, DAEMON_DEFAULTS, DAEMON_STATE_SCHEMA, DAYS, DEADLINE_NOTE, DEFAULT_POLICY, DEFAULT_SECRET_PARAMS, DEFAULT_TOKEN, DIFF_LIMITS, DISCOVER_LIMITS, DocIndex, EgressRefused, Extractors, FAST_RANK_SHARE, FIELD_KINDS, FileBlobStore, HELD_BACK, HYBRID_DEFAULTS, KEY_DIRECTORY_PATH, KEY_DIRECTORY_TYPE, MemoryHostStateStore, NO_EMBEDDER, NO_OLLAMA, NO_PLAYWRIGHT, NO_TRANSFORMERS, OLLAMA_MODELS, PRODUCT_LIMITS, RECIPE_LIMITS, RESERVED_RECIPES, RenderRefused, SITEMAP_LIMITS, SqliteHostStateStore, TRANSFORMERS_MODELS, VALIDATOR_MEMO, VECTORS_SCHEMA, VENUE_LIMITS, VERSION, VectorStore, WATCH_LIMITS, WATCH_SCHEMA, WatchStore, archiveExtractor, archivedDocId, bodyEncoding, browserMissing, cacheKeyOf, canonicalUrl, catchUpIndex, changeCommand, checkFields, chunkText, chunkTokensOf, compareHours, crawlSite, createHybridSearch, createRuntime, createWebBotAuthSigner, daemonStateFile, decide, decodeBody, defaultUserAgent, defineRecipe, describeWeek, diffDocument, diffTexts, disagreements, discoverSite, durationMs, egressLookup, estimateTokens, exportWacz, exportWarc, extractDocument, extractPage, feedDate, fetchAndIndex, fetchPage, findDocuments, formatDiff, fromCompact, fromSchemaOrg, fromText, fuseRanks, heldBackMeta, isHeldBack, isLoopback, isMailbox, isPdf, isoTime, keyDirectory, locate, locationMatches, makeRecord, namesVenue, nextValidatorMemo, ollamaEmbedder, openCrawler, parseRobots, pickProduct, pickVariant, playwrightRenderer, productOf, rankHoursLinks, readAmount, readDaemonState, readDocument, readJson, readPdf, readProduct, readSitemap, readVenue, realClock, recordOverride, registerRecipe, reindex, runRecipe, runWatch, scheduleWatches, siteOf, startDaemon, toHoursWeek, transformersEmbedder, typesOf, unitVector, venueReadingsOf, verifyQuote, verifySignature, versionAtTime };
21
+ import { t as exportWacz } from "./wacz-CtY8h0rI.mjs";
22
+ import { n as exportWarc } from "./warc-Djn38QhO.mjs";
23
+ export { ALLOW_ALL, BOT_PAGE, CAPTURE_SCHEMA, CHUNK_LIMITS, CRAWL_LIMITS, CaptureLog, Crawler, DAEMON_DEFAULTS, DAEMON_STATE_SCHEMA, DAYS, DEADLINE_NOTE, DEFAULT_POLICY, DEFAULT_SECRET_PARAMS, DEFAULT_TOKEN, DIFF_LIMITS, DISCOVER_LIMITS, DocIndex, EgressRefused, Extractors, FAST_RANK_SHARE, FIELD_KINDS, FileBlobStore, HELD_BACK, HYBRID_DEFAULTS, KEY_DIRECTORY_PATH, KEY_DIRECTORY_TYPE, MemoryHostStateStore, NO_EMBEDDER, NO_OLLAMA, NO_PLAYWRIGHT, NO_TRANSFORMERS, OLLAMA_MODELS, PRODUCT_LIMITS, RECIPE_LIMITS, RESERVED_RECIPES, RenderRefused, SITEMAP_LIMITS, SqliteHostStateStore, TRANSFORMERS_MODELS, VALIDATOR_MEMO, VECTORS_SCHEMA, VENUE_LIMITS, VERSION, VectorStore, WATCH_LIMITS, WATCH_SCHEMA, WatchStore, archiveExtractor, archivedDocId, bodyEncoding, browserMissing, cacheKeyOf, canonicalUrl, catchUpIndex, changeCommand, checkFields, chooseVenueReadings, chunkText, chunkTokensOf, compareHours, crawlSite, createHybridSearch, createRuntime, createWebBotAuthSigner, daemonStateFile, decide, decodeBody, defaultUserAgent, defineRecipe, describeWeek, diffDocument, diffTexts, disagreements, discoverSite, durationMs, egressLookup, estimateTokens, exportWacz, exportWarc, extractDocument, extractPage, feedDate, fetchAndIndex, fetchPage, findDocuments, formatDiff, fromCompact, fromSchemaOrg, fromText, fuseRanks, heldBackMeta, isHeldBack, isLoopback, isMailbox, isPdf, isoTime, keyDirectory, locate, locationMatches, makeRecord, namesVenue, nextValidatorMemo, ollamaEmbedder, openCrawler, parseRobots, pickProduct, pickVariant, playwrightRenderer, productOf, rankHoursLinks, readAmount, readDaemonState, readDocument, readJson, readPdf, readProduct, readSitemap, readVenue, realClock, recordOverride, registerRecipe, reindex, runRecipe, runWatch, scheduleWatches, siteOf, startDaemon, toHoursWeek, transformersEmbedder, typesOf, unitVector, venueReadingsOf, verifyQuote, verifySignature, versionAtTime };
@@ -1,17 +1,17 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-D3KUYPsf.mjs";
2
2
  import { r as checkedRenderer } from "./browser-C_dFMvO3.mjs";
3
- import { i as durationMs, n as DEFAULT_TOKEN, r as VERSION, t as BOT_PAGE } from "./version-gVJubuLB.mjs";
3
+ import { i as durationMs, n as DEFAULT_TOKEN, r as VERSION, t as BOT_PAGE } from "./version-hPkXyrtH.mjs";
4
4
  import { n as FileBlobStore, t as CaptureLog } from "./log-CB5bADmd.mjs";
5
- import { A as snippetOf, C as DocIndex, I as sha256$1, L as stableStringify, M as Crawler, N as DEADLINE_NOTE, T as NO_EMBEDDER, a as fetchPage, c as isHeldBack, f as reindex, i as fetchAndIndex, k as parseQuery, l as isoTime, o as findDocuments, p as verifyQuote, r as catchUpIndex, t as Extractors, u as readDocument, y as archivedOf } from "./runtime-s85UU4dn.mjs";
6
- import { n as diffDocument, r as diffTexts } from "./diff-DjgRBTJx.mjs";
5
+ import { A as snippetOf, C as DocIndex, I as sha256$1, L as stableStringify, M as Crawler, N as DEADLINE_NOTE, T as NO_EMBEDDER, a as fetchPage, c as isHeldBack, f as reindex, i as fetchAndIndex, k as parseQuery, l as isoTime, o as findDocuments, p as verifyQuote, r as catchUpIndex, t as Extractors, u as readDocument, y as archivedOf } from "./runtime-ahLMF_Kj.mjs";
6
+ import { n as diffDocument, r as diffTexts } from "./diff-DHUti6NZ.mjs";
7
7
  import { extractPage } from "./html.mjs";
8
8
  import { cacheKeyOf, canonicalUrl, scopeTest } from "./urls.mjs";
9
9
  import { decodeBody } from "./text.mjs";
10
- import { r as extractDocument } from "./extract-Bun3TNXl.mjs";
10
+ import { r as extractDocument } from "./extract-DWs92OE3.mjs";
11
11
  import { matchesPattern } from "./robots.mjs";
12
12
  import { MemoryHostStateStore, nextValidatorMemo, realClock } from "./politeness.mjs";
13
13
  import { r as playwrightRenderer } from "./render-B0NrFDkJ.mjs";
14
- import { o as registerRecipe } from "./recipe-DVXPaaPb.mjs";
14
+ import { o as registerRecipe } from "./recipe-LQe60Vnw.mjs";
15
15
  import { createHash, randomUUID } from "node:crypto";
16
16
  import { join } from "node:path";
17
17
  import { existsSync, lstatSync, mkdirSync, realpathSync, statSync } from "node:fs";
@@ -3553,4 +3553,4 @@ const openCrawler = (options) => {
3553
3553
  };
3554
3554
  export { DISCOVER_LIMITS as C, readSitemap as D, feedDate as E, crawlSite as S, SITEMAP_LIMITS as T, estimateTokens as _, open_exports as a, SqliteHostStateStore as b, WatchStore as c, VectorStore as d, createHybridSearch as f, chunkTokensOf as g, chunkText as h, openCrawler as i, runWatch as l, HYBRID_DEFAULTS as m, defaultUserAgent as n, WATCH_LIMITS as o, CHUNK_LIMITS as p, isMailbox as r, WATCH_SCHEMA as s, createRuntime as t, VECTORS_SCHEMA as u, fuseRanks as v, discoverSite as w, CRAWL_LIMITS as x, unitVector as y };
3555
3555
 
3556
- //# sourceMappingURL=open-DVL4oPJO.mjs.map
3556
+ //# sourceMappingURL=open-C7vQ8p4t.mjs.map