MCPcopy Create free account

hub / github.com/junhoyeo/tokscale / functions

Functions4,973 in github.com/junhoyeo/tokscale

↓ 4 callersFunctionrandomChoice
(arr: T[])
packages/benchmarks/generate.ts:120
↓ 4 callersFunctionrandomTimestamp
(start: Date, end: Date)
packages/benchmarks/generate.ts:124
↓ 4 callersMethodremove
(name: &'static str)
crates/tokscale-cli/src/auth.rs:590
↓ 4 callersFunctionremove_account
Removes an account from tokscale's store only. The codex CLI's own `auth.json` is intentionally left untouched: rewriting it would silently re-log the
crates/tokscale-cli/src/commands/usage/codex.rs:1600
↓ 4 callersFunctionremove_account_from_store
( store: &mut CodexCredentialsStore, name_or_id: &str, )
crates/tokscale-cli/src/commands/usage/codex.rs:722
↓ 4 callersFunctionrenderGraphEmbedSvg
( data: UserEmbedStats, options: RenderGraphEmbedOptions = {}, )
packages/frontend/src/lib/embed/renderGraphEmbedSvg.ts:42
↓ 4 callersFunctionrenderProfileEmbedErrorSvg
( message: string, options: RenderProfileEmbedOptions = {} )
packages/frontend/src/lib/embed/renderProfileEmbedSvg.ts:302
↓ 4 callersFunctionrender_windows_task_spec
(exe: &Path, settings: &AutosubmitSettings)
crates/tokscale-cli/src/commands/autosubmit.rs:587
↓ 4 callersFunctionreset_credit_buckets
( credits: &crate::commands::usage::UsageResetCredits, )
crates/tokscale-cli/src/tui/ui/usage.rs:1461
↓ 4 callersFunctionresolve_account_id
(store: &CursorCredentialsStore, name_or_id: &str)
crates/tokscale-cli/src/cursor.rs:373
↓ 4 callersFunctionresolve_submit_device
()
crates/tokscale-cli/src/device.rs:28
↓ 4 callersMethodresolve_with_env_strategy
(&self, home_dir: &str, use_env_roots: bool)
crates/tokscale-core/src/clients.rs:13
↓ 4 callersFunctionrestore_env_var
(key: &str, value: Option<std::ffi::OsString>)
crates/tokscale-core/src/pricing/cache.rs:126
↓ 4 callersFunctionrevalidateUsernamePaths
(username: string)
packages/frontend/src/lib/db/usernameLookup.ts:40
↓ 4 callersFunctionrpc_request
(connection: &AntigravityConnection, method: &str, body: &Value)
crates/tokscale-cli/src/antigravity.rs:1695
↓ 4 callersFunctionrun
(command: string, args: string[], allowFailure = false)
scripts/generate-release-notes.ts:37
↓ 4 callersFunctionrunJson
(command: string, args: string[], allowFailure = false)
scripts/generate-release-notes.ts:52
↓ 4 callersMethodsave
(&self)
crates/tokscale-cli/src/tui/settings.rs:330
↓ 4 callersFunctionsave_credentials
(creds: &CachedCredentials)
crates/tokscale-cli/src/trae.rs:195
↓ 4 callersFunctionselect_local_parse_pricing
( fresh: Result<Arc<pricing::PricingService>, String>, stale: F, )
crates/tokscale-core/src/lib.rs:2361
↓ 4 callersFunctionsession
()
packages/frontend/__tests__/api/groupsPayloadGuard.test.ts:146
↓ 4 callersMethodset_background_loading
(&mut self, loading: bool)
crates/tokscale-cli/src/tui/app.rs:529
↓ 4 callersFunctionsetup_two_account_store
Helper: build a two-account credentials store in `home_dir`.
crates/tokscale-cli/src/cursor.rs:1910
↓ 4 callersFunctionsibling
(path: &Path, file_name: &str)
crates/tokscale-core/src/sessions/grok.rs:416
↓ 4 callersMethodstop
(mut self)
crates/tokscale-cli/src/main.rs:1645
↓ 4 callersFunctionstring_at
(value: &Value, path: &[&str])
crates/tokscale-cli/src/commands/usage/grok.rs:274
↓ 4 callersFunctionsubtract_overlap
Subtract `overlap` out of `value`, clamping both operands to non-negative and never going below zero. Mirrors `gemini.rs`'s `subtract_cached_overlap`
crates/tokscale-core/src/sessions/zcode.rs:233
↓ 4 callersFunctionsync_cursor_cache
()
crates/tokscale-cli/src/cursor.rs:1032
↓ 4 callersFunctiontimestamp_ms
(value: &str)
crates/tokscale-core/src/sessions/amp.rs:348
↓ 4 callersFunctiontimestamp_to_date_with_timezone
(timestamp_ms: i64, timezone: &Tz)
crates/tokscale-core/src/sessions/mod.rs:437
↓ 4 callersFunctiontoUtcDateString
(date: Date)
packages/frontend/src/lib/groups/getGroupLeaderboard.ts:60
↓ 4 callersFunctionto_safe_i64
(value: Option<&Value>)
crates/tokscale-cli/src/antigravity.rs:2130
↓ 4 callersFunctiontryRealpath
(p: string)
packages/cli/src/index.ts:193
↓ 4 callersFunctionusage_field
(value: &Value, field: &str)
crates/tokscale-core/src/sessions/zed.rs:295
↓ 4 callersFunctionusage_path
()
crates/tokscale-cli/src/warp.rs:92
↓ 4 callersFunctionvariant_file_path
(variant_dir: &Path)
crates/tokscale-core/src/cc_mirror.rs:18
↓ 4 callersMethodwith_lock
(&self, action: impl FnOnce(&Self) -> Result<T>)
crates/tokscale-cli/src/commands/usage/codex.rs:271
↓ 4 callersFunctionwithin_band
(actual_per_token: f64, official_per_mtok: f64)
crates/tokscale-core/tests/anthropic_catalog.rs:139
↓ 4 callersFunctionwrite_junie_session
(home: &Path, session_id: &str, events: &str)
crates/tokscale-core/tests/junie.rs:12
↓ 4 callersFunctionwrite_pricing_cache
(base: &Path, timestamp: u64)
crates/tokscale-cli/tests/cli_tests.rs:498
↓ 4 callersFunctionwrite_session_artifact
(session_id: &str, contents: &str)
crates/tokscale-cli/src/antigravity.rs:536
↓ 4 callersFunctionwrite_settings_json
(base: &Path, body: &str)
crates/tokscale-cli/tests/cli_tests.rs:577
↓ 3 callersFunctionadminInvite
()
packages/frontend/__tests__/lib/groupInvitesDemotedInviter.test.ts:171
↓ 3 callersFunctionappend_path_suffix
(path: &Path, suffix: &str)
crates/tokscale-core/src/message_cache.rs:687
↓ 3 callersFunctionapplyEmbedColor
(palette: ThemePalette, color: EmbedColorName | null)
packages/frontend/src/lib/embed/embedShared.ts:205
↓ 3 callersFunctionarcPath
(cx: number, cy: number, r: number, startDeg: number, endDeg: number)
packages/frontend/src/lib/embed/embedShared.ts:342
↓ 3 callersFunctionassert_cost_matches
(actual: f64, expected: f64)
crates/tokscale-cli/src/tui/data/mod.rs:1350
↓ 3 callersFunctionauth_from_account
(account: &CodexAccount)
crates/tokscale-cli/src/commands/usage/codex.rs:953
↓ 3 callersFunctionautosubmit_log_path
()
crates/tokscale-cli/src/commands/autosubmit.rs:723
↓ 3 callersFunctionbackdate_file
Helper: backdate a file's mtime by `secs` seconds. Returns `false` if the platform refuses to set mtime (exotic FS), signalling the caller to skip the
crates/tokscale-cli/src/cursor.rs:1945
↓ 3 callersFunctionbest_fallback_output
(outputs: &[UsageOutput])
crates/tokscale-cli/src/tui/ui/usage.rs:2210
↓ 3 callersFunctionbuildLeaderboardViewHref
( searchParams: LeaderboardSearchParams, view: LeaderboardView )
packages/frontend/src/app/(main)/leaderboard/ViewSelector.tsx:92
↓ 3 callersFunctionbuild_contribution_graph_for_today
(daily: &[DailyUsage], today: NaiveDate)
crates/tokscale-cli/src/tui/data/mod.rs:1009
↓ 3 callersFunctionbuild_cursor_http_client
()
crates/tokscale-cli/src/cursor.rs:23
↓ 3 callersFunctionbuild_gen_metadata
()
crates/tokscale-core/src/sessions/antigravity_cli.rs:412
↓ 3 callersFunctionc
(v: number)
packages/frontend/src/lib/embed/renderIsometric3DSvg.ts:30
↓ 3 callersFunctioncache_path
()
crates/tokscale-cli/src/commands/usage/mod.rs:280
↓ 3 callersMethodcall
(self)
crates/tokscale-cli/src/commands/usage/mod.rs:334
↓ 3 callersFunctioncandidate_response_ids
( candidates: &[CopilotUsageCandidate], source: CopilotUsageSource, )
crates/tokscale-core/src/sessions/copilot.rs:353
↓ 3 callersFunctioncandidate_trace_contexts
( candidates: &[CopilotUsageCandidate], source: CopilotUsageSource, )
crates/tokscale-core/src/sessions/copilot.rs:342
↓ 3 callersFunctioncentered_rect
(area: Rect, height: u16)
crates/tokscale-cli/src/tui/ui/usage.rs:504
↓ 3 callersFunctionclaude_family
The Claude family token contained in `lower`, if any.
crates/tokscale-core/src/pricing/lookup.rs:1421
↓ 3 callersFunctionclearSession
()
packages/frontend/src/lib/auth/session.ts:97
↓ 3 callersFunctionclear_credentials
()
crates/tokscale-cli/src/auth.rs:152
↓ 3 callersMethodclose
Close the topmost dialog
crates/tokscale-cli/src/tui/ui/dialog/stack.rs:43
↓ 3 callersMethodcodex_account_label
(&self, account_id: &str)
crates/tokscale-cli/src/tui/app.rs:1259
↓ 3 callersFunctioncodex_login_failure_message_from_output
(status: &str, output_lines: &[String])
crates/tokscale-cli/src/tui/codex_login.rs:239
↓ 3 callersFunctioncodex_store_path
()
crates/tokscale-cli/src/commands/usage/codex.rs:230
↓ 3 callersFunctioncollect_skill_mcp_names
(skills_dir: &Path, names: &mut BTreeSet<String>)
crates/tokscale-core/src/mcp.rs:80
↓ 3 callersFunctioncollect_task_usage_metrics
(value: &Value, metrics: &mut Vec<UsageMetric>)
crates/tokscale-cli/src/commands/usage/grok.rs:399
↓ 3 callersFunctioncompute_daily_active_time_with_timezone
( intervals: &[SessionInterval], timezone: &Tz, )
crates/tokscale-core/src/sessionize.rs:291
↓ 3 callersFunctioncopilot_exporter_path_with_env_strategy
(use_env_roots: bool)
crates/tokscale-core/src/scanner.rs:226
↓ 3 callersFunctioncopyToClipboard
(value: string, label: string)
packages/frontend/src/components/profile/ProfileEmbedDialog.tsx:100
↓ 3 callersFunctioncreateRequest
(headers: Record<string, string> = { Origin: "http://localhost:3000" })
packages/frontend/__tests__/api/deviceAuthorizeCsrf.test.ts:98
↓ 3 callersFunctioncreateRequest
(headers: Record<string, string> = { Origin: "http://localhost:3000" })
packages/frontend/__tests__/api/settingsDeviceRenameCsrf.test.ts:100
↓ 3 callersFunctioncreate_conflicting_codex_fixture_dir
()
crates/tokscale-cli/tests/cli_tests.rs:416
↓ 3 callersFunctioncreate_conflicting_opencode_fixture_dir
()
crates/tokscale-cli/tests/cli_tests.rs:388
↓ 3 callersFunctioncreate_fake_codex_bin
()
crates/tokscale-cli/tests/cli_tests.rs:124
↓ 3 callersFunctioncreate_hermes_sqlite_db
(db_path: &std::path::Path)
crates/tokscale-core/src/lib.rs:3467
↓ 3 callersFunctioncreate_project_file
( content: &str, project: &str, filename: &str, )
crates/tokscale-core/src/sessions/claudecode.rs:1485
↓ 3 callersFunctioncreate_session_files
( dir: &TempDir, stem: &str, json: &str, jsonl: &str, )
crates/tokscale-core/src/sessions/kiro.rs:1060
↓ 3 callersFunctioncreate_test_db
(dir: &TempDir)
crates/tokscale-core/tests/hermes.rs:5
↓ 3 callersFunctioncreate_test_index
(dir: &TempDir, content: &str)
crates/tokscale-core/src/sessions/openclaw.rs:429
↓ 3 callersFunctioncreate_threads_db
(dir: &TempDir)
crates/tokscale-core/src/sessions/zed.rs:361
↓ 3 callersFunctioncredits_status_line
(output: &UsageOutput)
crates/tokscale-cli/src/tui/ui/usage.rs:2425
↓ 3 callersFunctioncreds_path
(variant: TraeVariant)
crates/tokscale-cli/src/trae.rs:178
↓ 3 callersFunctioncursor_credentials_path
(home_dir: &Path)
crates/tokscale-cli/src/cursor.rs:34
↓ 3 callersFunctioncursor_setup_warning_for_wrapped
( explicit_cursor: bool, include_cursor_in_graph: bool, cursor_logged_in: bool, )
crates/tokscale-cli/src/commands/wrapped.rs:3029
↓ 3 callersFunctioncursor_usage_cache_file_is_fresh
(path: &Path, max_age: Duration)
crates/tokscale-cli/src/cursor.rs:703
↓ 3 callersFunctiondate_diff_days
(date1: &str, date2: &str)
crates/tokscale-cli/src/commands/wrapped.rs:1385
↓ 3 callersFunctiondecide_initial_data
(load_result: CacheResult)
crates/tokscale-cli/src/tui/mod.rs:51
↓ 3 callersFunctiondecode_jwt_payload
Decode the JWT payload (second `.`-separated segment) as JSON. JWTs use unpadded base64url per RFC 7519. The previous implementation appended `===` a
crates/tokscale-cli/src/trae.rs:502
↓ 3 callersFunctiondefault_clients
()
crates/tokscale-cli/src/commands/wrapped.rs:1885
↓ 3 callersMethoddefault_host
(&self)
crates/tokscale-cli/src/trae.rs:108
↓ 3 callersFunctiondefault_submit_clients
()
crates/tokscale-cli/src/main.rs:1449
↓ 3 callersFunctiondisplay_metric
(output: &UsageOutput)
crates/tokscale-cli/src/tui/ui/usage.rs:2232
↓ 3 callersFunctiondisplay_name
Display name for a `ClientFilter` row in the picker. Delegates to the existing `client_ui` registry for `ClientId`-backed variants and adds the meta-c
crates/tokscale-cli/src/tui/ui/dialog/source_picker.rs:269
↓ 3 callersFunctiondrain_usage_fetch
(app: &mut App)
crates/tokscale-cli/src/tui/app.rs:2863
↓ 3 callersFunctionduration_between_ms
(start_ms: Option<i64>, end_ms: Option<i64>)
crates/tokscale-core/src/sessions/kiro.rs:311
↓ 3 callersFunctionenv
(pairs: &[(&str, &str)])
crates/tokscale-cli/src/tui/themes.rs:330
← previousnext →601–700 of 4,973, ranked by callers