MCPcopy Create free account

hub / github.com/bytonylee/free-router / functions

Functions315 in github.com/bytonylee/free-router

↓ 2 callersFunctionmodalFooterLine
(items: Array<[string, string]>, lastLine = true)
src/bin/free-router.ts:620
↓ 2 callersFunctionmodeTagLine
(label: string)
src/bin/free-router.ts:616
↓ 2 callersFunctionmodelKey
(m: Model)
src/bin/free-router.ts:1555
↓ 2 callersFunctionmodelTail
(id: string)
src/lib/targets.ts:199
↓ 2 callersFunctionmoveSelection
(delta: number)
src/tui/settings-app.tsx:195
↓ 2 callersFunctionnormalizeSearchKey
(value: string)
scripts/update-models.ts:213
↓ 2 callersFunctionparsePercentToNumber
(input: unknown)
scripts/update-models.ts:269
↓ 2 callersFunctionparseProviderHint
(value: unknown)
scripts/update-models.ts:420
↓ 2 callersFunctionpingAllOnce
( models: Model[], config: FrouterConfig, onEachPing?: () => void, )
src/lib/ping.ts:187
↓ 2 callersFunctionpooled
( items: T[], limit: number, fn: (item: T) => Promise<R>, onEach?: (item: T, result: R, index: number)
src/lib/ping.ts:50
↓ 2 callersFunctionpromptYesNo
(question: string, defaultValue = false)
src/bin/free-router.ts:1689
↓ 2 callersFunctionproviderLabel
(source)
site/scripts/generate-site.mjs:53
↓ 2 callersFunctionreadConfigFile
(path: string, defaults: FrouterConfig)
src/lib/config.ts:60
↓ 2 callersFunctionreadJson
(path: string)
src/lib/targets.ts:23
↓ 2 callersFunctionreadJsonFile
(filePath, label)
site/scripts/generate-site.mjs:57
↓ 2 callersFunctionreadOpenCodeFingerprint
()
src/lib/targets.ts:32
↓ 2 callersFunctionrefreshModels
()
src/bin/free-router.ts:1559
↓ 2 callersFunctionresolvePersistedApiKey
( providerKey: string, apiKey: string | null, options: { persistApiKey?: boolean } = {}, )
src/lib/targets.ts:83
↓ 2 callersFunctionrunPing
(m: Model, timeoutMs: number)
src/lib/ping.ts:216
↓ 2 callersFunctionsemverParts
(v: string)
src/bin/free-router.ts:1748
↓ 2 callersFunctionsplitGraphemes
(s: string)
src/lib/utils.ts:419
↓ 2 callersFunctionsyncFavicons
(theme: "light" | "dark")
site/src/main.ts:15
↓ 2 callersFunctiontableCell
( content: string, width: number, style: string, rightAlign = false, )
src/bin/free-router.ts:391
↓ 2 callersFunctiontableLine
(cells: string[], separatorStyle = "")
src/bin/free-router.ts:404
↓ 2 callersFunctiontableRowStyle
(selected: boolean)
src/bin/free-router.ts:425
↓ 2 callersFunctionthrottledRender
()
src/bin/free-router.ts:1408
↓ 2 callersFunctiontoSlugKey
Derive a slug-like key from a model ID for fuzzy matching.
src/lib/models.ts:87
↓ 2 callersFunctiontoSlugKey
(id: string)
scripts/update-models.ts:196
↓ 2 callersFunctiontopAlertLine
()
src/bin/free-router.ts:527
↓ 2 callersFunctionvalidateProviderApiKey
(providerKey: string, rawValue: unknown)
src/lib/config.ts:145
↓ 2 callersFunctionverdictRank
(v: string)
src/lib/utils.ts:395
↓ 2 callersFunctionvisibleWidth
(s: string)
src/lib/utils.ts:431
↓ 2 callersFunctionwriteSupportFile
( support: ReturnType<typeof emptySupportSets>, sourceKind: "models.dev" | "opencode-github" | "existing",
scripts/update-models.ts:551
↓ 1 callersFunction_buildNimModels
()
src/lib/models.ts:201
↓ 1 callersFunction_resetSettingsState
()
src/bin/free-router.ts:975
↓ 1 callersFunctionapplyModelPingResult
( model: Model, pingResult: PingEntry, maxPings: number, )
src/lib/utils.ts:138
↓ 1 callersFunctionapplyTestDrops
(models: Model[])
src/lib/models.ts:177
↓ 1 callersFunctionassertOpenCodeCompatible
(model: Model)
src/lib/targets.ts:191
↓ 1 callersFunctionblockWidthLines
( left: string, right = "", borderStyle = `${D}${WHITE}`, )
src/bin/free-router.ts:368
↓ 1 callersFunctionbuildCollisionSuffix
(record)
site/scripts/lib/slug-policy.mjs:23
↓ 1 callersFunctionbuildFaviconMarkup
(prefix = '/')
site/scripts/generate-site.mjs:162
↓ 1 callersFunctionbuildHomeJsonLd
(records, absoluteUrl)
site/scripts/generate-site.mjs:65
↓ 1 callersFunctionbuildIdentityKey
(record)
site/scripts/lib/slug-policy.mjs:5
↓ 1 callersFunctionbuildLlmsTxt
(records, context)
site/scripts/generate-site.mjs:339
↓ 1 callersFunctionbuildModelJsonLd
(record, homeUrl)
site/scripts/generate-site.mjs:96
↓ 1 callersFunctionbuildModelPage
(record, context, homeUrl)
site/scripts/generate-site.mjs:198
↓ 1 callersFunctionbuildOpenCodeLaunchEnv
(providerKey: string, apiKey: string | null)
src/bin/free-router.ts:1089
↓ 1 callersFunctionbuildRobotsTxt
(context)
site/scripts/generate-site.mjs:297
↓ 1 callersFunctionbuildSitemap
(records, context)
site/scripts/generate-site.mjs:322
↓ 1 callersFunctionbuildStaticRedirects
(context)
site/scripts/generate-site.mjs:377
↓ 1 callersFunctionbuildVerificationReport
({ context, manifestRedirects, recordErrors, records })
site/scripts/generate-site.mjs:364
↓ 1 callersFunctionbumpPingEpoch
()
src/lib/ping.ts:80
↓ 1 callersFunctioncenteredWidthLine
(content: string, lastLine = false)
src/bin/free-router.ts:349
↓ 1 callersFunctioncheckForUpdate
()
src/bin/free-router.ts:1873
↓ 1 callersFunctionclampCursor
(next: number)
src/bin/free-router.ts:909
↓ 1 callersFunctioncmpLatest
(a: Model, b: Model)
src/lib/utils.ts:361
↓ 1 callersFunctioncmpPriority
(a: Model, b: Model)
src/lib/utils.ts:369
↓ 1 callersFunctioncolHdr
( label: string, colName: string, width: number, rightAlign = false, )
src/bin/free-router.ts:273
↓ 1 callersFunctioncollectHtmlEntries
(rootDir: string, directory: string, entries: Record<string, string>)
site/vite.config.ts:6
↓ 1 callersFunctionconsumeStartupSearchRequestFromEnv
()
src/bin/free-router.ts:953
↓ 1 callersFunctiondetectAvailableInstallers
()
src/lib/targets.ts:119
↓ 1 callersFunctiondetectUpdateInstallCommand
()
src/bin/free-router.ts:1812
↓ 1 callersFunctiondiffManifestRedirects
(previousManifest, nextManifest)
site/scripts/lib/slug-policy.mjs:45
↓ 1 callersFunctionelapsed
()
src/lib/ping.ts:139
↓ 1 callersFunctionemptyMetrics
()
src/lib/utils.ts:72
↓ 1 callersFunctionenrichRecords
(records, context)
site/scripts/generate-site.mjs:402
↓ 1 callersFunctionensureDialCols
(el: HTMLElement, count: number)
site/src/main.ts:188
↓ 1 callersFunctionextractHardcodedNimIds
()
scripts/update-models.ts:396
↓ 1 callersFunctionfetchLatestVersion
()
src/bin/free-router.ts:1660
↓ 1 callersFunctionfetchNimModels
(apiKey: string | null)
src/lib/models.ts:879
↓ 1 callersFunctionfetchOpenRouterModels
(apiKey: string | null)
src/lib/models.ts:915
↓ 1 callersFunctionfilterBySearch
(models: Model[], query: string)
src/lib/utils.ts:287
↓ 1 callersFunctionfilterByTier
(models: Model[], tier: string)
src/lib/utils.ts:282
↓ 1 callersFunctionfindFallbackModel
( allModels: Model[], providerKey: string, modelId: string, )
src/lib/targets.ts:209
↓ 1 callersFunctionfindRejectedKeyProvider
()
src/bin/free-router.ts:520
↓ 1 callersFunctionfirstNonZero
Return the first non-zero value from a list of comparator results.
src/lib/utils.ts:298
↓ 1 callersFunctionfmtUp
(pct: number, hasPings: boolean)
src/bin/free-router.ts:327
↓ 1 callersFunctionformatPingResult
(r: { code: string; ms?: number })
src/tui/settings-app.tsx:22
↓ 1 callersFunctionformatVerdict
(verdict: string, selected: boolean)
src/bin/free-router.ts:440
↓ 1 callersFunctiongetKeepAliveAgent
(url: URL)
src/lib/ping.ts:34
↓ 1 callersFunctiongetNimModels
()
src/lib/models.ts:197
↓ 1 callersFunctionhandleGithubStarAccepted
()
src/bin/free-router.ts:965
↓ 1 callersFunctionhandleGithubStarDeclined
()
src/bin/free-router.ts:971
↓ 1 callersFunctionhandleMain
(ch: string)
src/bin/free-router.ts:1213
↓ 1 callersFunctionhandleSettings
(ch: string)
src/bin/free-router.ts:1314
↓ 1 callersFunctionhasCommand
(bin: string)
src/bin/free-router.ts:1766
↓ 1 callersFunctionhasValidMetrics
(model: Model)
src/lib/utils.ts:101
↓ 1 callersFunctionindexAAModels
(rows: any[])
scripts/update-models.ts:702
↓ 1 callersFunctioninferPreferredUpdateInstaller
()
src/bin/free-router.ts:1776
↓ 1 callersFunctioninitLocale
()
site/src/main.ts:131
↓ 1 callersFunctioninitTheme
()
site/src/main.ts:22
↓ 1 callersFunctioninstallOpenCode
(installer: { command: string })
src/lib/targets.ts:143
↓ 1 callersFunctionisAllowedOpenRouterModel
(model: any)
scripts/update-models.ts:361
↓ 1 callersFunctionisAutoSortPaused
()
src/bin/free-router.ts:936
↓ 1 callersFunctionisNonChatModel
(id: string)
scripts/update-models.ts:354
↓ 1 callersFunctionisRejectedKeyStatus
(status: string)
src/bin/free-router.ts:505
↓ 1 callersFunctionisStaleCommit
(model: Model, epoch: number, seq: number)
src/lib/ping.ts:94
↓ 1 callersFunctionisStrictlyNewerVersion
(current: string, latest: string)
src/bin/free-router.ts:1754
↓ 1 callersFunctionlatColor
(ms: number)
src/lib/utils.ts:267
↓ 1 callersFunctionlaunchOpenCodeDirect
()
src/bin/free-router.ts:992
← previousnext →101–200 of 315, ranked by callers