MCPcopy Create free account

hub / github.com/junhoyeo/tokscale / functions

Functions4,973 in github.com/junhoyeo/tokscale

↓ 1 callersFunctionseedGroup
(memberUserIds: string[])
packages/frontend/scripts/seed-dev.ts:167
↓ 1 callersFunctionseedUser
( username: string, displayName: string, githubId: number )
packages/frontend/scripts/seed-dev.ts:54
↓ 1 callersMethodselect_current
(&mut self)
crates/tokscale-cli/src/tui/ui/dialog/group_by_picker.rs:78
↓ 1 callersFunctionselected_account_actions_line
( app: &mut App, selected: &UsageOutput, area: Rect, y: u16, )
crates/tokscale-cli/src/tui/ui/usage.rs:1529
↓ 1 callersFunctionselected_reset_action_button
(app: &App)
crates/tokscale-cli/src/tui/ui/usage.rs:241
↓ 1 callersFunctionselected_status_line
(output: &UsageOutput)
crates/tokscale-cli/src/tui/ui/usage.rs:1520
↓ 1 callersFunctionserializeUpdatedAt
(value: Date | string | null | undefined)
packages/frontend/src/app/api/users/[username]/route.ts:53
↓ 1 callersFunctionsession
(overrides: Record<string, unknown> = {})
packages/frontend/__tests__/api/groupRoute.test.ts:126
↓ 1 callersFunctionsession
()
packages/frontend/__tests__/api/groupInviteJoinRoute.test.ts:48
↓ 1 callersFunctionsession
()
packages/frontend/__tests__/api/groupInviteCreateRoute.test.ts:69
↓ 1 callersFunctionsession_created_ms
(blob: &[u8])
crates/tokscale-core/src/sessions/antigravity_cli.rs:190
↓ 1 callersFunctionsession_id_from_path
(path: &Path)
crates/tokscale-core/src/sessions/zcode.rs:551
↓ 1 callersFunctionsession_id_from_path
(path: &Path)
crates/tokscale-core/src/sessions/opencodereview.rs:116
↓ 1 callersFunctionsession_id_from_path
(path: &Path)
crates/tokscale-core/src/sessions/junie.rs:144
↓ 1 callersFunctionsession_id_from_path
(path: &Path)
crates/tokscale-core/src/sessions/kiro.rs:333
↓ 1 callersFunctionsession_id_from_path
(path: &Path)
crates/tokscale-core/src/sessions/commandcode.rs:277
↓ 1 callersFunctionsession_row_to_message
(db_path: &Path, row: CopilotDesktopSessionRow)
crates/tokscale-core/src/sessions/copilot_desktop.rs:114
↓ 1 callersFunctionsession_timestamp_from_id
(session_id: &str)
crates/tokscale-core/src/sessions/junie.rs:153
↓ 1 callersFunctionsessions_dir
()
crates/tokscale-cli/src/trae.rs:1012
↓ 1 callersFunctionsetSessionCookie
(token: string)
packages/frontend/src/lib/auth/session.ts:82
↓ 1 callersFunctionset_active_account
(name_or_id: &str)
crates/tokscale-cli/src/cursor.rs:571
↓ 1 callersFunctionset_workspace_from_root
(message: &mut UnifiedMessage, root: Option<&str>)
crates/tokscale-core/src/sessions/micode.rs:108
↓ 1 callersFunctionsettings_json_path
(base: &Path)
crates/tokscale-cli/tests/cli_tests.rs:583
↓ 1 callersFunctionsetupSyntheticDataPaths
(syntheticPath: string)
packages/benchmarks/runner.ts:148
↓ 1 callersFunctionsetup_mock_cline_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:2054
↓ 1 callersFunctionsetup_mock_copilot_dir
(home: &Path)
crates/tokscale-core/src/scanner.rs:1500
↓ 1 callersFunctionsetup_mock_grok_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:1995
↓ 1 callersFunctionsetup_mock_jcode_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:2003
↓ 1 callersFunctionsetup_mock_kilocode_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:2043
↓ 1 callersFunctionsetup_mock_kimi_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:1987
↓ 1 callersFunctionsetup_mock_kiro_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:1949
↓ 1 callersFunctionsetup_mock_kiro_global_storage_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:1955
↓ 1 callersFunctionsetup_mock_openclaw_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:2010
↓ 1 callersFunctionsetup_mock_roocode_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:2031
↓ 1 callersFunctionsetup_mock_zed_macos_db
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:1980
↓ 1 callersFunctionsetup_mock_zed_xdg_db
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:1972
↓ 1 callersFunctionshort_account_id
(account_id: &str)
crates/tokscale-cli/src/tui/app.rs:215
↓ 1 callersMethodshort_name
(&self)
crates/tokscale-cli/src/tui/app.rs:97
↓ 1 callersFunctionshould_auto_open_browser
()
crates/tokscale-cli/src/auth.rs:180
↓ 1 callersFunctionshould_auto_sync_cursor_for_local_report
( home_dir: &Option<String>, clients: &Option<Vec<String>>, )
crates/tokscale-cli/src/main.rs:1361
↓ 1 callersFunctionshould_emit_candidate
( candidate: &CopilotUsageCandidate, chat_traces: &HashSet<String>, inference_traces: &HashSet<Str
crates/tokscale-core/src/sessions/copilot.rs:364
↓ 1 callersFunctionshould_fetch_reset_details
Decide whether to issue the extra detail GET for reset credits. We fetch the detail endpoint whenever the cheap inline summary leaves the credit stat
crates/tokscale-cli/src/commands/usage/codex.rs:1152
↓ 1 callersFunctionshould_forward_key_event
(key: &KeyEvent)
crates/tokscale-cli/src/tui/event.rs:19
↓ 1 callersFunctionshould_replace_session_entry
( existing: &TraeSessionEntry, incoming: &TraeSessionEntry, )
crates/tokscale-cli/src/trae.rs:945
↓ 1 callersFunctionshould_replace_status_update
(existing: &UnifiedMessage, candidate: &UnifiedMessage)
crates/tokscale-core/src/sessions/kimi.rs:325
↓ 1 callersFunctionshow_qr
(yes: bool)
crates/tokscale-cli/src/auth.rs:469
↓ 1 callersFunctionsibling_history_path
(ui_messages_path: &Path)
crates/tokscale-core/src/sessions/roocode.rs:106
↓ 1 callersFunctionsidechain_agent_id_from_stem
(stem: &str)
crates/tokscale-core/src/sessions/claudecode.rs:276
↓ 1 callersFunctionsmart_titlecase
Title-cases a provider/brand identifier word-by-word, splitting on `-`, `_`, and whitespace. Per-word acronym/brand overrides (e.g. `ai` → "AI", `gpt`
crates/tokscale-cli/src/tui/ui/widgets.rs:449
↓ 1 callersFunctionsnapshot_line
(app: &App, outputs: &[UsageOutput], width: usize)
crates/tokscale-cli/src/tui/ui/usage.rs:1584
↓ 1 callersFunctionsortClientsByCost
(clients: ClientContribution[])
packages/frontend/src/lib/utils.ts:309
↓ 1 callersFunctionspan_id_from_record
(value: &Value)
crates/tokscale-core/src/sessions/copilot.rs:502
↓ 1 callersFunctionspawn_warm_tui_cache_detached
()
crates/tokscale-cli/src/main.rs:5262
↓ 1 callersFunctionsplit_quality_suffix
(model: &str)
crates/tokscale-cli/src/commands/wrapped.rs:1799
↓ 1 callersFunctionstale_relative_paths
(previous: &AntigravityManifest, next: &AntigravityManifest)
crates/tokscale-cli/src/antigravity.rs:2142
↓ 1 callersFunctionstartEditingDevice
(device: SettingsDevice)
packages/frontend/src/app/settings/SettingsClient.tsx:805
↓ 1 callersFunctionstatus
(json: bool)
crates/tokscale-cli/src/commands/autosubmit.rs:158
↓ 1 callersFunctionstatus_label
(app: &App)
crates/tokscale-cli/src/tui/ui/usage.rs:94
↓ 1 callersFunctionstrip_date_suffix
(mut model: String)
crates/tokscale-cli/src/commands/wrapped.rs:1821
↓ 1 callersFunctionstrips_claude_numeric_minor
(candidate: &str, first_stripped_segment: &str)
crates/tokscale-core/src/pricing/lookup.rs:1792
↓ 1 callersFunctionsum_request_token_usage
(value: Option<&Value>)
crates/tokscale-core/src/sessions/zed.rs:250
↓ 1 callersFunctionsync_cursor_cache_with_fetcher
(fetch_usage_csv: F)
crates/tokscale-cli/src/cursor.rs:889
↓ 1 callersFunctionsync_variant
Run a single incremental sync for one variant.
crates/tokscale-cli/src/trae.rs:1217
↓ 1 callersFunctionsync_warp_cache
()
crates/tokscale-cli/src/warp.rs:260
↓ 1 callersFunctionsystemd_user_dir
()
crates/tokscale-cli/src/commands/autosubmit.rs:553
↓ 1 callersFunctiontab_label_width
(tab: Tab, is_very_narrow: bool)
crates/tokscale-cli/src/tui/ui/header.rs:128
↓ 1 callersFunctiontest_data_loading
()
crates/tokscale-cli/src/tui/mod.rs:352
↓ 1 callersFunctiontest_pricing_service
()
crates/tokscale-cli/src/commands/report.rs:1436
↓ 1 callersFunctiontext_char_count
(content: Option<&[KiroContentPart]>)
crates/tokscale-core/src/sessions/kiro.rs:283
↓ 1 callersMethodtheme_name
(&self)
crates/tokscale-cli/src/tui/settings.rs:362
↓ 1 callersFunctionthread_columns
(conn: &Connection)
crates/tokscale-core/src/sessions/zed.rs:120
↓ 1 callersFunctionthread_usage
(thread: &Value)
crates/tokscale-core/src/sessions/zed.rs:236
↓ 1 callersFunctiontimestamp_ms
(row: &ZedThreadRow, thread: &Value)
crates/tokscale-core/src/sessions/zed.rs:309
↓ 1 callersFunctiontimestamp_ms_from_record
(value: &Value)
crates/tokscale-core/src/sessions/copilot.rs:633
↓ 1 callersFunctiontimestamp_secs_to_ms
(timestamp: f64)
crates/tokscale-core/src/sessions/goose.rs:32
↓ 1 callersFunctiontimestamp_secs_to_ms
(timestamp: f64)
crates/tokscale-core/src/sessions/hermes.rs:15
↓ 1 callersFunctiontimestamp_to_hour
Convert Unix ms timestamp to a NaiveDateTime truncated to the hour (local tz).
crates/tokscale-cli/src/tui/data/mod.rs:943
↓ 1 callersFunctiontimestamp_to_minute
Convert Unix ms timestamp to a NaiveDateTime truncated to the minute (local tz).
crates/tokscale-cli/src/tui/data/mod.rs:975
↓ 1 callersFunctiontitle_words
(raw: &str)
crates/tokscale-cli/src/commands/usage/grok.rs:218
↓ 1 callersMethodto_breakdown
(&self)
crates/tokscale-core/src/sessions/tencent_buddy.rs:89
↓ 1 callersMethodto_breakdown
Clamp negative counts to zero and build a breakdown. Returns `None` when every count is zero so callers can skip the entry.
crates/tokscale-core/src/sessions/kimi.rs:60
↓ 1 callersMethodtoggle_auto_refresh
(&mut self)
crates/tokscale-cli/src/tui/app.rs:1997
↓ 1 callersMethodtoggle_selected
Toggle the currently highlighted source. Refuses to disable the last enabled source (downstream code assumes at least one filter is active when the pi
crates/tokscale-cli/src/tui/ui/dialog/source_picker.rs:83
↓ 1 callersFunctiontokens_from_usage
(usage: &JcodeTokenUsage)
crates/tokscale-core/src/sessions/jcode.rs:74
↓ 1 callersFunctiontokens_from_usage
(usage: &Value)
crates/tokscale-core/src/sessions/opencodereview.rs:124
↓ 1 callersFunctiontokens_from_usage
(usage: &Value)
crates/tokscale-core/src/sessions/junie.rs:205
↓ 1 callersMethodtone_color
(&self, theme: &Theme)
crates/tokscale-cli/src/tui/ui/dialog/confirm.rs:96
↓ 1 callersFunctiontool_result_content_output_chars
(content: &Value)
crates/tokscale-core/src/sessions/claudecode.rs:1034
↓ 1 callersFunctiontool_result_output_char_count
(tool_result: &Value)
crates/tokscale-core/src/sessions/claudecode.rs:1006
↓ 1 callersMethodtotal_files
Get total number of files found
crates/tokscale-core/src/scanner.rs:130
↓ 1 callersFunctiontrim_ascii_bytes
(bytes: &[u8])
crates/tokscale-core/src/sessions/gemini.rs:424
↓ 1 callersFunctiontruncate
(s: &str, max_chars: usize)
crates/tokscale-cli/src/tui/ui/daily.rs:543
↓ 1 callersFunctiontruncate_username
(username: &str, max_chars: usize)
crates/tokscale-cli/src/commands/wrapped.rs:1867
↓ 1 callersFunctiontry_fetch_session_artifact
( summary: &TrajectorySummary, connection: &AntigravityConnection, )
crates/tokscale-cli/src/antigravity.rs:2018
↓ 1 callersFunctiontry_parse_kiro_execution_file
(value: &Value, path: &Path)
crates/tokscale-core/src/sessions/kiro.rs:590
↓ 1 callersFunctiontry_parse_kiro_workspace_session
( value: &Value, path: &Path, fallback_timestamp: i64, )
crates/tokscale-core/src/sessions/kiro.rs:736
↓ 1 callersFunctiontry_strip_unknown_prefix
Attempts to find a model by progressively stripping leading segments. Handles arbitrary routing prefixes (e.g., "myplugin-claude-3.5-sonnet" → "claude
crates/tokscale-core/src/pricing/lookup.rs:1847
↓ 1 callersFunctionuninstall_cron_block
()
crates/tokscale-cli/src/commands/autosubmit.rs:661
↓ 1 callersFunctionuninstall_scheduler
(scheduler: SchedulerKind)
crates/tokscale-cli/src/commands/autosubmit.rs:417
↓ 1 callersFunctionupdate
()
packages/frontend/src/components/landing/sections/WorldwideSection.tsx:61
← previousnext →2,201–2,300 of 4,973, ranked by callers