MCPcopy Create free account

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

Functions315 in github.com/bytonylee/free-router

↓ 1 callersFunctionlistFromAnyPayload
(raw: any)
scripts/update-models.ts:615
↓ 1 callersFunctionloadExistingSupportFile
()
scripts/update-models.ts:512
↓ 1 callersFunctionlookupRankings
(id: string)
src/lib/models.ts:97
↓ 1 callersFunctionmain
()
src/bin/free-router.ts:1992
↓ 1 callersFunctionmain
()
scripts/update-models.ts:800
↓ 1 callersFunctionmain
()
site/scripts/build-site.mjs:71
↓ 1 callersFunctionmarkStartupSearchRequested
()
src/bin/free-router.ts:961
↓ 1 callersFunctionmaskKey
(key: string)
src/bin/free-router.ts:776
↓ 1 callersFunctionmergeAAMeta
(target: any, meta: AAMeta | null)
scripts/update-models.ts:765
↓ 1 callersFunctionmigrateLegacyConfigIfNeeded
(defaults: FrouterConfig)
src/lib/config.ts:87
↓ 1 callersFunctionnext
()
src/lib/ping.ts:58
↓ 1 callersFunctionnextSeqForEpoch
(model: Model, epoch: number)
src/lib/ping.ts:85
↓ 1 callersFunctionnormalizeApiKeyInput
(value: unknown)
src/lib/config.ts:141
↓ 1 callersFunctionnormalizeBasePath
(basePath)
site/scripts/lib/url-policy.mjs:13
↓ 1 callersFunctionnormalizeTier
(value: unknown)
scripts/update-models.ts:287
↓ 1 callersFunctionnoteUserNavigation
()
src/bin/free-router.ts:926
↓ 1 callersFunctionopenCodeProviderBlock
(providerKey: string, apiKey: string | null)
src/lib/targets.ts:163
↓ 1 callersFunctionpad
(s: string, n: number, right = false)
src/lib/utils.ts:480
↓ 1 callersFunctionparseContextString
(value: string | undefined)
src/lib/models.ts:52
↓ 1 callersFunctionparseOpenCodeGoSource
Parse OpenCode Go source (openrouter.go) to extract hardcoded model IDs. * OpenCode has NO built-in nvidia/NIM provider — only OpenRouter models.
scripts/update-models.ts:501
↓ 1 callersFunctionparseOpenCodeSupport
(raw: any)
scripts/update-models.ts:446
↓ 1 callersFunctionparseTestDropSpec
(raw: string | undefined)
src/lib/models.ts:160
↓ 1 callersFunctionpartialSlugMatch
Partial slug match — rankings slug starts with derived slug or vice-versa.
src/lib/models.ts:110
↓ 1 callersFunctionpingProvider
(url: string, dotEl: HTMLElement, pingEl: HTMLElement)
site/src/main.ts:224
↓ 1 callersFunctionprepareForInkSubApp
()
src/bin/free-router.ts:1608
↓ 1 callersFunctionpromptGithubStarSupport
()
src/bin/free-router.ts:1733
↓ 1 callersFunctionpromptMasked
(promptText: string)
src/lib/config.ts:176
↓ 1 callersFunctionpromptYesNoFromTarget
( question: string, defaultValue = false, )
src/bin/free-router.ts:1103
↓ 1 callersFunctionproviderStatusTag
(providerKey: string, label: string)
src/bin/free-router.ts:534
↓ 1 callersFunctionproviderStatusTags
()
src/bin/free-router.ts:546
↓ 1 callersFunctionquickApplySelectionToTargets
()
src/bin/free-router.ts:1164
↓ 1 callersFunctionreadFlagValue
(flag: string)
scripts/update-models.ts:104
↓ 1 callersFunctionreadHighestPercent
(text: string)
src/bin/free-router.ts:1737
↓ 1 callersFunctionreadOpenCodeConfig
(force = false)
src/lib/targets.ts:42
↓ 1 callersFunctionremoveGeneratedArtifacts
()
site/scripts/generate-site.mjs:395
↓ 1 callersFunctionrenderFooterLines
()
src/bin/free-router.ts:579
↓ 1 callersFunctionrenderHelp
()
src/bin/free-router.ts:741
↓ 1 callersFunctionrenderMain
()
src/bin/free-router.ts:628
↓ 1 callersFunctionrenderProviderTagLine
()
src/bin/free-router.ts:552
↓ 1 callersFunctionrenderSearchLines
(stats: string, tierBar: string)
src/bin/free-router.ts:556
↓ 1 callersFunctionrenderSelectedModelLine
()
src/bin/free-router.ts:565
↓ 1 callersFunctionrenderSettings
()
src/bin/free-router.ts:781
↓ 1 callersFunctionresolveBuildContext
()
site/scripts/lib/url-policy.mjs:57
↓ 1 callersFunctionresolveCanonicalRecords
(models)
site/scripts/lib/slug-policy.mjs:67
↓ 1 callersFunctionresolveOpenCodeApplySelection
(selectedModel: Model)
src/bin/free-router.ts:1072
↓ 1 callersFunctionresolveOpenCodeSelection
( model: Model, providerKey: string, _allModels: Model[] = [], )
src/lib/targets.ts:270
↓ 1 callersFunctionresolveQuickApiKeyProviderIndex
()
src/bin/free-router.ts:1168
↓ 1 callersFunctionresolveUserScrollSortPauseMs
(cfg: FrouterConfig)
src/bin/free-router.ts:913
↓ 1 callersFunctionrestartAfterUpdate
(extraEnv: NodeJS.ProcessEnv = {})
src/bin/free-router.ts:1836
↓ 1 callersFunctionrightWidthLine
(content: string, lastLine = false)
src/bin/free-router.ts:360
↓ 1 callersFunctionrows
()
src/bin/free-router.ts:247
↓ 1 callersFunctionrunBest
()
src/bin/free-router.ts:1942
↓ 1 callersFunctionrunFirstRunWizard
( config: FrouterConfig, )
src/lib/config.ts:236
↓ 1 callersFunctionrunUpdateApp
( latest: string, )
src/bin/free-router.ts:1846
↓ 1 callersFunctionrunViteBuild
()
site/scripts/build-site.mjs:11
↓ 1 callersFunctionscoreTier
(s: number | null)
src/lib/models.ts:118
↓ 1 callersFunctionscoreTierFromIntelligence
(score: number | null)
scripts/update-models.ts:257
↓ 1 callersFunctionscoreTierFromSwe
(swe: number | null)
scripts/update-models.ts:245
↓ 1 callersFunctionselectedRankMarker
(rankText: string)
src/bin/free-router.ts:447
↓ 1 callersFunctionsimulateNimPing
()
site/src/main.ts:246
↓ 1 callersFunctionsortArrow
(colName: string)
src/bin/free-router.ts:268
↓ 1 callersFunctionsortManifestEntries
(entries)
site/scripts/lib/slug-policy.mjs:27
↓ 1 callersFunctionsortModels
(models: Model[], col: string, asc = true)
src/lib/utils.ts:312
↓ 1 callersFunctionsplitEscapeSequences
(s: string)
src/bin/free-router.ts:1433
↓ 1 callersFunctionstartPingLoop
( models: Model[], config: FrouterConfig, intervalMs: number, onUpdate?: () => void, onEachPing?: ()
src/lib/ping.ts:276
↓ 1 callersFunctionstartupPixelTitleLines
()
src/bin/free-router.ts:473
↓ 1 callersFunctionstatusDot
(model: Model)
src/bin/free-router.ts:481
↓ 1 callersFunctionstripProviderPrefix
(id: string)
scripts/update-models.ts:184
↓ 1 callersFunctiontableHeaderLine
()
src/bin/free-router.ts:409
↓ 1 callersFunctiontableRowLine
( values: Record<TableColumn["key"], string>, selected: boolean, )
src/bin/free-router.ts:429
↓ 1 callersFunctiontableSeparatorLine
()
src/bin/free-router.ts:421
↓ 1 callersFunctiontick
()
src/lib/ping.ts:286
↓ 1 callersFunctiontierColor
(tier: string)
src/lib/utils.ts:260
↓ 1 callersFunctiontitleFromModelId
(id: string)
src/lib/models.ts:76
↓ 1 callersFunctiontitleFromModelId
(id: string)
scripts/update-models.ts:223
↓ 1 callersFunctiontoAAMeta
(row: any)
scripts/update-models.ts:635
↓ 1 callersFunctiontoggleSort
(col: string)
src/bin/free-router.ts:1305
↓ 1 callersFunctiontruncAnsiToWidth
(s: string, maxVis: number)
src/lib/utils.ts:438
↓ 1 callersFunctionupdate
()
site/src/main.ts:250
↓ 1 callersFunctionuptimeColor
(pct: number)
src/lib/utils.ts:273
↓ 1 callersFunctionvalidateBuildContext
(context)
site/scripts/lib/url-policy.mjs:67
↓ 1 callersFunctionverifyArtifacts
()
site/scripts/build-site.mjs:23
↓ 1 callersFunctionvisit
(node: any, providerHint: ProviderKey | null, depth: number)
scripts/update-models.ts:449
↓ 1 callersFunctionwriteHomepage
(template, records, context, redirectCount)
site/scripts/generate-site.mjs:447
↓ 1 callersFunctionwriteModelPages
(records, context, homeUrl)
site/scripts/generate-site.mjs:435
↓ 1 callersFunctionwriteOpenClaw
( model: Model, providerKey: string, apiKey: string | null = null, options: { persistApiKey?: boolean
src/lib/targets.ts:316
↓ 1 callersFunctionwriteOpenCode
( model: Model, providerKey: string, apiKey: string | null = null, options: { persistApiKey?: boolean
src/lib/targets.ts:234
FunctionConfirmInput
({ defaultChoice = "confirm", onConfirm, onCancel, }: { defaultChoice?: "confirm" | "cancel"; onConf
src/tui/primitives.tsx:109
FunctionFirstRunApp
({ providers, validateKey, openBrowser, onDone, }: FirstRunAppProps)
src/tui/first-run-app.tsx:32
FunctionPasswordInput
({ placeholder, onSubmit, onCancel, }: { placeholder?: string; onSubmit: (value: string) => void;
src/tui/primitives.tsx:40
FunctionProgressBar
({ value, width = 24, }: { value: number; width?: number; })
src/tui/primitives.tsx:156
FunctionSelect
({ options, onChange, }: { options: SelectOption[]; onChange: (value: string) => void; })
src/tui/primitives.tsx:7
FunctionSettingsApp
({ config: initialConfig, providers, getApiKey, validateKey, saveConfig, ping, openBrowser, in
src/tui/settings-app.tsx:43
FunctionSpinner
({ label }: { label?: string })
src/tui/primitives.tsx:139
FunctionStatusMessage
({ variant, children, }: { variant: StatusVariant; children: ReactNode; })
src/tui/primitives.tsx:79
FunctionTargetPickerApp
({ modelName, modelFullId, targets, onDone, }: TargetPickerAppProps)
src/tui/target-picker-app.tsx:24
FunctionUpdateApp
({ currentVersion, latestVersion, detectInstallCommand, readHighestPercent, onDone, }: UpdateAppProp
src/tui/update-app.tsx:26
Function_promptInstallOpenCode
()
src/bin/free-router.ts:1115
FunctionassertModelMetricsInvariant
(model: Model)
src/lib/utils.ts:170
FunctionbuildModelRow
(record)
site/scripts/generate-site.mjs:175
← previousnext →201–300 of 315, ranked by callers