MCPcopy Create free account

hub / github.com/junhoyeo/tokscale / functions

Functions4,973 in github.com/junhoyeo/tokscale

↓ 2 callersFunctionsetup_mock_gemini_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:1935
↓ 2 callersFunctionsetup_mock_omp_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:1964
↓ 2 callersFunctionsetup_mock_opencode_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:1898
↓ 2 callersFunctionsetup_mock_pi_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:1942
↓ 2 callersFunctionshade_from_base
Generates a 7-step monochromatic palette from `base` by interpolating toward white. Factors roughly match the end-of-ramp lightness of the hardcoded p
crates/tokscale-cli/src/tui/ui/widgets.rs:188
↓ 2 callersMethodshould_show_codex_login_panel
(&self)
crates/tokscale-cli/src/tui/app.rs:1151
↓ 2 callersFunctionskip_scheduler_install
()
crates/tokscale-cli/src/commands/autosubmit.rs:373
↓ 2 callersFunctionspawn_codex_login_output_reader
( reader: R, tx: std::sync::mpsc::Sender<CodexLoginEvent>, output_lines: std::sync::Arc<std::sync:
crates/tokscale-cli/src/tui/codex_login.rs:210
↓ 2 callersMethodstable_id
(&self)
crates/tokscale-cli/src/commands/usage/codex.rs:503
↓ 2 callersFunctionstar_cache_path
()
crates/tokscale-cli/src/main.rs:4341
↓ 2 callersMethodstart_codex_login
(&mut self)
crates/tokscale-cli/src/tui/app.rs:1157
↓ 2 callersMethodstop_inner
(&mut self)
crates/tokscale-cli/src/main.rs:1649
↓ 2 callersFunctionstrip_agent_prefix
(name: &str)
crates/tokscale-core/src/sessions/mod.rs:212
↓ 2 callersFunctionstrip_known_provider_prefix
(model_id: &str)
crates/tokscale-core/src/pricing/lookup.rs:1592
↓ 2 callersFunctionstrip_parenthesized_reasoning_tier
Strip a CLIProxyAPI-style `(level)` reasoning-effort suffix from a model id. Mirrors <https://help.router-for.me/configuration/thinking>: the proxy s
crates/tokscale-core/src/lib.rs:43
↓ 2 callersFunctionstrip_zero_width_chars
Strip zero-width Unicode characters that oh-my-openagent uses as invisible sort-order prefixes (U+200B ZERO WIDTH SPACE, U+200C ZERO WIDTH NON-JOINER,
crates/tokscale-core/src/sessions/mod.rs:203
↓ 2 callersFunctionsubtract_cached_overlap
(input: i64, cached: i64)
crates/tokscale-core/src/sessions/gemini.rs:502
↓ 2 callersFunctionsupports_extra_dir_scanning
(client_id: ClientId)
crates/tokscale-core/src/scanner.rs:658
↓ 2 callersFunctionswitch_active_account
(name_or_id: &str)
crates/tokscale-cli/src/commands/usage/codex.rs:1578
↓ 2 callersFunctiontab_label
(tab: Tab, is_very_narrow: bool)
crates/tokscale-cli/src/tui/ui/header.rs:120
↓ 2 callersFunctiontable_right_cell
(text: impl Into<String>, style: Style)
crates/tokscale-cli/src/tui/ui/usage.rs:2046
↓ 2 callersFunctiontake_capitalized_word
Take a leading `[A-Z][a-z]+` word; return (word, remainder).
crates/tokscale-cli/src/commands/usage/sakana.rs:376
↓ 2 callersFunctiontest_pricing_service
()
crates/tokscale-cli/src/tui/data/mod.rs:1262
↓ 2 callersFunctiontimestamp_message
(seconds: u64)
crates/tokscale-cli/src/commands/usage/grok.rs:735
↓ 2 callersFunctiontimestamp_message_to_rfc3339
(data: &[u8])
crates/tokscale-cli/src/commands/usage/grok.rs:488
↓ 2 callersFunctiontimestamp_to_date
Convert Unix milliseconds to a local YYYY-MM-DD date string.
crates/tokscale-core/src/sessions/mod.rs:433
↓ 2 callersFunctiontoUtcDateString
(date: Date)
packages/frontend/src/app/api/users/[username]/route.ts:25
↓ 2 callersMethodto_breakdown
(&self)
crates/tokscale-core/src/sessions/zcode.rs:73
↓ 2 callersMethodtoggle_usage_email_privacy
(&mut self)
crates/tokscale-cli/src/tui/app.rs:1310
↓ 2 callersFunctiontoken_usage_from_value
Zed persists `language_model::TokenUsage`, which currently stores only input/output/cache fields in `threads.db`. Until upstream adds a dedicated reas
crates/tokscale-core/src/sessions/zed.rs:285
↓ 2 callersFunctiontokens_overlap
Two token sets are considered the same task when they overlap strongly, measured by the OVERLAP COEFFICIENT: `shared / min(|a|, |b|)`. This deliberat
crates/tokscale-cli/src/commands/report.rs:566
↓ 2 callersFunctiontop_level_env
(lines: list[str])
scripts/check-release-workflow-safety.py:47
↓ 2 callersFunctiontrace_id_from_record
(value: &Value)
crates/tokscale-core/src/sessions/copilot.rs:492
↓ 2 callersFunctiontry_acquire_run_lock
()
crates/tokscale-cli/src/commands/autosubmit.rs:265
↓ 2 callersFunctiontry_strip_unknown_suffix
Attempts to find a model by progressively stripping trailing segments. Handles arbitrary suffixes (e.g., "claude-sonnet-4-5-thinking" → "claude-sonnet
crates/tokscale-core/src/pricing/lookup.rs:1759
↓ 2 callersFunctionuncommented_lines
(lines: list[str])
scripts/check-release-workflow-safety.py:144
↓ 2 callersFunctionupdate_claude_provider_id
( existing: &mut String, existing_confidence: &mut u8, candidate: ClaudeProviderChoice, )
crates/tokscale-core/src/sessions/claudecode.rs:1359
↓ 2 callersFunctionupdate_claude_usage
(state: &mut ClaudeHeadlessState, usage: &Value)
crates/tokscale-core/src/sessions/claudecode.rs:1394
↓ 2 callersMethodupdate_task_group
(&self, session_id: &str, task_group: &str)
crates/tokscale-core/src/wiki.rs:371
↓ 2 callersFunctionusage_inventory
(outputs: &[UsageOutput])
crates/tokscale-cli/src/tui/ui/usage.rs:128
↓ 2 callersFunctionusage_providers
(codex_fetch: Fetch)
crates/tokscale-cli/src/commands/usage/mod.rs:402
↓ 2 callersFunctionusage_row_view
(app: &App, output: &'a UsageOutput)
crates/tokscale-cli/src/tui/ui/usage.rs:1920
↓ 2 callersFunctionuseCopy
(text: string)
packages/frontend/src/components/landing/hooks/useCopy.ts:5
↓ 2 callersFunctionuseSettings
()
packages/frontend/src/lib/useSettings.ts:111
↓ 2 callersFunctionuseSquircleClip
( cornerRadius: number, cornerSmoothing: number = 0.6, bottomOnly: boolean = false, borderWidth: numbe
packages/frontend/src/components/landing/hooks/useSquircleClip.ts:19
↓ 2 callersFunctionuseSystemDarkMode
()
packages/frontend/src/lib/useMediaQuery.ts:17
↓ 2 callersFunctionvalidate_cursor_session
(token: &str)
crates/tokscale-cli/src/cursor.rs:776
↓ 2 callersFunctionvalidate_device_id
(id: &str)
crates/tokscale-cli/src/device.rs:78
↓ 2 callersFunctionvalidate_device_name
(name: &str)
crates/tokscale-cli/src/device.rs:102
↓ 2 callersFunctionvalidate_label_available
( store: &CodexCredentialsStore, account_id: &str, label: Option<&str>, )
crates/tokscale-cli/src/commands/usage/codex.rs:556
↓ 2 callersFunctionvalidate_non_negative
(value: f64, field: &str)
crates/tokscale-core/src/pricing/custom.rs:336
↓ 2 callersFunctionvalidate_scheduler_executable
(path: &Path)
crates/tokscale-cli/src/commands/autosubmit.rs:735
↓ 2 callersFunctionvalue_as_i64
(value: &Value)
crates/tokscale-core/src/sessions/copilot.rs:625
↓ 2 callersFunctionvariant_dir_from_session_path
( path: &Path, home_dir: Option<&Path>, )
crates/tokscale-core/src/cc_mirror.rs:49
↓ 2 callersFunctionwarn_if_escapes_home
Emit a one-time `tracing::warn!` if `path` does not start with the user's home directory. The scan is NOT blocked — this is a heads-up only.
crates/tokscale-core/src/scanner.rs:17
↓ 2 callersFunctionwarp_setup_warnings_for_report
( home_dir: &Option<String>, clients: &Option<Vec<String>>, )
crates/tokscale-cli/src/main.rs:1302
↓ 2 callersFunctionworkspace_from_root
(root: Option<&str>)
crates/tokscale-core/src/sessions/micode.rs:102
↓ 2 callersFunctionworkspace_from_root
(root: Option<&str>)
crates/tokscale-core/src/sessions/opencode.rs:101
↓ 2 callersFunctionwrite_codex_forked_history_fixture
(source_home: &std::path::Path)
crates/tokscale-core/src/lib.rs:4955
↓ 2 callersFunctionwrite_codex_token_session
(dir: &Path, name: &str, model: &str, input: i64, output: i64)
crates/tokscale-cli/tests/cli_tests.rs:594
↓ 2 callersFunctionwrite_crontab
(content: &str)
crates/tokscale-cli/src/commands/autosubmit.rs:699
↓ 2 callersFunctionwrite_cursor_credentials
(base: &Path)
crates/tokscale-cli/tests/cli_tests.rs:647
↓ 2 callersFunctionwrite_cursor_usage_cache
(base: &Path)
crates/tokscale-cli/tests/cli_tests.rs:641
↓ 2 callersFunctionwrite_gjc_session_fixture
Write a gjc session JSONL file at <home>/.gjc/agent/sessions/<slug>/sess.jsonl with one assistant message: model claude-sonnet-4, provider anthropic,
crates/tokscale-cli/tests/cli_tests.rs:2988
↓ 2 callersFunctionwrite_kimi_repeated_status_fixture
(source_home: &std::path::Path)
crates/tokscale-core/src/lib.rs:4337
↓ 2 callersFunctionwrite_light_cache
( home_dir: &Option<String>, clients: &Option<Vec<String>>, since: &Option<String>, until: &Op
crates/tokscale-cli/src/main.rs:5350
↓ 2 callersMethodzed_db_paths
Return every Zed threads SQLite database that should be parsed.
crates/tokscale-core/src/scanner.rs:177
↓ 2 callersFunctionzigzag
(fromX: number, toX: number, base: number, peak: number)
packages/frontend/src/lib/embed/renderReceiptEmbedSvg.ts:39
↓ 1 callersFunctionSourceLogo
({ sourceId, height = 14, className = "" }: SourceLogoProps)
packages/frontend/src/components/SourceLogo.tsx:24
↓ 1 callersFunctionaccount_auth_color
(output: &UsageOutput)
crates/tokscale-cli/src/tui/ui/usage.rs:2364
↓ 1 callersFunctionaccount_auth_label
(output: &UsageOutput)
crates/tokscale-cli/src/tui/ui/usage.rs:2356
↓ 1 callersFunctionaccount_id_from_cursor_cache_path
(path: &Path)
crates/tokscale-core/src/sessions/cursor.rs:16
↓ 1 callersFunctionaccount_plan_label
(account: &str, plan: Option<&str>)
crates/tokscale-cli/src/tui/ui/usage.rs:1567
↓ 1 callersFunctionaccount_readiness_label
(output: &UsageOutput, readiness: UsageReadiness)
crates/tokscale-cli/src/tui/ui/usage.rs:1574
↓ 1 callersFunctionaccount_state_label
(output: &UsageOutput)
crates/tokscale-cli/src/tui/ui/usage.rs:2345
↓ 1 callersFunctionaccount_table_header
(app: &App)
crates/tokscale-cli/src/tui/ui/usage.rs:1776
↓ 1 callersFunctionaccount_table_row
(app: &App, output: &UsageOutput, index: usize)
crates/tokscale-cli/src/tui/ui/usage.rs:2002
↓ 1 callersFunctionaccount_table_widths
(width: u16)
crates/tokscale-cli/src/tui/ui/usage.rs:1797
↓ 1 callersMethodacquire
(cache_dir: &std::path::Path)
crates/tokscale-cli/src/trae.rs:1122
↓ 1 callersFunctionagent_name
(agent_event: &Value)
crates/tokscale-core/src/sessions/junie.rs:191
↓ 1 callersFunctionaggregate_by_period
Aggregate hourly data into time-of-day periods
crates/tokscale-cli/src/tui/data/mod.rs:1171
↓ 1 callersFunctionaggregate_by_weekday
Aggregate hourly data by weekday
crates/tokscale-cli/src/tui/data/mod.rs:1201
↓ 1 callersFunctionaggregate_model_report_performance
( entries: &[tokscale_core::ModelUsage], )
crates/tokscale-cli/src/main.rs:3451
↓ 1 callersFunctionantigravity_data_roots
()
crates/tokscale-cli/src/antigravity.rs:25
↓ 1 callersFunctionantigravity_https_client
()
crates/tokscale-cli/src/antigravity.rs:1747
↓ 1 callersFunctionantigravity_https_runtime
()
crates/tokscale-cli/src/antigravity.rs:1738
↓ 1 callersFunctionapiTokenListItem
(token: CreatedApiToken)
packages/frontend/src/app/settings/SettingsClient.tsx:652
↓ 1 callersMethodapp_dir_name
macOS Application Support directory name.
crates/tokscale-cli/src/trae.rs:94
↓ 1 callersFunctionappend_credit_bank_summary_lines
( lines: &mut Vec<Line<'static>>, app: &App, outputs: &[UsageOutput], width: usize, max_li
crates/tokscale-cli/src/tui/ui/usage.rs:1376
↓ 1 callersFunctionappend_provider_summary_lines
( lines: &mut Vec<Line<'static>>, app: &App, outputs: &[UsageOutput], width: usize, max_li
crates/tokscale-cli/src/tui/ui/usage.rs:961
↓ 1 callersFunctionappend_selected_reset_credit_lines
( lines: &mut Vec<Line<'static>>, app: &App, selected: &UsageOutput, width: usize, max_lin
crates/tokscale-cli/src/tui/ui/usage.rs:1270
↓ 1 callersFunctionappend_signals_reconciliation
( updates_path: &Path, metadata: &GrokMetadata, messages: &mut Vec<UnifiedMessage>, fallback_m
crates/tokscale-core/src/sessions/grok.rs:245
↓ 1 callersFunctionapplyDarkModeToDocument
()
packages/frontend/src/lib/useSettings.ts:104
↓ 1 callersMethodapply_meta
(&mut self, meta: JcodeJournalMeta)
crates/tokscale-core/src/sessions/jcode.rs:111
↓ 1 callersMethodas_str
(&self)
crates/tokscale-cli/src/tui/themes.rs:82
↓ 1 callersFunctionassertInviteRole
(role: GroupRole)
packages/frontend/src/lib/groups/invites.ts:55
↓ 1 callersFunctionattention_line
(app: &App, output: &UsageOutput, width: usize)
crates/tokscale-cli/src/tui/ui/usage.rs:1045
↓ 1 callersFunctionattention_more_line
(hidden_count: usize, width: usize)
crates/tokscale-cli/src/tui/ui/usage.rs:1088
↓ 1 callersFunctionattr_i64
(attributes: &Map<String, Value>, key: &str)
crates/tokscale-core/src/sessions/copilot.rs:557
↓ 1 callersFunctionauth_document
(tokens: &Tokens)
crates/tokscale-cli/src/commands/usage/codex.rs:430
← previousnext →1,301–1,400 of 4,973, ranked by callers