MCPcopy Create free account

hub / github.com/junhoyeo/tokscale / functions

Functions4,973 in github.com/junhoyeo/tokscale

↓ 1 callersFunctionkey_provider_tags
(dataset_key: &str)
crates/tokscale-core/src/provider_identity.rs:62
↓ 1 callersFunctionkiro_global_storage_roots
(home_dir: &str, use_env_roots: bool)
crates/tokscale-core/src/scanner.rs:697
↓ 1 callersFunctionlatest_modified_in_dir
(path: &Path)
crates/tokscale-cli/src/antigravity.rs:1633
↓ 1 callersFunctionlatin_at_position
Map a produced character to the Latin letter on the same physical US-QWERTY key, preserving case. ASCII and unknown characters are returned unchanged.
crates/tokscale-cli/src/tui/keymap.rs:121
↓ 1 callersFunctionleading_number
Parses the leading digit run of a token: "4o" -> Some(4), "5" -> Some(5), "turbo" -> None.
crates/tokscale-cli/src/tui/colors.rs:124
↓ 1 callersFunctionlegacy_cache_files
()
crates/tokscale-cli/src/tui/cache.rs:73
↓ 1 callersFunctionlegacy_cache_paths
()
crates/tokscale-core/src/message_cache.rs:63
↓ 1 callersFunctionlegacy_cache_paths
(filename: &str)
crates/tokscale-core/src/pricing/cache.rs:105
↓ 1 callersFunctionlegacy_macos_star_cache_path
()
crates/tokscale-cli/src/main.rs:4345
↓ 1 callersFunctionlegacy_migration_cache_paths
()
crates/tokscale-core/src/sessions/opencode.rs:379
↓ 1 callersFunctionlight_ratio_bar_spans
( ratio: f64, width: usize, fill_style: Style, empty_style: Style, )
crates/tokscale-cli/src/tui/ui/widgets.rs:107
↓ 1 callersFunctionlist_trajectory_summaries
( connections: &[AntigravityConnection], )
crates/tokscale-cli/src/antigravity.rs:1455
↓ 1 callersFunctionloadObelisk
()
packages/frontend/src/components/TokenGraph3D.tsx:159
↓ 1 callersFunctionloadSettings
()
packages/frontend/src/app/settings/SettingsClient.tsx:714
↓ 1 callersFunctionload_account
(name_or_id: Option<&str>)
crates/tokscale-cli/src/commands/usage/codex.rs:933
↓ 1 callersFunctionload_api_token_from_env
()
crates/tokscale-cli/src/auth.rs:126
↓ 1 callersFunctionload_assistant_buckets
(conn: &Connection)
crates/tokscale-core/src/sessions/crush.rs:155
↓ 1 callersFunctionload_cached
()
crates/tokscale-core/src/pricing/models_dev.rs:34
↓ 1 callersFunctionload_cached
()
crates/tokscale-core/src/pricing/openrouter.rs:87
↓ 1 callersFunctionload_cached
()
crates/tokscale-core/src/pricing/litellm.rs:32
↓ 1 callersFunctionload_credentials_for
(name_or_id: &str)
crates/tokscale-cli/src/cursor.rs:763
↓ 1 callersFunctionload_credentials_store_from_path_unlocked
Loads the store while distinguishing "no usable store" (`Ok(None)`) from a store written by a newer tokscale (`Err`). Write paths must propagate the e
crates/tokscale-cli/src/commands/usage/codex.rs:603
↓ 1 callersFunctionload_default_clients
Returns the user's configured `defaultClients` list as raw lowercase ids. Validation against the live `ClientFilter` enum happens at the CLI boundary
crates/tokscale-cli/src/tui/settings.rs:229
↓ 1 callersFunctionload_default_clients_for_home
(home_dir: &Option<String>)
crates/tokscale-cli/src/tui/settings.rs:233
↓ 1 callersFunctionload_manifest
()
crates/tokscale-cli/src/trae.rs:1016
↓ 1 callersFunctionload_opencode_migration_cache
Load the migration cache from disk. Returns `None` if the file is missing or unparseable.
crates/tokscale-core/src/sessions/opencode.rs:395
↓ 1 callersFunctionload_or_parse_codex_source
( path: &Path, source_cache: &message_cache::SourceMessageCache, pricing: Option<&pric
crates/tokscale-core/src/lib.rs:749
↓ 1 callersFunctionload_pricing_service
Loads the canonical pricing dataset for cost attribution, preferring a fresh fetch but falling back to any cached dataset so reports still work offlin
crates/tokscale-cli/src/commands/report.rs:1378
↓ 1 callersFunctionload_root_sessions
(conn: &Connection)
crates/tokscale-core/src/sessions/crush.rs:126
↓ 1 callersFunctionload_run_config
( force: bool, now_ms: i64, )
crates/tokscale-cli/src/commands/autosubmit.rs:212
↓ 1 callersFunctionload_wrapped_data
(options: &WrappedOptions)
crates/tokscale-cli/src/commands/wrapped.rs:160
↓ 1 callersFunctionlocal_day_key
(timestamp_ms: i64)
crates/tokscale-core/src/sessions/crush.rs:227
↓ 1 callersFunctionlocal_start_of_day_millis
Returns the Unix-millisecond timestamp for the start of `date` in the local timezone. This is normally midnight (00:00:00), but in zones that spring
crates/tokscale-cli/src/commands/report.rs:1346
↓ 1 callersFunctionlogin
()
crates/tokscale-cli/src/auth.rs:219
↓ 1 callersFunctionlogin_with_token
(token: &str)
crates/tokscale-cli/src/auth.rs:349
↓ 1 callersFunctionlooks_like_explicit_workspace_path
(path: &str)
crates/tokscale-core/src/sessions/codex.rs:256
↓ 1 callersMethodlooks_like_stale_regression
(self, previous: Self, last: Self)
crates/tokscale-core/src/sessions/codex.rs:140
↓ 1 callersFunctionlooks_logged_out
Heuristic: does this HTML look like a logged-out / login page rather than the authenticated billing console? We key off marker ABSENCE rather than si
crates/tokscale-cli/src/commands/usage/sakana.rs:110
↓ 1 callersMethodlookup_auto
(&self, model_id: &str, provider_id: Option<&str>)
crates/tokscale-core/src/pricing/lookup.rs:406
↓ 1 callersMethodlookup_litellm_only
( &self, model_id: &str, provider_id: Option<&str>, )
crates/tokscale-core/src/pricing/lookup.rs:689
↓ 1 callersMethodlookup_models_dev_only
( &self, model_id: &str, provider_id: Option<&str>, )
crates/tokscale-core/src/pricing/lookup.rs:652
↓ 1 callersMethodlookup_openrouter_only
( &self, model_id: &str, provider_id: Option<&str>, )
crates/tokscale-core/src/pricing/lookup.rs:725
↓ 1 callersMethodlookup_provider_scoped_path
( &self, model_id: &str, provider_id: Option<&str>, )
crates/tokscale-core/src/pricing/lookup.rs:770
↓ 1 callersFunctionlookup_subagent_type_in_parent
Scan a parent session JSONL to recover `subagent_type` for a given `agent_id`. The parent session contains: - Assistant messages with `tool_use` bloc
crates/tokscale-core/src/sessions/claudecode.rs:170
↓ 1 callersFunctionmacos_major
Read the macOS major version via `sysctl kern.osproductversion` (e.g. `"26.1"` -> `26`). `None` if it can't be determined.
crates/tokscale-cli/src/commands/apple_fm.rs:296
↓ 1 callersFunctionmain
()
packages/frontend/scripts/seed-dev.ts:190
↓ 1 callersFunctionmain
()
packages/benchmarks/generate.ts:546
↓ 1 callersFunctionmain
()
packages/benchmarks/runner.ts:450
↓ 1 callersFunctionmain
()
scripts/generate-release-notes.ts:253
↓ 1 callersFunctionmain
()
scripts/check-release-workflow-safety.py:182
↓ 1 callersFunctionmake_pricing_service
()
crates/tokscale-core/tests/jcode.rs:8
↓ 1 callersFunctionmake_pricing_service
()
crates/tokscale-core/tests/junie.rs:32
↓ 1 callersFunctionmanifest_references_artifact
(sessions: &[TraeSessionEntry], artifact_path: &str)
crates/tokscale-cli/src/trae.rs:986
↓ 1 callersFunctionmap_providers
(providers: HashMap<String, Provider>)
crates/tokscale-core/src/pricing/models_dev.rs:135
↓ 1 callersMethodmark_estimated_cost
(&mut self)
crates/tokscale-core/src/sessions/mod.rs:383
↓ 1 callersMethodmark_provider_reported_cost
(&mut self)
crates/tokscale-core/src/sessions/mod.rs:379
↓ 1 callersFunctionmatchesLeaderboardSearch
( user: Pick<LeaderboardUser, "username" | "displayName">, search: string )
packages/frontend/src/lib/leaderboard/getLeaderboard.ts:197
↓ 1 callersFunctionmatchesSearch
(user: Pick<GroupLeaderboardUser, "username">, search: string)
packages/frontend/src/lib/groups/getGroupLeaderboard.ts:100
↓ 1 callersMethodmatches_message_usage
(&self, other: &Self)
crates/tokscale-core/src/sessions/amp.rs:90
↓ 1 callersFunctionmatches_synthetic_filter
Compatibility matcher for `--synthetic` / synthetic source selection.
crates/tokscale-core/src/sessions/synthetic.rs:99
↓ 1 callersMethodmaybe_refresh_remote_stats
Spawn a background `GET /api/me/stats` fetch when the current remote stats are missing or older than the cache TTL. Attempts are throttled so an offli
crates/tokscale-cli/src/tui/app.rs:1043
↓ 1 callersFunctionmeasure_text_width
(font: &FontArc, font_size: f32, text: &str)
crates/tokscale-cli/src/commands/wrapped.rs:913
↓ 1 callersFunctionmedium_selected_account_preferred_height
(selected: &UsageOutput)
crates/tokscale-cli/src/tui/ui/usage.rs:590
↓ 1 callersFunctionmergeApiTokenList
( serverTokens: ApiToken[], currentTokens: ApiToken[] )
packages/frontend/src/app/settings/SettingsClient.tsx:665
↓ 1 callersFunctionmergeTimestampMs
( existing: number | null | undefined, incoming: number | null | undefined, )
packages/frontend/src/lib/db/helpers.ts:204
↓ 1 callersFunctionmerge_amp_records
( ledger_record: AmpUsageRecord, message_record: &AmpUsageRecord, )
crates/tokscale-core/src/sessions/amp.rs:241
↓ 1 callersFunctionmerge_claude_tool_result_duplicate
( existing: &mut UnifiedMessage, input_tokens: i64, timestamp_ms: i64, )
crates/tokscale-core/src/sessions/claudecode.rs:798
↓ 1 callersFunctionmerge_duplicate_workspace
( message: &mut UnifiedMessage, state: &mut MiMoCodeSqliteDedupState, root: Option<&str>, )
crates/tokscale-core/src/sessions/micode.rs:113
↓ 1 callersFunctionmerge_duplicate_workspace
( message: &mut UnifiedMessage, state: &mut OpenCodeSqliteDedupState, root: Option<&str>, )
crates/tokscale-core/src/sessions/opencode.rs:112
↓ 1 callersFunctionmessage_timestamp
(msg: &Value)
crates/tokscale-core/src/sessions/codebuff.rs:191
↓ 1 callersFunctionmetric_label_width
(width: usize)
crates/tokscale-cli/src/tui/ui/usage.rs:1654
↓ 1 callersFunctionmetric_summary
(output: &UsageOutput)
crates/tokscale-cli/src/tui/ui/usage.rs:1945
↓ 1 callersFunctionmicode_duration_ms
(time: &MiMoCodeTime)
crates/tokscale-core/src/sessions/micode.rs:149
↓ 1 callersFunctionminute_bucket_with_fallback
Derive a minute-truncated NaiveDateTime from `msg.timestamp` when present, otherwise fall back to `msg.date`'s 00:00 bucket so messages with missing t
crates/tokscale-cli/src/tui/data/mod.rs:998
↓ 1 callersFunctionmockBrowserSessionOnly
()
packages/frontend/__tests__/api/groupInviteJoinRoute.test.ts:52
↓ 1 callersFunctionmockBrowserSessionOnly
()
packages/frontend/__tests__/api/groupInviteCreateRoute.test.ts:73
↓ 1 callersFunctionmockBrowserSessionOnly
()
packages/frontend/__tests__/api/groupTransferOwnership.test.ts:131
↓ 1 callersFunctionmock_litellm
Mock LiteLLM data matching real API responses for OpenCode Zen models
crates/tokscale-core/src/pricing/lookup.rs:2152
↓ 1 callersFunctionmock_openrouter
Mock OpenRouter data matching real API responses for OpenCode Zen models
crates/tokscale-core/src/pricing/lookup.rs:2413
↓ 1 callersMethodmodel_color
(&self, model: &str)
crates/tokscale-cli/src/tui/app.rs:583
↓ 1 callersFunctionmodel_display_name
(model: &crate::tui::data::ModelUsage, group_by: &GroupBy)
crates/tokscale-cli/src/tui/ui/models.rs:20
↓ 1 callersFunctionmodel_from_config
Read the configured agent model from `~/.commandcode/config.json`. `session_path` is `<root>/.commandcode/projects/<slug>/<session>.jsonl`, so the co
crates/tokscale-core/src/sessions/commandcode.rs:269
↓ 1 callersFunctionmodel_part_matches_exact
(model_part: &str, model_id: &str)
crates/tokscale-core/src/pricing/lookup.rs:2060
↓ 1 callersFunctionmodel_prefix_matches_provider
(model_id: &str, provider_id: Option<&str>)
crates/tokscale-core/src/pricing/lookup.rs:1989
↓ 1 callersFunctionmodel_usage_includes_client
(entry: &tokscale_core::ModelUsage, client: &str)
crates/tokscale-cli/src/main.rs:1477
↓ 1 callersMethodmonthly_detail_month
(&self)
crates/tokscale-cli/src/tui/app.rs:2255
↓ 1 callersFunctionmonthly_usage
(month: &str, input_tokens: u64, cost: f64)
crates/tokscale-cli/src/tui/app.rs:3121
↓ 1 callersMethodmove_page_down
(&mut self)
crates/tokscale-cli/src/tui/app.rs:1719
↓ 1 callersMethodmove_page_up
(&mut self)
crates/tokscale-cli/src/tui/app.rs:1707
↓ 1 callersMethodmove_to_bottom
(&mut self)
crates/tokscale-cli/src/tui/app.rs:1741
↓ 1 callersMethodmove_to_top
(&mut self)
crates/tokscale-cli/src/tui/app.rs:1732
↓ 1 callersFunctionnarrow_table_header
(app: &App, width: u16)
crates/tokscale-cli/src/tui/ui/usage.rs:1790
↓ 1 callersFunctionnarrow_table_row
(app: &mut App, output: &UsageOutput, index: usize, area: Rect)
crates/tokscale-cli/src/tui/ui/usage.rs:1823
↓ 1 callersFunctionneeds_refresh
(expires_at: Option<f64>)
crates/tokscale-cli/src/commands/usage/kimi.rs:122
↓ 1 callersFunctionnextResult
(queue: T[][])
packages/frontend/__tests__/lib/session.test.ts:33
↓ 1 callersFunctionnextRows
(table: unknown)
packages/frontend/__tests__/lib/getGroupLeaderboard.test.ts:60
↓ 1 callersFunctionnextSelectResult
()
packages/frontend/__tests__/api/usersProfile.test.ts:65
↓ 1 callersFunctionnextUpdateResult
()
packages/frontend/__tests__/api/deviceAuthorize.test.ts:23
↓ 1 callersFunctionnext_available_account_id
(store: &CodexCredentialsStore, base_id: &str)
crates/tokscale-cli/src/commands/usage/codex.rs:541
↓ 1 callersFunctionnext_reset_label
(app: &App, outputs: &[UsageOutput])
crates/tokscale-cli/src/tui/ui/usage.rs:2247
← previousnext →1,801–1,900 of 4,973, ranked by callers