MCPcopy Create free account
hub / github.com/VPSDance/ai-proxy-rules / ParseSourceOptions

Interface ParseSourceOptions

scripts/sync/parsers.ts:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5export type SourceParser = "classical" | "clash-yaml" | "domain-list-community";
6
7export interface ParseSourceOptions {
8 sourceUrl?: string;
9 fetchText?: (url: string) => Promise<string>;
10 followIncludes?: boolean;
11}
12
13export async function parseSourceRules(
14 text: string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected