MCPcopy Create free account

hub / github.com/junhoyeo/tokscale / functions

Functions4,973 in github.com/junhoyeo/tokscale

↓ 1 callersFunctionfetch_api
(client: &reqwest::Client, key: &str)
crates/tokscale-cli/src/commands/usage/minimax.rs:120
↓ 1 callersFunctionfetch_author_pricing
( client: Arc<reqwest::Client>, model_id: String, semaphore: Arc<Semaphore>, fallback_pricing:
crates/tokscale-core/src/pricing/openrouter.rs:102
↓ 1 callersFunctionfetch_billing_grpc
(client: &reqwest::Client, token: &str)
crates/tokscale-cli/src/commands/usage/grok.rs:124
↓ 1 callersFunctionfetch_billing_html
(client: &reqwest::Client, cookie: &str)
crates/tokscale-cli/src/commands/usage/sakana.rs:482
↓ 1 callersFunctionfetch_cursor_usage_csv
(session_token: &str)
crates/tokscale-cli/src/cursor.rs:860
↓ 1 callersFunctionfetch_historical_session_artifact
( session_id: &str, connections: &[AntigravityConnection], candidate: &SessionCandidate, )
crates/tokscale-cli/src/antigravity.rs:1665
↓ 1 callersFunctionfetch_network_usage
(credentials: &Credentials)
crates/tokscale-cli/src/commands/usage/grok.rs:573
↓ 1 callersFunctionfetch_provider_report
( provider: &'static str, result: Result<Vec<UsageOutput>>, )
crates/tokscale-cli/src/commands/usage/mod.rs:442
↓ 1 callersFunctionfetch_quota
(client: &reqwest::Client, key: &str)
crates/tokscale-cli/src/commands/usage/zai.rs:43
↓ 1 callersFunctionfetch_remote_stats
(token: &str, username: &str, api_base_url: &str)
crates/tokscale-cli/src/tui/remote.rs:91
↓ 1 callersFunctionfetch_reset_credits
( client: &reqwest::Client, token: &str, account_id: Option<&str>, )
crates/tokscale-cli/src/commands/usage/codex.rs:1031
↓ 1 callersFunctionfetch_saved_account
(name_or_id: Option<&str>)
crates/tokscale-cli/src/commands/usage/codex.rs:1557
↓ 1 callersFunctionfetch_site
(client: &reqwest::Client, site: &Site, key: &str)
crates/tokscale-cli/src/commands/usage/minimax_tokenplan.rs:126
↓ 1 callersFunctionfetch_sub
(client: &reqwest::Client, key: &str)
crates/tokscale-cli/src/commands/usage/zai.rs:56
↓ 1 callersFunctionfetch_subscriptions
(client: &reqwest::Client, token: &str)
crates/tokscale-cli/src/commands/usage/grok.rs:97
↓ 1 callersFunctionfetch_svg_and_convert_to_png
( client: &reqwest::Client, svg_url: &str, filename: &str, size: i32, )
crates/tokscale-cli/src/commands/wrapped.rs:1171
↓ 1 callersFunctionfetch_task_usage
(client: &reqwest::Client, token: &str)
crates/tokscale-cli/src/commands/usage/grok.rs:112
↓ 1 callersFunctionfetch_usage_pages
Paginated call to the usage API; returns the raw JSON session list.
crates/tokscale-cli/src/trae.rs:1057
↓ 1 callersFunctionfetch_warp_usage
(credentials: &WarpCredentials)
crates/tokscale-cli/src/warp.rs:306
↓ 1 callersFunctionfetch_with_auth_async
( auth: Auth, source: CredentialSource, provider_name: String, account: Option<UsageAccount>,
crates/tokscale-cli/src/commands/usage/codex.rs:1179
↓ 1 callersFunctionfile_ends_with_newline
(path: &Path, size: u64)
crates/tokscale-core/src/message_cache.rs:730
↓ 1 callersFunctionfile_modified_ms
(path: &Path)
crates/tokscale-core/src/sessions/antigravity_cli.rs:215
↓ 1 callersFunctionfile_uri_to_path
Convert a `file://` URI to a filesystem path, percent-decoding UTF-8 escapes (workspace paths on cloud drives can be percent-encoded CJK). After the s
crates/tokscale-core/src/sessions/antigravity_cli.rs:230
↓ 1 callersFunctionfilterByClient
(data: TokenContributionData, clients: ClientType[])
packages/frontend/src/lib/utils.ts:77
↓ 1 callersFunctionfilterByYear
(contributions: DailyContribution[], year: string)
packages/frontend/src/lib/utils.ts:93
↓ 1 callersFunctionfilter_litellm
Mirror of `PricingService::filter_litellm_data`: github_copilot/ entries use subscription pricing ($0.00) and are excluded from lookups.
crates/tokscale-core/tests/anthropic_catalog.rs:134
↓ 1 callersFunctionfilter_parsed_messages
( messages: Vec<ParsedMessage>, options: &LocalParseOptions, )
crates/tokscale-core/src/lib.rs:3146
↓ 1 callersFunctionfilter_unified_messages
( messages: Vec<UnifiedMessage>, options: &LocalParseOptions, )
crates/tokscale-core/src/lib.rs:1742
↓ 1 callersFunctionfindAssociatedPR
(commitHash: string)
scripts/generate-release-notes.ts:104
↓ 1 callersFunctionfind_account
(name_or_id: &str)
crates/tokscale-cli/src/cursor.rs:429
↓ 1 callersFunctionfind_listening_ports
(pid: u32)
crates/tokscale-cli/src/antigravity.rs:989
↓ 1 callersFunctionfind_matching_ledger_record
( ledger_records: &[AmpUsageRecord], consumed: &[bool], search_start: usize, message_record: &
crates/tokscale-core/src/sessions/amp.rs:216
↓ 1 callersFunctionfind_next_renewal
Next renewal: `Next renewal:?\s*([A-Z][a-z]+ \d{1,2}, \d{4})`.
crates/tokscale-cli/src/commands/usage/sakana.rs:355
↓ 1 callersFunctionfind_parent_session_path
Locate the parent main-session JSONL for a sidechain transcript. Nested layout: `.../projects/<key>/<session>/subagents/agent-X.jsonl` → parent at `.
crates/tokscale-core/src/sessions/claudecode.rs:137
↓ 1 callersFunctionfind_peak_hour
Find peak hour across all hourly data
crates/tokscale-cli/src/tui/data/mod.rs:1231
↓ 1 callersFunctionfind_plan
Determine the active plan tier. The active tier is the (Standard|Pro|Max) token NEAREST-PRECEDING the `$NN/mo` price match — the upgrade buttons also
crates/tokscale-cli/src/commands/usage/sakana.rs:165
↓ 1 callersFunctionfind_reset_times
Collect reset times matching `Resets on\s+([A-Z][a-z]+ \d{1,2}, \d{4} at \d{1,2}:\d{2} [AP]M)` in order.
crates/tokscale-cli/src/commands/usage/sakana.rs:312
↓ 1 callersFunctionfind_string_by_key
(value: &Value, key: &str)
crates/tokscale-cli/src/warp.rs:540
↓ 1 callersFunctionfind_summary_for_candidate
( summaries: &'a [TrajectorySummary], session_id: &str, )
crates/tokscale-cli/src/antigravity.rs:1656
↓ 1 callersFunctionfind_unix_listening_ports
(pid: u32)
crates/tokscale-cli/src/antigravity.rs:1002
↓ 1 callersFunctionfind_windows_listening_ports
(pid: u32)
crates/tokscale-cli/src/antigravity.rs:1020
↓ 1 callersFunctionfirst_account_id
(store: &CodexCredentialsStore)
crates/tokscale-cli/src/commands/usage/codex.rs:709
↓ 1 callersFunctionfirst_i32
(values: &[Option<&Value>])
crates/tokscale-cli/src/antigravity.rs:2228
↓ 1 callersFunctionfirst_ordered_path_index
(order: &str, path_count: usize)
crates/tokscale-core/src/sessions/zed.rs:340
↓ 1 callersFunctionfirst_string
(values: &[Option<&Value>])
crates/tokscale-cli/src/antigravity.rs:2219
↓ 1 callersFunctionfitValueFontSize
* Auto-scale font size so rendered text fits within maxWidth. * Uses a conservative character-width estimate to prevent overflow.
packages/frontend/src/lib/embed/renderProfileEmbedSvg.ts:46
↓ 1 callersFunctionflattenedTerms
(condition: unknown)
packages/frontend/__tests__/api/deviceAuthorize.test.ts:111
↓ 1 callersFunctionfloat_field
(value: &Value, field: &str)
crates/tokscale-core/src/sessions/junie.rs:263
↓ 1 callersFunctionforked_child_should_skip_inherited_snapshot
( state: &CodexParseState, total_usage: Option<&CodexTokenUsage>, totals: Option<CodexTotals>, )
crates/tokscale-core/src/sessions/codex.rs:933
↓ 1 callersFunctionforked_child_turn_starts_own_session
(state: &CodexParseState, turn_id: Option<&str>)
crates/tokscale-core/src/sessions/codex.rs:714
↓ 1 callersFunctionforked_from_id_from_source
(source: Option<&Value>)
crates/tokscale-core/src/sessions/codex.rs:705
↓ 1 callersFunctionformatCompactCurrency
(n: number)
packages/frontend/src/components/landing/sections/WorldwideSection.tsx:25
↓ 1 callersFunctionformatCompactNumber
(n: number)
packages/frontend/src/components/landing/sections/WorldwideSection.tsx:16
↓ 1 callersFunctionformatContributionDateFull
(contrib: { date: string; timestampMs?: number | null })
packages/frontend/src/lib/date-utils.ts:28
↓ 1 callersFunctionformatDateFromString
(dateStr: string)
packages/frontend/src/lib/date-utils.ts:3
↓ 1 callersFunctionformatDateFullFromString
(dateStr: string)
packages/frontend/src/lib/date-utils.ts:8
↓ 1 callersFunctionformatDateLabel
(value: string | null)
packages/frontend/src/lib/embed/renderIsometric3DSvg.ts:137
↓ 1 callersFunctionformatMetricValue
(data: UserEmbedStats, metric: BadgeMetric, compact: boolean)
packages/frontend/src/lib/embed/renderProfileBadgeSvg.ts:78
↓ 1 callersFunctionformatRole
(role: InvitePreview["role"])
packages/frontend/src/app/(main)/groups/join/[token]/JoinGroupClient.tsx:87
↓ 1 callersFunctionformatTokenBreakdown
(tokens: TokenBreakdown)
packages/frontend/src/lib/validation/submission.ts:245
↓ 1 callersFunctionformat_cost
(cost: f64)
crates/tokscale-cli/src/commands/wrapped.rs:1407
↓ 1 callersFunctionformat_credit_expiry_label
(value: &str)
crates/tokscale-cli/src/tui/ui/usage.rs:1511
↓ 1 callersFunctionformat_expiry_time
(value: &str)
crates/tokscale-cli/src/tui/ui/usage.rs:2458
↓ 1 callersFunctionformat_gpt_5_series_model_name
(model: &str, suffix: &str)
crates/tokscale-cli/src/commands/wrapped.rs:1731
↓ 1 callersFunctionformat_model_name
(model: &str)
crates/tokscale-cli/src/commands/wrapped.rs:1548
↓ 1 callersFunctionformat_selected_reset_schedule_entry
(bucket: &(String, usize))
crates/tokscale-cli/src/tui/ui/usage.rs:1355
↓ 1 callersFunctionformat_tokens_compact
(tokens: u64)
crates/tokscale-cli/src/tui/ui/widgets.rs:8
↓ 1 callersFunctionformat_tokens_short
(tokens: i64)
crates/tokscale-cli/src/commands/wrapped.rs:1395
↓ 1 callersFunctionformat_tokens_with_commas
(n: u64)
crates/tokscale-cli/src/tui/ui/widgets.rs:24
↓ 1 callersFunctionfrom_hotkey
(key: char)
crates/tokscale-cli/src/tui/client_ui.rs:167
↓ 1 callersFunctiongemini_session_id_for_file
Returns the canonical Gemini `session_id` for a transcript on disk, matching how [`parse_gemini_file`] populates wiki entries: for chat recordings and
crates/tokscale-core/src/sessions/gemini.rs:112
↓ 1 callersFunctiongenerateApiToken
()
packages/frontend/src/lib/auth/utils.ts:32
↓ 1 callersFunctiongenerateClaudeData
(config: GeneratorConfig)
packages/benchmarks/generate.ts:251
↓ 1 callersFunctiongenerateCodexData
(config: GeneratorConfig)
packages/benchmarks/generate.ts:336
↓ 1 callersFunctiongenerateDeviceCode
()
packages/frontend/src/lib/auth/utils.ts:46
↓ 1 callersFunctiongenerateGeminiData
(config: GeneratorConfig)
packages/benchmarks/generate.ts:435
↓ 1 callersFunctiongenerateOpenCodeData
(config: GeneratorConfig)
packages/benchmarks/generate.ts:172
↓ 1 callersFunctiongenerateReleaseNotes
(version: string)
scripts/generate-release-notes.ts:166
↓ 1 callersFunctiongenerateUserCode
()
packages/frontend/src/lib/auth/utils.ts:14
↓ 1 callersFunctiongenerate_local_graph_report
(options: ReportOptions)
crates/tokscale-core/src/lib.rs:2263
↓ 1 callersFunctiongenerate_wrapped
(options: WrappedOptions)
crates/tokscale-cli/src/commands/wrapped.rs:105
↓ 1 callersFunctiongenerate_wrapped_image
(data: &WrappedData, options: &RenderOptions)
crates/tokscale-cli/src/commands/wrapped.rs:412
↓ 1 callersFunctionget
(_target, prop)
packages/frontend/src/lib/db/index.ts:68
↓ 1 callersFunctiongetAllowedOrigins
()
packages/frontend/src/lib/auth/requestSession.ts:9
↓ 1 callersFunctiongetAuthorizationUrl
(state: string)
packages/frontend/src/lib/auth/github.ts:17
↓ 1 callersFunctiongetCommitsBetween
(fromTag: string, toRef: string)
scripts/generate-release-notes.ts:71
↓ 1 callersFunctiongetConnectionString
()
packages/frontend/src/lib/db/index.ts:4
↓ 1 callersFunctiongetGitHubUser
(accessToken: string)
packages/frontend/src/lib/auth/github.ts:60
↓ 1 callersFunctiongetGitHubUserEmail
( accessToken: string )
packages/frontend/src/lib/auth/github.ts:78
↓ 1 callersFunctiongetGroupInvitePreview
(token: string)
packages/frontend/src/lib/groups/invites.ts:82
↓ 1 callersFunctiongetPeriodDateRange
(period: Period, now: Date = new Date())
packages/frontend/src/lib/groups/getGroupLeaderboard.ts:64
↓ 1 callersFunctiongetPeriodDateRange
( period: Period, now: Date = new Date(), customFrom?: string, customTo?: string )
packages/frontend/src/lib/leaderboard/getLeaderboard.ts:68
↓ 1 callersFunctiongetPreviousTag
()
scripts/generate-release-notes.ts:62
↓ 1 callersFunctiongetProfileData
(username: string, period: ProfilePeriod)
packages/frontend/src/app/u/[username]/page.tsx:26
↓ 1 callersFunctiongetProfileDevices
(username: string)
packages/frontend/src/app/u/[username]/page.tsx:46
↓ 1 callersFunctiongetProfilePeriodDateRange
( period: ProfilePeriod, now: Date = new Date() )
packages/frontend/src/app/api/users/[username]/route.ts:35
↓ 1 callersFunctiongetStargazersCount
( repo: string = 'junhoyeo/tokscale' )
packages/frontend/src/lib/github.ts:3
↓ 1 callersFunctiongetSubmitDevice
(data: SubmissionData)
packages/frontend/src/app/api/submit/route.ts:62
↓ 1 callersFunctiongetTagDate
(tag: string)
scripts/generate-release-notes.ts:67
↓ 1 callersFunctiongetUniqueTokenName
(baseName: string, existingNames: Iterable<string>)
packages/frontend/src/lib/auth/personalTokens.ts:47
← previousnext →1,601–1,700 of 4,973, ranked by callers