@autorag/librarian 2.10.4 → 2.10.5

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.
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The most-installed pi package that drives a session from WhatsApp (QR pairing, allow-listed
3
+ * contacts/groups, inbound messages become prompts, assistant replies go back). Pinned so a
4
+ * published update never changes what runs unattended.
5
+ */
6
+ export declare const WHATSAPP_PI_SOURCE = "npm:whatsapp-pi@1.0.70";
7
+ export interface WhatsAppExtension {
8
+ readonly paths: string[];
9
+ readonly flags: Readonly<Record<string, string | boolean>>;
10
+ }
11
+ export interface WhatsAppExtensionInput {
12
+ readonly flags: Readonly<Record<string, string | boolean | undefined>>;
13
+ /** Installs (if missing) the pi package sources and returns their extension entry files. */
14
+ readonly resolveSources?: (sources: string[]) => Promise<string[]>;
15
+ readonly cwd?: string;
16
+ }
17
+ /**
18
+ * Resolves `autorag tui --whatsapp [--whatsapp-group JID]` into the extension entry files and flag
19
+ * values the interactive session loads, or `undefined` when WhatsApp control was not requested.
20
+ */
21
+ export declare function resolveWhatsAppExtension(input: WhatsAppExtensionInput): Promise<WhatsAppExtension | undefined>;