MCPcopy Create free account

hub / github.com/VPSDance/ai-proxy-rules / functions

Functions102 in github.com/VPSDance/ai-proxy-rules

↓ 16 callersFunctionrender
(format: Format, target: RenderTarget)
scripts/generators/index.ts:5
↓ 12 callersFunctionassignIfAny
( target: Record<string, T[]>, key: string, values: T[] )
scripts/generators/index.ts:221
↓ 11 callersMethodfetch
(url: string)
scripts/sync/cache.ts:26
↓ 11 callersFunctionnormalizeRuleSet
(rules: RuleSet)
scripts/rules.ts:39
↓ 8 callersFunctionmergeRuleSets
(ruleSets: RuleSet[])
scripts/rules.ts:27
↓ 8 callersFunctionproviderToTarget
(provider: ProviderSource)
scripts/data.ts:115
↓ 7 callersFunctionevaluateGuard
(params: GuardParams)
scripts/checks/guard.ts:57
↓ 7 callersFunctionremoveValues
(source: T[], remove: T[])
scripts/rules.ts:118
↓ 6 callersFunctioncountRulesFromText
(text: string)
scripts/checks/guard.ts:119
↓ 6 callersFunctionemptyRuleSet
()
scripts/rules.ts:15
↓ 6 callersFunctionrenderGroupedLines
( target: RenderTarget, renderRules: (rules: RuleSet) => string[] )
scripts/generators/index.ts:192
↓ 5 callersFunctionnormalizeTextRules
(values: string[])
scripts/rules.ts:110
↓ 5 callersFunctionwithHeader
(target: RenderTarget, lines: string[])
scripts/generators/index.ts:179
↓ 4 callersMethodcacheKey
(url: string)
scripts/sync/cache.ts:116
↓ 4 callersFunctioncheckMetadata
(sourcesDir: string)
scripts/checks/metadata.ts:15
↓ 4 callersFunctioncheckReadme
(sourcesDir: string, readmePath: string)
scripts/checks/readme.ts:12
↓ 4 callersFunctionparseClassicalRules
(text: string)
scripts/sync/parsers.ts:29
↓ 4 callersFunctionparseDomainListCommunityRules
( text: string, options: ParseSourceOptions = {}, visited: Set<string> = new Set() )
scripts/sync/parsers.ts:98
↓ 4 callersFunctionsubtractRuleSet
(source: RuleSet, remove: RuleSet)
scripts/rules.ts:51
↓ 3 callersFunctionaggregateProviders
(providers: ProviderSource[])
scripts/data.ts:64
↓ 3 callersFunctionbuildProviderData
( provider: SourceProvider, baseDir: string, context: BuildContext = {} )
scripts/sync/build.ts:129
↓ 3 callersMethodgetWarnings
()
scripts/sync/cache.ts:108
↓ 3 callersFunctionheaderLines
(target: RenderTarget)
scripts/generators/index.ts:183
↓ 3 callersMethodindexFile
()
scripts/sync/cache.ts:124
↓ 3 callersFunctionnormalizePartialRuleSet
(rules: Partial<RuleSet> | undefined)
scripts/sync/build.ts:269
↓ 3 callersFunctionparseCsv
(value: string)
scripts/cli.ts:105
↓ 3 callersMethodpruneOrphans
()
scripts/sync/cache.ts:66
↓ 3 callersFunctionwarn
(msg: string)
scripts/sync.ts:76
↓ 2 callersFunctionaggregateProvidersByCategory
(providers: ProviderSource[])
scripts/data.ts:81
↓ 2 callersMethodcacheFile
(url: string)
scripts/sync/cache.ts:120
↓ 2 callersFunctioncollectReadmeIds
(text: string)
scripts/checks/readme.ts:45
↓ 2 callersFunctionfresh
()
scripts/sync/build.ts:236
↓ 2 callersMethodgetStaleWarnings
()
scripts/sync/cache.ts:112
↓ 2 callersFunctionnormalizeDnsRules
(values: string[])
scripts/rules.ts:106
↓ 2 callersFunctionparseCsv
(value: string)
scripts/sync.ts:128
↓ 2 callersFunctionparseProviderFile
(filePath: string)
scripts/data.ts:127
↓ 2 callersFunctionparseSourceRules
( text: string, parser: SourceParser, options: ParseSourceOptions = {} )
scripts/sync/parsers.ts:13
↓ 2 callersMethodreadIndex
()
scripts/sync/cache.ts:128
↓ 2 callersFunctionsortKeys
(record: Record<string, string>)
scripts/sync/cache.ts:175
↓ 2 callersFunctionstripQuotes
(value: string)
scripts/sync/parsers.ts:183
↓ 1 callersFunctionbuildTargets
(providers: ProviderSource[], providerOption: string)
scripts/cli.ts:79
↓ 1 callersMethodcached
(key: string, fresh: () => Promise<string>)
scripts/sync/cache.ts:36
↓ 1 callersMethodcached
(key: string, fresh: () => Promise<string>)
scripts/sync/build.ts:121
↓ 1 callersFunctioncategoryName
(category: ProviderCategory)
scripts/data.ts:155
↓ 1 callersFunctioncollectSourceIds
(sourcesDir: string)
scripts/checks/readme.ts:27
↓ 1 callersFunctioncompactGroups
(rulesByIndex: RuleSet[], groups: RuleGroup[])
scripts/sync/build.ts:262
↓ 1 callersFunctioncompactRuleSet
(rules: RuleSet)
scripts/rules.ts:89
↓ 1 callersFunctiondefaultFetcher
(url: string)
scripts/sync/build.ts:253
↓ 1 callersFunctiondiffSummary
(options: DiffOptions)
scripts/diff-summary.ts:31
↓ 1 callersFunctionextractHtml
(html: string, url: string, selector: string)
scripts/sync/build.ts:241
↓ 1 callersFunctionfindDangerousSuffixes
(text: string, relPath: string)
scripts/checks/guard.ts:155
↓ 1 callersFunctiongenerate
(options: GenerateOptions)
scripts/cli.ts:42
↓ 1 callersFunctiongetFileAtRef
(ref: string, relPath: string)
scripts/diff-summary.ts:83
↓ 1 callersFunctionguard
(options: GuardOptions)
scripts/guard.ts:25
↓ 1 callersFunctionhasOnlyAllowedTags
(value: string)
scripts/sync/parsers.ts:203
↓ 1 callersFunctionisDomainCoveredBySuffix
(domain: string, suffix: string)
scripts/rules.ts:102
↓ 1 callersFunctionisFormat
(value: string)
scripts/cli.ts:112
↓ 1 callersFunctionisFullSync
(providerOption: string)
scripts/sync.ts:135
↓ 1 callersFunctionisPayloadObject
(value: unknown)
scripts/sync/parsers.ts:220
↓ 1 callersFunctionlistFilesAtRef
(ref: string, dir: string)
scripts/diff-summary.ts:68
↓ 1 callersFunctionloadAllProviders
(inputDir: string)
scripts/data.ts:53
↓ 1 callersFunctionloadProvider
(inputDir: string, provider: string)
scripts/data.ts:48
↓ 1 callersFunctionloadSourceProvider
(filePath: string)
scripts/sync.ts:112
↓ 1 callersFunctionloadSourceRules
( sources: SourceConfig[], baseDir: string, fetcher: Fetcher, cache?: ContentCache )
scripts/sync/build.ts:185
↓ 1 callersFunctionloadSourceText
( source: SourceConfig, baseDir: string, fetcher: Fetcher, cache?: ContentCache )
scripts/sync/build.ts:221
↓ 1 callersFunctionmergeInto
(target: RuleSet, source: RuleSet)
scripts/sync/parsers.ts:210
↓ 1 callersFunctionnormalizeAsnRules
(values: number[])
scripts/rules.ts:114
↓ 1 callersFunctionnormalizeDomain
(value: string)
scripts/checks/guard.ts:200
↓ 1 callersFunctionnormalizeDomainListLine
(line: string)
scripts/sync/parsers.ts:179
↓ 1 callersFunctionnormalizeLine
(line: string)
scripts/sync/parsers.ts:175
↓ 1 callersFunctionnormalizeRuleGroups
(groups: RuleGroup[])
scripts/data.ts:166
↓ 1 callersFunctionparseClashYamlRules
(text: string)
scripts/sync/parsers.ts:84
↓ 1 callersFunctionparseFormats
(formatOption: string)
scripts/cli.ts:90
↓ 1 callersFunctionpickRuleKeys
(rules: RuleSet, keys: RuleKey[])
scripts/rules.ts:66
↓ 1 callersFunctionquoteYamlValue
(value: string | number)
scripts/generators/index.ts:244
↓ 1 callersMethodread
(url: string)
scripts/sync/cache.ts:161
↓ 1 callersFunctionremoveCoveredDomains
(ruleSets: RuleSet[])
scripts/rules.ts:76
↓ 1 callersFunctionrenderClash
(target: RenderTarget)
scripts/generators/index.ts:72
↓ 1 callersFunctionrenderEgern
(target: RenderTarget)
scripts/generators/index.ts:154
↓ 1 callersFunctionrenderLoon
(target: RenderTarget)
scripts/generators/index.ts:112
↓ 1 callersFunctionrenderMarkdown
(rows: Row[])
scripts/status.ts:112
↓ 1 callersFunctionrenderQuantumultX
(target: RenderTarget)
scripts/generators/index.ts:98
↓ 1 callersFunctionrenderShadowrocket
(target: RenderTarget)
scripts/generators/index.ts:126
↓ 1 callersFunctionrenderSingBox
(target: RenderTarget)
scripts/generators/index.ts:86
↓ 1 callersFunctionrenderStash
(target: RenderTarget)
scripts/generators/index.ts:140
↓ 1 callersFunctionrenderSurge
(target: RenderTarget)
scripts/generators/index.ts:58
↓ 1 callersFunctionrenderYamlMap
(rule: Record<string, Array<string | number>>)
scripts/generators/index.ts:231
↓ 1 callersFunctionreportCacheWarnings
(cache: FetchCache)
scripts/sync.ts:72
↓ 1 callersFunctionresolveFromSourceKeys
(value: boolean | RuleKey[])
scripts/sync/build.ts:175
↓ 1 callersFunctionrun
(options: StatusOptions)
scripts/status.ts:48
↓ 1 callersFunctionrun
(options: CheckOptions)
scripts/check-metadata.ts:21
↓ 1 callersFunctionrun
(options: CheckOptions)
scripts/check-readme.ts:23
↓ 1 callersFunctionselectProviders
(inputDir: string, providerOption: string)
scripts/cli.ts:65
↓ 1 callersFunctionselectSourceFiles
(inputDir: string, providerOption: string)
scripts/sync.ts:98
↓ 1 callersFunctionsplitDomainListEntry
(line: string)
scripts/sync/parsers.ts:187
↓ 1 callersFunctionstatCacheFile
(cacheDir: string, key: string)
scripts/status.ts:101
↓ 1 callersFunctionstringifyProviderData
(provider: SourceProviderData)
scripts/sync.ts:121
↓ 1 callersFunctionstripTrailingTags
(value: string)
scripts/sync/parsers.ts:198
↓ 1 callersFunctionsync
(options: SyncOptions)
scripts/sync.ts:37
↓ 1 callersMethodwrite
(url: string, text: string)
scripts/sync/cache.ts:141
next →1–100 of 102, ranked by callers