MCPcopy Create free account

hub / github.com/junhoyeo/tokscale / functions

Functions4,973 in github.com/junhoyeo/tokscale

↓ 2 callersFunctionparse_droid_file
Parse a Droid settings.json file
crates/tokscale-core/src/sessions/droid.rs:137
↓ 2 callersFunctionparse_fixture
()
crates/tokscale-core/tests/anthropic_catalog.rs:47
↓ 2 callersFunctionparse_gemini_headless_jsonl
(path: &Path, fallback_timestamp: i64)
crates/tokscale-core/src/sessions/gemini.rs:309
↓ 2 callersFunctionparse_goose_sqlite
(db_path: &Path)
crates/tokscale-core/src/sessions/goose.rs:73
↓ 2 callersFunctionparse_grpc_billing_metric
(body: &[u8])
crates/tokscale-cli/src/commands/usage/grok.rs:542
↓ 2 callersFunctionparse_hex_color
(hex: &str)
crates/tokscale-cli/src/tui/config.rs:78
↓ 2 callersFunctionparse_iso_to_timestamp
(s: &str)
crates/tokscale-cli/src/trae.rs:172
↓ 2 callersFunctionparse_jcode_messages
( messages: Vec<JcodeMessage>, context: &mut JcodeSessionContext, fallback_timestamp: i64, fal
crates/tokscale-core/src/sessions/jcode.rs:147
↓ 2 callersFunctionparse_local_unified_messages
( options: LocalParseOptions, )
crates/tokscale-core/src/lib.rs:3103
↓ 2 callersFunctionparse_local_unified_messages_resolved
( options: LocalParseOptions, home_dir: &str, clients: &[String], pricing: Option<&pricing::Pr
crates/tokscale-core/src/lib.rs:2403
↓ 2 callersFunctionparse_quota_detail
(label: &str, detail: &QuotaDetail)
crates/tokscale-cli/src/commands/usage/kimi.rs:165
↓ 2 callersFunctionparse_timestamp_value
(value: &Value)
crates/tokscale-core/src/sessions/utils.rs:20
↓ 2 callersFunctionparse_token_from_hosts
()
crates/tokscale-cli/src/commands/usage/copilot.rs:62
↓ 2 callersFunctionparse_workbuddy_sqlite
(db_path: &Path)
crates/tokscale-core/src/sessions/workbuddy.rs:44
↓ 2 callersFunctionparsed_message
(model_id: &str)
crates/tokscale-cli/src/commands/report.rs:1450
↓ 2 callersFunctionpartition_workbuddy_paths
(paths: &[PathBuf])
crates/tokscale-core/src/lib.rs:1704
↓ 2 callersFunctionpayloadForClient
(client: string)
packages/frontend/__tests__/lib/clientRegistry.test.ts:22
↓ 2 callersFunctionpendingInvite
()
packages/frontend/__tests__/lib/groupInvites.test.ts:157
↓ 2 callersFunctionper_token
(value: f64)
crates/tokscale-core/src/pricing/models_dev.rs:164
↓ 2 callersMethodpersist_current_sort
(&mut self)
crates/tokscale-cli/src/tui/app.rs:1638
↓ 2 callersMethodpersist_subscription_usage_cache
(&self)
crates/tokscale-cli/src/tui/app.rs:1439
↓ 2 callersFunctionpersist_tokens
(source: &CredentialSource, tokens: &Tokens)
crates/tokscale-cli/src/commands/usage/codex.rs:443
↓ 2 callersFunctionpillW
(text: string)
packages/frontend/src/lib/embed/renderMinimalEmbedSvg.ts:75
↓ 2 callersFunctionpretty_category
(key: &str)
crates/tokscale-cli/src/commands/usage/copilot.rs:156
↓ 2 callersMethodprev
(self)
crates/tokscale-cli/src/tui/app.rs:125
↓ 2 callersMethodprev_visible_tab
(&self)
crates/tokscale-cli/src/tui/app.rs:1630
↓ 2 callersFunctionpreviousUtcDate
(dateStr: string)
packages/frontend/src/lib/embed/renderIsometric3DSvg.ts:157
↓ 2 callersFunctionprint_report_table
( entries: &[WikiEntry], _db: &WikiDb, is_multi_day: bool, full: bool, )
crates/tokscale-cli/src/commands/report.rs:988
↓ 2 callersFunctionprivacy_text
(app: &App, value: &str)
crates/tokscale-cli/src/tui/ui/usage.rs:2337
↓ 2 callersFunctionprovider_id
(provider_key: Option<&str>)
crates/tokscale-core/src/sessions/jcode.rs:55
↓ 2 callersFunctionpush_rate_limit_metrics
( metrics: &mut Vec<UsageMetric>, prefix: Option<&str>, rate_limit: &RateLimit, )
crates/tokscale-cli/src/commands/usage/codex.rs:1090
↓ 2 callersMethodquery_entries
Query entries filtered by date range and optional workspace/client.
crates/tokscale-core/src/wiki.rs:382
↓ 2 callersFunctionquota_bar_spans
( remaining_percent: f64, width: usize, color: Color, app: &App, )
crates/tokscale-cli/src/tui/ui/usage.rs:2472
↓ 2 callersFunctionread_crontab
()
crates/tokscale-cli/src/commands/autosubmit.rs:690
↓ 2 callersFunctionread_keychain
()
crates/tokscale-cli/src/commands/usage/claude.rs:53
↓ 2 callersFunctionread_lines
(path: pathlib.Path)
scripts/check-release-workflow-safety.py:30
↓ 2 callersFunctionread_store_from_path
(path: &Path)
crates/tokscale-core/src/message_cache.rs:552
↓ 2 callersMethodread_unlocked
( &self, repair_policy: StoreRepairPolicy, )
crates/tokscale-cli/src/commands/usage/codex.rs:322
↓ 2 callersFunctionread_variant_file
(variant_path: &Path)
crates/tokscale-core/src/cc_mirror.rs:13
↓ 2 callersMethodrebuild_filter
(&mut self)
crates/tokscale-cli/src/tui/ui/dialog/source_picker.rs:106
↓ 2 callersFunctionrecalculateDayTotals
( clientBreakdown: Record<string, ClientBreakdownData> )
packages/frontend/src/lib/db/helpers.ts:52
↓ 2 callersFunctionrecalculateIntensity
(contributions: DailyContribution[])
packages/frontend/src/lib/utils.ts:134
↓ 2 callersFunctionrecord_body
(value: &Value)
crates/tokscale-core/src/sessions/copilot.rs:618
↓ 2 callersMethodrecord_message
(&mut self, token_total: i64, duration_ms: Option<i64>)
crates/tokscale-core/src/lib.rs:209
↓ 2 callersMethodrefresh_derived_fields
(&mut self)
crates/tokscale-core/src/sessions/mod.rs:370
↓ 2 callersFunctionrefresh_token
(client: &reqwest::Client, rt: &str)
crates/tokscale-cli/src/commands/usage/codex.rs:970
↓ 2 callersFunctionrefresh_token
(client: &reqwest::Client, rt: &str)
crates/tokscale-cli/src/commands/usage/kimi.rs:131
↓ 2 callersFunctionremove_account
(name_or_id: &str, purge_cache: bool)
crates/tokscale-cli/src/cursor.rs:485
↓ 2 callersFunctionrender
(frame: &mut Frame, app: &mut App)
crates/tokscale-cli/src/tui/ui/mod.rs:23
↓ 2 callersFunctionrenderFlatBadge
(label: string, value: string, labelBg: string, valueBg: string)
packages/frontend/src/lib/embed/renderProfileBadgeSvg.ts:96
↓ 2 callersFunctionrenderFlatSquareBadge
(label: string, value: string, labelBg: string, valueBg: string)
packages/frontend/src/lib/embed/renderProfileBadgeSvg.ts:132
↓ 2 callersFunctionrenderStatsBox
( x: number, y: number, w: number, title: string, items: Array<{ value: string; label: string; sub?:
packages/frontend/src/lib/embed/renderIsometric3DSvg.ts:212
↓ 2 callersFunctionrender_body
(app: &mut App, width: u16, height: u16)
crates/tokscale-cli/src/tui/ui/daily.rs:601
↓ 2 callersFunctionrender_body
(app: &mut App, width: u16, height: u16)
crates/tokscale-cli/src/tui/ui/monthly.rs:604
↓ 2 callersFunctionrender_breakdown_panel
(frame: &mut Frame, app: &mut App, area: Rect)
crates/tokscale-cli/src/tui/ui/stats.rs:440
↓ 2 callersFunctionrender_header
(app: &mut App, width: u16)
crates/tokscale-cli/src/tui/ui/header.rs:157
↓ 2 callersFunctionrender_launchd_spec
(exe: &Path, settings: &AutosubmitSettings)
crates/tokscale-cli/src/commands/autosubmit.rs:450
↓ 2 callersFunctionrender_scheduler_spec
( scheduler: SchedulerKind, exe: &Path, settings: &AutosubmitSettings, )
crates/tokscale-cli/src/commands/autosubmit.rs:436
↓ 2 callersFunctionrender_stats_panel
(frame: &mut Frame, app: &App, area: Rect)
crates/tokscale-cli/src/tui/ui/stats.rs:195
↓ 2 callersFunctionrender_usage_status
(frame: &mut Frame, app: &mut App, area: Rect, outputs: &[UsageOutput])
crates/tokscale-cli/src/tui/ui/usage.rs:619
↓ 2 callersFunctionrendered_label_column
(rows: &[Vec<String>], label: &str)
crates/tokscale-cli/src/tui/ui/header.rs:173
↓ 2 callersFunctionreplace_cron_block
(existing: &str, block: &str)
crates/tokscale-cli/src/commands/autosubmit.rs:635
↓ 2 callersFunctionreported_total_tokens
(usage: &CodexTokenUsage)
crates/tokscale-core/src/sessions/codex.rs:918
↓ 2 callersFunctionreset_credit_account_line
( app: &App, output: &UsageOutput, credits: &crate::commands::usage::UsageResetCredits, select
crates/tokscale-cli/src/tui/ui/usage.rs:1420
↓ 2 callersFunctionreset_credit_count_label
(count: u32)
crates/tokscale-cli/src/tui/ui/usage.rs:2387
↓ 2 callersFunctionresolve_default_tui_filter_set
Resolve the filter set used by a no-`--client`-flag TUI launch. Mirrors the resolution that `build_client_filter` + `tui::run` perform when the user
crates/tokscale-cli/src/main.rs:5302
↓ 2 callersFunctionresolve_local_parse_request
( options: &LocalParseOptions, )
crates/tokscale-core/src/lib.rs:2388
↓ 2 callersFunctionresolve_token
Resolve the active `access_token` for the given variant. Handles expiration → refresh → fall back to decrypting `storage.json`.
crates/tokscale-cli/src/trae.rs:236
↓ 2 callersFunctionrestore_cache_env
( prev: ( Option<std::ffi::OsString>, Option<std::ffi::OsString>,
crates/tokscale-core/src/message_cache.rs:844
↓ 2 callersFunctionrestore_terminal
(terminal: &mut Terminal<CrosstermBackend<io::Stdout>>)
crates/tokscale-cli/src/tui/mod.rs:245
↓ 2 callersFunctionrestore_terminal_best_effort
()
crates/tokscale-cli/src/tui/mod.rs:235
↓ 2 callersFunctionretain_for_requested_clients
( client: &str, model_id: &str, provider_id: &str, requested: &HashSet<&str>, )
crates/tokscale-core/src/lib.rs:118
↓ 2 callersFunctionrevokePersonalToken
( userId: string, tokenId: string )
packages/frontend/src/lib/auth/personalTokens.ts:173
↓ 2 callersFunctionroleLabel
(role: string)
packages/frontend/src/app/(main)/groups/[slug]/GroupDetailClient.tsx:355
↓ 2 callersFunctionrunGraphGeneration
( implementation: "typescript" | "rust", syntheticPath?: string )
packages/benchmarks/runner.ts:230
↓ 2 callersFunctionrun_best_effort_cursor_sync_with_runtime_factory
(build_runtime: F)
crates/tokscale-cli/src/main.rs:1391
↓ 2 callersFunctionrun_command_output
(program: &str, args: &[&str])
crates/tokscale-cli/src/antigravity.rs:1447
↓ 2 callersFunctionrun_command_with_timeout
Spawn `cmd`, optionally write `stdin_bytes` to its stdin, and wait up to `timeout` for it to finish. Mirrors the pure-std spawn + reader-thread + `tr
crates/tokscale-cli/src/commands/report.rs:905
↓ 2 callersFunctionrun_submit_command
( clients: Option<Vec<String>>, since: Option<String>, until: Option<String>, year: Option<Str
crates/tokscale-cli/src/main.rs:4980
↓ 2 callersFunctionsandbox_cache_env
Pin every env var the cache resolvers consult so the test stays inside `temp_home`. CI runners can leak `XDG_CONFIG_HOME` / `XDG_CACHE_HOME` from the
crates/tokscale-core/src/message_cache.rs:823
↓ 2 callersFunctionsanitizeAuthReturnTo
(value: string | null | undefined)
packages/frontend/src/lib/auth/returnTo.ts:8
↓ 2 callersFunctionsaveSettings
(settings: Settings)
packages/frontend/src/lib/useSettings.ts:68
↓ 2 callersFunctionsave_account_from_auth
(auth: Auth, label: Option<&str>)
crates/tokscale-cli/src/commands/usage/codex.rs:770
↓ 2 callersFunctionsave_antigravity_manifest
(manifest: &AntigravityManifest)
crates/tokscale-cli/src/antigravity.rs:529
↓ 2 callersFunctionsave_auth_tokens
(path: &Path, tokens: &Tokens)
crates/tokscale-cli/src/commands/usage/codex.rs:437
↓ 2 callersFunctionsave_cache
(data: &[UsageOutput])
crates/tokscale-cli/src/commands/usage/mod.rs:288
↓ 2 callersFunctionsave_credentials
( path: &std::path::Path, access_token: &str, refresh_token: &str, expires_in: i64, )
crates/tokscale-cli/src/commands/usage/kimi.rs:96
↓ 2 callersFunctionsave_env
()
crates/tokscale-cli/src/device.rs:138
↓ 2 callersFunctionsave_star_cache
(username: &str, has_starred: bool)
crates/tokscale-cli/src/main.rs:4368
↓ 2 callersFunctionscan_filesystem_session_candidates
()
crates/tokscale-cli/src/antigravity.rs:1507
↓ 2 callersFunctionselectLockedUserId
(callIndex: number)
packages/frontend/__tests__/api/groupMemberRoleRoute.test.ts:158
↓ 2 callersFunctionserializeSqlCalls
()
packages/frontend/__tests__/api/usersProfile.test.ts:163
↓ 2 callersFunctionsession_id_from_path
(path: &Path)
crates/tokscale-core/src/sessions/codex.rs:225
↓ 2 callersFunctionsetSortByCookie
(sortBy: LeaderboardSortBy)
packages/frontend/src/lib/useSettings.ts:30
↓ 2 callersFunctionset_codex_dedup_key
( message: &mut UnifiedMessage, model: &str, upstream_session_id: &str, total_usage: Option<Co
crates/tokscale-core/src/sessions/codex.rs:844
↓ 2 callersMethodset_error
(&mut self, error: Option<String>)
crates/tokscale-cli/src/tui/app.rs:603
↓ 2 callersMethodset_theme
(&mut self, theme: ThemeName)
crates/tokscale-cli/src/tui/settings.rs:366
↓ 2 callersFunctionset_workspace_from_root
(message: &mut UnifiedMessage, root: Option<&str>)
crates/tokscale-core/src/sessions/opencode.rs:107
↓ 2 callersFunctionsetup_mock_claude_transcripts_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:1912
↓ 2 callersFunctionsetup_mock_codex_archived_dir
(base: &std::path::Path)
crates/tokscale-core/src/scanner.rs:1928
← previousnext →1,201–1,300 of 4,973, ranked by callers