@autorag/librarian 2.0.0 → 2.2.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.
- package/README.md +104 -2
- package/dist/agent/agent.d.ts +11 -0
- package/dist/agent/search-bm25-tool.d.ts +1 -1
- package/dist/agent/search-documents.d.ts +1 -0
- package/dist/agent/search-minsync-tool.d.ts +1 -1
- package/dist/cli/config.d.ts +6 -0
- package/dist/cli/index.js +5871 -587
- package/dist/datasource/chunk-store.d.ts +67 -0
- package/dist/datasource/connector-skill.d.ts +107 -0
- package/dist/datasource/connector.d.ts +72 -0
- package/dist/datasource/crawler-client.d.ts +9 -0
- package/dist/datasource/crawler-skill.d.ts +41 -0
- package/dist/datasource/crawler-types.d.ts +53 -0
- package/dist/datasource/http.d.ts +49 -0
- package/dist/datasource/index.d.ts +16 -0
- package/dist/datasource/skills/discrawl/client.d.ts +23 -0
- package/dist/datasource/skills/discrawl/config.d.ts +9 -0
- package/dist/datasource/skills/discrawl/index.d.ts +5 -0
- package/dist/datasource/skills/discrawl/methods.d.ts +55 -0
- package/dist/datasource/skills/discrawl/paths.d.ts +30 -0
- package/dist/datasource/skills/discrawl/skill.d.ts +58 -0
- package/dist/datasource/skills/discrawl/types.d.ts +198 -0
- package/dist/datasource/skills/factory.d.ts +35 -0
- package/dist/datasource/skills/gdrive/connector.d.ts +30 -0
- package/dist/datasource/skills/gdrive/index.d.ts +3 -0
- package/dist/datasource/skills/gdrive/rclone-connector.d.ts +51 -0
- package/dist/datasource/skills/gdrive/skill.d.ts +24 -0
- package/dist/datasource/skills/github/connector.d.ts +28 -0
- package/dist/datasource/skills/github/index.d.ts +2 -0
- package/dist/datasource/skills/github/skill.d.ts +20 -0
- package/dist/datasource/skills/gmail/connector.d.ts +30 -0
- package/dist/datasource/skills/gmail/himalaya-connector.d.ts +40 -0
- package/dist/datasource/skills/gmail/index.d.ts +3 -0
- package/dist/datasource/skills/gmail/skill.d.ts +24 -0
- package/dist/datasource/skills/mail-export/connector.d.ts +21 -0
- package/dist/datasource/skills/mail-export/index.d.ts +2 -0
- package/dist/datasource/skills/mail-export/skill.d.ts +20 -0
- package/dist/datasource/skills/notion/index.d.ts +15 -0
- package/dist/datasource/skills/obsidian/client.d.ts +15 -0
- package/dist/datasource/skills/obsidian/index.d.ts +6 -0
- package/dist/datasource/skills/obsidian/methods.d.ts +26 -0
- package/dist/datasource/skills/obsidian/paths.d.ts +27 -0
- package/dist/datasource/skills/obsidian/skill.d.ts +43 -0
- package/dist/datasource/skills/obsidian/types.d.ts +90 -0
- package/dist/datasource/skills/rss/connector.d.ts +28 -0
- package/dist/datasource/skills/rss/index.d.ts +2 -0
- package/dist/datasource/skills/rss/skill.d.ts +22 -0
- package/dist/datasource/skills/slack/index.d.ts +15 -0
- package/dist/datasource/skills/spotlight/connector.d.ts +59 -0
- package/dist/datasource/skills/spotlight/index.d.ts +2 -0
- package/dist/datasource/skills/spotlight/skill.d.ts +20 -0
- package/dist/datasource/skills/telecrawl/index.d.ts +15 -0
- package/dist/datasource/skills/wacrawl/index.d.ts +15 -0
- package/dist/index.js +5971 -673
- package/dist/parser/defaults.d.ts +2 -0
- package/dist/parser/hwp-markdown.d.ts +25 -0
- package/dist/parser/hwp.d.ts +7 -0
- package/dist/parser/index.d.ts +2 -1
- package/dist/parser/rhwp-adapter.d.ts +30 -0
- package/dist/retrieval/merger.d.ts +1 -0
- package/dist/retrieval/scope.d.ts +10 -0
- package/package.json +19 -18
- package/skills/autorag-setup/SKILL.md +74 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { RetrievalMethod } from "../../../retrieval/types.js";
|
|
2
|
+
import type { DatasourceIndexResult, DatasourceSkill, DatasourceSkillDescriptor, DatasourceSkillManifest, PollingMetadata, SourceDescription } from "../../types.js";
|
|
3
|
+
import { type ObsidianSearchClient } from "./methods.js";
|
|
4
|
+
import type { QmdEmbedResult, QmdEnsureResult, QmdUpdateResult } from "./types.js";
|
|
5
|
+
export interface ObsidianSkillClient extends ObsidianSearchClient {
|
|
6
|
+
ensureCollection(): Promise<QmdEnsureResult>;
|
|
7
|
+
update(): Promise<QmdUpdateResult>;
|
|
8
|
+
embed(): Promise<QmdEmbedResult>;
|
|
9
|
+
}
|
|
10
|
+
export interface ObsidianSkillOptions {
|
|
11
|
+
readonly client?: ObsidianSkillClient;
|
|
12
|
+
readonly vaultPath?: string;
|
|
13
|
+
readonly binaryPath?: string;
|
|
14
|
+
readonly instanceId?: string;
|
|
15
|
+
readonly instances?: readonly string[];
|
|
16
|
+
readonly pollingIntervalMs?: number;
|
|
17
|
+
readonly tags?: readonly string[];
|
|
18
|
+
readonly lastIndexedAt?: number;
|
|
19
|
+
readonly workspaceRoot?: string;
|
|
20
|
+
readonly collectionName?: string;
|
|
21
|
+
readonly timeoutMs?: number;
|
|
22
|
+
readonly connectorOptions?: {
|
|
23
|
+
readonly vaultPath?: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export declare class ObsidianSkill implements DatasourceSkill {
|
|
27
|
+
private readonly client;
|
|
28
|
+
private readonly instanceId;
|
|
29
|
+
private readonly instances;
|
|
30
|
+
private readonly pollingIntervalMs;
|
|
31
|
+
private readonly tags;
|
|
32
|
+
private readonly vaultPath;
|
|
33
|
+
private lastIndexedAt;
|
|
34
|
+
private lastError;
|
|
35
|
+
constructor(options?: ObsidianSkillOptions);
|
|
36
|
+
describe(): DatasourceSkillDescriptor;
|
|
37
|
+
polling(): PollingMetadata;
|
|
38
|
+
index(): Promise<DatasourceIndexResult>;
|
|
39
|
+
retrievalMethods(): readonly RetrievalMethod[];
|
|
40
|
+
describeSources(): readonly SourceDescription[];
|
|
41
|
+
skillManifest(): DatasourceSkillManifest;
|
|
42
|
+
private fail;
|
|
43
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { RetrievalOptions } from "../../../retrieval/types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Search modes accepted by the external `qmd` CLI.
|
|
4
|
+
*
|
|
5
|
+
* - `search` — BM25 / FTS5 lexical search
|
|
6
|
+
* - `vsearch` — dense vector semantic search
|
|
7
|
+
*/
|
|
8
|
+
export type QmdSearchMode = "search" | "vsearch";
|
|
9
|
+
/**
|
|
10
|
+
* Configuration for {@link QmdClient}. The client spawns the `qmd` binary as a
|
|
11
|
+
* child process and isolates config/cache under the AutoRAG workspace.
|
|
12
|
+
*/
|
|
13
|
+
export interface QmdOptions {
|
|
14
|
+
/** Explicit path to the `qmd` binary. Defaults to a bare `qmd` PATH lookup. */
|
|
15
|
+
readonly binaryPath?: string;
|
|
16
|
+
/** Spawn timeout in milliseconds. Default 60_000 (embed can be slow). */
|
|
17
|
+
readonly timeoutMs?: number;
|
|
18
|
+
/** Max stdout/stderr bytes retained. Default 1_048_576 (1 MiB). */
|
|
19
|
+
readonly maxBufferBytes?: number;
|
|
20
|
+
/** Absolute path to the Obsidian vault. Required for ensure/update. */
|
|
21
|
+
readonly vaultPath?: string;
|
|
22
|
+
/** AutoRAG workspace root used to isolate qmd config/cache. */
|
|
23
|
+
readonly workspaceRoot?: string;
|
|
24
|
+
/** Instance id used for source paths and collection naming. Default `default`. */
|
|
25
|
+
readonly instanceId?: string;
|
|
26
|
+
/** Explicit collection name; defaults to a sanitized instance id. */
|
|
27
|
+
readonly collectionName?: string;
|
|
28
|
+
/** Environment overrides merged on top of a restricted process env. */
|
|
29
|
+
readonly env?: Readonly<Record<string, string | undefined>>;
|
|
30
|
+
}
|
|
31
|
+
export declare const DEFAULT_QMD_BINARY = "qmd";
|
|
32
|
+
export declare const DEFAULT_QMD_TIMEOUT_MS = 60000;
|
|
33
|
+
export declare const DEFAULT_QMD_MAX_BUFFER_BYTES = 1048576;
|
|
34
|
+
export type QmdFailureReason = "binary-missing" | "not-configured" | "nonzero-exit" | "spawn-error" | "timeout" | "aborted" | "stdout-too-large" | "stderr-too-large" | "invalid-json" | "invalid-shape";
|
|
35
|
+
export interface QmdFailure {
|
|
36
|
+
readonly ok: false;
|
|
37
|
+
readonly reason: QmdFailureReason;
|
|
38
|
+
readonly stdout: string;
|
|
39
|
+
readonly stderr: string;
|
|
40
|
+
readonly code: number | null;
|
|
41
|
+
}
|
|
42
|
+
export interface QmdOk<T> {
|
|
43
|
+
readonly ok: true;
|
|
44
|
+
readonly data: T;
|
|
45
|
+
readonly stdout: string;
|
|
46
|
+
readonly stderr: string;
|
|
47
|
+
readonly code: number;
|
|
48
|
+
}
|
|
49
|
+
export interface QmdUpdateInfo {
|
|
50
|
+
readonly indexed: number;
|
|
51
|
+
readonly updated: number;
|
|
52
|
+
readonly unchanged: number;
|
|
53
|
+
readonly removed: number;
|
|
54
|
+
readonly needsEmbedding?: boolean;
|
|
55
|
+
readonly metadata?: Readonly<Record<string, unknown>>;
|
|
56
|
+
}
|
|
57
|
+
export interface QmdEmbedInfo {
|
|
58
|
+
readonly embedded: boolean;
|
|
59
|
+
readonly metadata?: Readonly<Record<string, unknown>>;
|
|
60
|
+
}
|
|
61
|
+
export interface QmdEnsureInfo {
|
|
62
|
+
readonly collectionName: string;
|
|
63
|
+
readonly vaultPath: string;
|
|
64
|
+
readonly configDir: string;
|
|
65
|
+
}
|
|
66
|
+
/** A scored search hit from `qmd search` / `qmd vsearch`. */
|
|
67
|
+
export interface QmdSearchHit {
|
|
68
|
+
readonly chunkId: string;
|
|
69
|
+
readonly score: number;
|
|
70
|
+
readonly content: string;
|
|
71
|
+
readonly title?: string;
|
|
72
|
+
readonly file?: string;
|
|
73
|
+
readonly docid?: string;
|
|
74
|
+
readonly metadata?: Readonly<Record<string, unknown>>;
|
|
75
|
+
}
|
|
76
|
+
export interface QmdSearchOk {
|
|
77
|
+
readonly ok: true;
|
|
78
|
+
readonly hits: readonly QmdSearchHit[];
|
|
79
|
+
readonly stdout: string;
|
|
80
|
+
readonly stderr: string;
|
|
81
|
+
readonly code: number;
|
|
82
|
+
readonly data: {
|
|
83
|
+
readonly hits: readonly QmdSearchHit[];
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
export type QmdEnsureResult = QmdOk<QmdEnsureInfo> | QmdFailure;
|
|
87
|
+
export type QmdUpdateResult = QmdOk<QmdUpdateInfo> | QmdFailure;
|
|
88
|
+
export type QmdEmbedResult = QmdOk<QmdEmbedInfo> | QmdFailure;
|
|
89
|
+
export type QmdSearchResult = QmdSearchOk | QmdFailure;
|
|
90
|
+
export type QmdSearchOptions = RetrievalOptions;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RSS/news connector (issue #1316).
|
|
3
|
+
*
|
|
4
|
+
* Fetches RSS 2.0 / Atom feeds from a trusted, server-configured feed list
|
|
5
|
+
* using the existing `fast-xml-parser` dependency. Feeds are referenced by
|
|
6
|
+
* index in warnings — never by URL — so diagnostics stay opaque. Per-feed
|
|
7
|
+
* failures degrade to warnings; only all feeds failing fails the fetch.
|
|
8
|
+
*/
|
|
9
|
+
import type { ConnectorFetchResult, DatasourceConnector } from "../../connector.js";
|
|
10
|
+
export interface RssFeedConfig {
|
|
11
|
+
readonly url: string;
|
|
12
|
+
/** Optional category segment inserted into the hierarchy. */
|
|
13
|
+
readonly category?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface RssConnectorOptions {
|
|
16
|
+
/** Feeds to poll. Required trusted configuration. */
|
|
17
|
+
readonly feeds?: readonly RssFeedConfig[];
|
|
18
|
+
readonly timeoutMs?: number;
|
|
19
|
+
readonly fetchImpl?: typeof fetch;
|
|
20
|
+
readonly maxDocuments?: number;
|
|
21
|
+
readonly maxItemsPerFeed?: number;
|
|
22
|
+
}
|
|
23
|
+
export declare class RssConnector implements DatasourceConnector {
|
|
24
|
+
private readonly options;
|
|
25
|
+
private readonly parser;
|
|
26
|
+
constructor(options?: RssConnectorOptions);
|
|
27
|
+
fetch(signal?: AbortSignal): Promise<ConnectorFetchResult>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RSS/news datasource skill (issue #1316).
|
|
3
|
+
*
|
|
4
|
+
* Thin composition of RssConnector with the shared
|
|
5
|
+
* {@link ConnectorDatasourceSkill} base: descriptor, polling metadata,
|
|
6
|
+
* ok/fail indexing with path/PII-opaque diagnostics, lexical retrieval via
|
|
7
|
+
* the shared pipeline, opaque `/rss/<instance>/…` sources, and a
|
|
8
|
+
* progressive-disclosure agent-skill manifest.
|
|
9
|
+
*/
|
|
10
|
+
import { ConnectorDatasourceSkill, type ConnectorSkillDefinition, type ConnectorSkillOptions } from "../../connector-skill.js";
|
|
11
|
+
import { RssConnector, type RssConnectorOptions } from "./connector.js";
|
|
12
|
+
export declare const RSS_SKILL_DEFINITION: ConnectorSkillDefinition;
|
|
13
|
+
export interface RssSkillOptions extends Omit<ConnectorSkillOptions, "connector"> {
|
|
14
|
+
/** Trusted connector configuration; a pre-built connector wins. */
|
|
15
|
+
readonly connector?: RssConnector;
|
|
16
|
+
readonly connectorOptions?: RssConnectorOptions;
|
|
17
|
+
/** Dedupe window for re-delivered feed items. Default 24 hours. */
|
|
18
|
+
readonly dedupeWindowMs?: number;
|
|
19
|
+
}
|
|
20
|
+
export declare class RssSkill extends ConnectorDatasourceSkill {
|
|
21
|
+
constructor(options?: RssSkillOptions);
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CrawlerCliClient } from "../../crawler-client.js";
|
|
2
|
+
import { CrawlerDatasourceSkill, type CrawlerDatasourceSkillOptions, type CrawlerSkillClient } from "../../crawler-skill.js";
|
|
3
|
+
import type { CrawlerCliOptions } from "../../crawler-types.js";
|
|
4
|
+
export interface SlacrawlOptions extends CrawlerCliOptions {
|
|
5
|
+
}
|
|
6
|
+
export declare class SlacrawlClient extends CrawlerCliClient {
|
|
7
|
+
constructor(options?: SlacrawlOptions);
|
|
8
|
+
}
|
|
9
|
+
export interface SlackSkillOptions extends Omit<CrawlerDatasourceSkillOptions, "client"> {
|
|
10
|
+
readonly client?: CrawlerSkillClient;
|
|
11
|
+
readonly connectorOptions?: SlacrawlOptions;
|
|
12
|
+
}
|
|
13
|
+
export declare class SlackSkill extends CrawlerDatasourceSkill {
|
|
14
|
+
constructor(options?: SlackSkillOptions);
|
|
15
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* macOS Spotlight connector (issue #1350).
|
|
3
|
+
*
|
|
4
|
+
* Runs the built-in `mdfind` CLI for trusted, server-configured Spotlight
|
|
5
|
+
* queries and hydrates text content for chunking. No external installs —
|
|
6
|
+
* Spotlight ships with macOS. **macOS only**: on any other platform the
|
|
7
|
+
* connector reports `unavailable` before spawning anything.
|
|
8
|
+
*
|
|
9
|
+
* Full Disk Access: Spotlight returns hits for protected locations (Mail,
|
|
10
|
+
* Messages, Safari data, parts of ~/Library) but reading those files fails
|
|
11
|
+
* with EPERM/EACCES unless the process running AutoRAG (the terminal app or
|
|
12
|
+
* host binary) has Full Disk Access under System Settings -> Privacy &
|
|
13
|
+
* Security. When every content read is denied this maps to the `permission`
|
|
14
|
+
* failure reason with opaque FDA guidance; partial denials surface as
|
|
15
|
+
* count-only warnings. Full absolute paths are exposed in document metadata
|
|
16
|
+
* (`path`) so results stay traceable back to the file on disk — privacy is
|
|
17
|
+
* the operator's responsibility (run AutoRAG with a local LLM if paths must
|
|
18
|
+
* not leave the machine).
|
|
19
|
+
*/
|
|
20
|
+
import type { ConnectorFetchResult, DatasourceConnector } from "../../connector.js";
|
|
21
|
+
export interface ProcessRunResult {
|
|
22
|
+
readonly ok: boolean;
|
|
23
|
+
readonly stdout: string;
|
|
24
|
+
readonly stderr: string;
|
|
25
|
+
readonly code: number | null;
|
|
26
|
+
/** Spawn error code, e.g. `"ENOENT"` when the binary is missing. */
|
|
27
|
+
readonly error?: string;
|
|
28
|
+
}
|
|
29
|
+
/** Process execution seam; injectable for tests. Never throws. */
|
|
30
|
+
export type ProcessRunner = (command: string, args: readonly string[], timeoutMs: number) => Promise<ProcessRunResult>;
|
|
31
|
+
export type FileReader = (path: string) => Promise<string>;
|
|
32
|
+
export interface SpotlightConnectorOptions {
|
|
33
|
+
/** Trusted Spotlight query strings passed to `mdfind`. Required. */
|
|
34
|
+
readonly queries?: readonly string[];
|
|
35
|
+
/** Trusted directory restricting every query (`mdfind -onlyin`). */
|
|
36
|
+
readonly onlyIn?: string;
|
|
37
|
+
/** Hits kept per query after dedupe. Default 100. */
|
|
38
|
+
readonly maxResultsPerQuery?: number;
|
|
39
|
+
/** Total documents hydrated per fetch. Default 300. */
|
|
40
|
+
readonly maxDocuments?: number;
|
|
41
|
+
/** Files larger than this are skipped. Default 256 KiB. */
|
|
42
|
+
readonly maxBytesPerFile?: number;
|
|
43
|
+
/** Per-process timeout in ms. Default 15s. */
|
|
44
|
+
readonly timeoutMs?: number;
|
|
45
|
+
/** Injectable platform; defaults to `process.platform`. */
|
|
46
|
+
readonly platform?: NodeJS.Platform;
|
|
47
|
+
/** Injectable process runner; defaults to a bounded spawn wrapper. */
|
|
48
|
+
readonly run?: ProcessRunner;
|
|
49
|
+
/** Injectable file reader; defaults to utf8 `fs.readFile`. */
|
|
50
|
+
readonly readFile?: FileReader;
|
|
51
|
+
}
|
|
52
|
+
export declare class SpotlightConnector implements DatasourceConnector {
|
|
53
|
+
private readonly options;
|
|
54
|
+
private readonly run;
|
|
55
|
+
private readonly readFile;
|
|
56
|
+
private readonly platform;
|
|
57
|
+
constructor(options?: SpotlightConnectorOptions);
|
|
58
|
+
fetch(): Promise<ConnectorFetchResult>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* macOS Spotlight datasource skill (issue #1350).
|
|
3
|
+
*
|
|
4
|
+
* Thin composition of {@link SpotlightConnector} with the shared
|
|
5
|
+
* {@link ConnectorDatasourceSkill} base. The skill is **macOS only** and
|
|
6
|
+
* needs no external installs — it drives the built-in `mdfind` CLI. The
|
|
7
|
+
* manifest carries operator guidance for mdfind/mdls/mdutil and the Full
|
|
8
|
+
* Disk Access requirement.
|
|
9
|
+
*/
|
|
10
|
+
import { ConnectorDatasourceSkill, type ConnectorSkillDefinition, type ConnectorSkillOptions } from "../../connector-skill.js";
|
|
11
|
+
import { SpotlightConnector, type SpotlightConnectorOptions } from "./connector.js";
|
|
12
|
+
export declare const SPOTLIGHT_SKILL_DEFINITION: ConnectorSkillDefinition;
|
|
13
|
+
export interface SpotlightSkillOptions extends Omit<ConnectorSkillOptions, "connector"> {
|
|
14
|
+
/** Trusted connector configuration; a pre-built connector wins. */
|
|
15
|
+
readonly connector?: SpotlightConnector;
|
|
16
|
+
readonly connectorOptions?: SpotlightConnectorOptions;
|
|
17
|
+
}
|
|
18
|
+
export declare class SpotlightSkill extends ConnectorDatasourceSkill {
|
|
19
|
+
constructor(options?: SpotlightSkillOptions);
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CrawlerCliClient } from "../../crawler-client.js";
|
|
2
|
+
import { CrawlerDatasourceSkill, type CrawlerDatasourceSkillOptions, type CrawlerSkillClient } from "../../crawler-skill.js";
|
|
3
|
+
import type { CrawlerCliOptions } from "../../crawler-types.js";
|
|
4
|
+
export interface TelecrawlOptions extends CrawlerCliOptions {
|
|
5
|
+
}
|
|
6
|
+
export declare class TelecrawlClient extends CrawlerCliClient {
|
|
7
|
+
constructor(options?: TelecrawlOptions);
|
|
8
|
+
}
|
|
9
|
+
export interface TelecrawlSkillOptions extends Omit<CrawlerDatasourceSkillOptions, "client"> {
|
|
10
|
+
readonly client?: CrawlerSkillClient;
|
|
11
|
+
readonly connectorOptions?: TelecrawlOptions;
|
|
12
|
+
}
|
|
13
|
+
export declare class TelecrawlSkill extends CrawlerDatasourceSkill {
|
|
14
|
+
constructor(options?: TelecrawlSkillOptions);
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CrawlerCliClient } from "../../crawler-client.js";
|
|
2
|
+
import { CrawlerDatasourceSkill, type CrawlerDatasourceSkillOptions, type CrawlerSkillClient } from "../../crawler-skill.js";
|
|
3
|
+
import type { CrawlerCliOptions } from "../../crawler-types.js";
|
|
4
|
+
export interface WacrawlOptions extends CrawlerCliOptions {
|
|
5
|
+
}
|
|
6
|
+
export declare class WacrawlClient extends CrawlerCliClient {
|
|
7
|
+
constructor(options?: WacrawlOptions);
|
|
8
|
+
}
|
|
9
|
+
export interface WacrawlSkillOptions extends Omit<CrawlerDatasourceSkillOptions, "client"> {
|
|
10
|
+
readonly client?: CrawlerSkillClient;
|
|
11
|
+
readonly connectorOptions?: WacrawlOptions;
|
|
12
|
+
}
|
|
13
|
+
export declare class WacrawlSkill extends CrawlerDatasourceSkill {
|
|
14
|
+
constructor(options?: WacrawlSkillOptions);
|
|
15
|
+
}
|