MCPcopy Create free account

hub / github.com/junhoyeo/tokscale / functions

Functions4,973 in github.com/junhoyeo/tokscale

↓ 3 callersFunctionenv_value
(name: &str)
crates/tokscale-cli/src/device.rs:67
↓ 3 callersFunctionepoch_ms_to_iso
(ms: i64)
crates/tokscale-cli/src/trae.rs:472
↓ 3 callersMethodexact_match_openrouter_with_provider
( &self, model_id: &str, provider_id: Option<&str>, )
crates/tokscale-core/src/pricing/lookup.rs:866
↓ 3 callersFunctionexact_match_with_provider_prefixes
( model_id: &str, provider_id: Option<&str>, key_parts: &[KeyModelPart], dataset: &HashMap<Str
crates/tokscale-core/src/pricing/lookup.rs:2121
↓ 3 callersFunctionexceedsTolerance
( actual: number, expected: number, relativeTolerance: number, absoluteTolerance: number )
packages/frontend/src/lib/validation/submission.ts:209
↓ 3 callersFunctionextract_claude_model
(value: &Value)
crates/tokscale-core/src/sessions/claudecode.rs:1258
↓ 3 callersFunctionextract_claude_provider
(value: &Value)
crates/tokscale-core/src/sessions/claudecode.rs:1266
↓ 3 callersFunctionextract_claude_timestamp
(value: &Value)
crates/tokscale-core/src/sessions/claudecode.rs:1386
↓ 3 callersFunctionextract_tag_value
(block: &str, tag: &str)
crates/tokscale-core/src/sessions/roocode.rs:150
↓ 3 callersFunctionextract_timestamp_from_value
(value: &Value)
crates/tokscale-core/src/sessions/gemini.rs:610
↓ 3 callersFunctionfetch_inner
(url: &str, use_cache: bool)
crates/tokscale-core/src/pricing/models_dev.rs:51
↓ 3 callersFunctionfetch_to_file
(client: &reqwest::Client, url: &str, path: &Path)
crates/tokscale-cli/src/commands/wrapped.rs:1221
↓ 3 callersFunctionfetch_with_auth
( auth: Auth, source: CredentialSource, provider_name: String, account: Option<UsageAccount>,
crates/tokscale-cli/src/commands/usage/codex.rs:1278
↓ 3 callersFunctionfile_modified_ms
(path: &Path)
crates/tokscale-cli/src/antigravity.rs:1645
↓ 3 callersFunctionfinalize_codex_messages
( mut messages: Vec<UnifiedMessage>, pricing: Option<&pricing::PricingService>, is_hea
crates/tokscale-core/src/lib.rs:598
↓ 3 callersFunctionfinalize_headless_state
( state: &mut ClaudeHeadlessState, session_id: &str, fallback_timestamp: i64, client_id: &str,
crates/tokscale-core/src/sessions/claudecode.rs:1409
↓ 3 callersFunctionfind_used_percents
Collect all `(\d+(\.\d+)?)% used` percentages in document order. The number immediately preceding `%` is parsed in full as an `f64`, INCLUDING a sing
crates/tokscale-cli/src/commands/usage/sakana.rs:210
↓ 3 callersFunctionfirst_existing_legacy_wrapped_cache_file
(subdir: &str, filename: &str)
crates/tokscale-cli/src/commands/wrapped.rs:1272
↓ 3 callersFunctionfirst_present
(values: &[Option<i64>])
crates/tokscale-core/src/sessions/tencent_buddy.rs:127
↓ 3 callersFunctionflush_pending_model_messages_as_unknown
( pending_model_messages: &mut Vec<(UnifiedMessage, bool)>, messages: &mut Vec<UnifiedMessage>, fa
crates/tokscale-core/src/sessions/codex.rs:879
↓ 3 callersFunctionformatContributionDate
(contrib: { date: string; timestampMs?: number | null })
packages/frontend/src/lib/date-utils.ts:24
↓ 3 callersFunctionformatDuration
(ms: number | null | undefined)
packages/frontend/src/lib/format.ts:81
↓ 3 callersFunctionformatShortDate
(dateStr: string)
packages/frontend/src/lib/embed/renderIsometric3DSvg.ts:149
↓ 3 callersFunctionformatTokens
(value: number)
packages/frontend/src/lib/db/helpers.ts:84
↓ 3 callersFunctionformat_model_name
(model: &str)
crates/tokscale-cli/src/main.rs:3507
↓ 3 callersFunctiongemini_user_text
Pull the first non-empty user message out of a parsed Gemini message object. Gemini chat recordings store user turns as `{"type":"user","content":"...
crates/tokscale-core/src/content_extractor.rs:211
↓ 3 callersFunctiongenerateMessageId
()
packages/benchmarks/generate.ts:132
↓ 3 callersFunctiongenerate_graph_result
Generate complete graph result
crates/tokscale-core/src/aggregator.rs:190
↓ 3 callersFunctiongenerate_graph_with_loaded_pricing
( options: ReportOptions, pricing: Option<&pricing::PricingService>, )
crates/tokscale-core/src/lib.rs:2172
↓ 3 callersFunctiongetCSSVar
(varName: string)
packages/frontend/src/components/TokenGraph2D.tsx:33
↓ 3 callersFunctiongetSessionFromHeader
( request: Request )
packages/frontend/src/lib/auth/session.ts:132
↓ 3 callersFunctiongetUserEmbedContributions
(username: string)
packages/frontend/src/lib/embed/getUserEmbedStats.ts:170
↓ 3 callersFunctionget_cache_dir
()
crates/tokscale-core/src/pricing/cache.rs:8
↓ 3 callersFunctionget_empty_message
(app: &App)
crates/tokscale-cli/src/tui/ui/agents.rs:195
↓ 3 callersFunctionget_model_color
(model: &str)
crates/tokscale-cli/src/tui/ui/widgets.rs:155
↓ 3 callersFunctionget_phase_message
(phase: &str)
crates/tokscale-cli/src/tui/ui/spinner.rs:84
↓ 3 callersFunctionget_scanner_spans
(frame: usize, theme: &Theme)
crates/tokscale-cli/src/tui/ui/spinner.rs:52
↓ 3 callersMethodget_sorted_daily_detail_rows
(&self)
crates/tokscale-cli/src/tui/app.rs:2275
↓ 3 callersFunctiongjc_cmd_with_home
Build a Command that uses HOME=tmp AND removes gjc-related env overrides so the scanner uses only the home-derived ~/.gjc/agent/sessions path.
crates/tokscale-cli/tests/cli_tests.rs:3002
↓ 3 callersFunctiongroup
()
packages/frontend/__tests__/api/groupInviteCacheControl.test.ts:75
↓ 3 callersFunctiongroup_outputs_by_provider
(outputs: &[UsageOutput])
crates/tokscale-cli/src/tui/ui/usage.rs:2088
↓ 3 callersFunctionhandleCopyCommand
(command: string)
packages/frontend/src/app/(main)/leaderboard/LeaderboardClient.tsx:1227
↓ 3 callersFunctionhashGroupInviteToken
(token: string)
packages/frontend/src/lib/groups/utils.ts:61
↓ 3 callersFunctionhash_prefix
(path: &Path, len: u64)
crates/tokscale-core/src/message_cache.rs:693
↓ 3 callersFunctionheadless_capture_command
(fake_bin: &Path, output_path: &Path, mode: &str)
crates/tokscale-cli/tests/cli_tests.rs:162
↓ 3 callersFunctionhttps_rpc_request
( connection: &AntigravityConnection, method: &str, body: &Value, )
crates/tokscale-cli/src/antigravity.rs:1706
↓ 3 callersFunctioninsert_hermes_session
( conn: &rusqlite::Connection, id: &str, model: &str, message_count: i64,
crates/tokscale-core/src/lib.rs:3533
↓ 3 callersFunctioninsert_thread
( conn: &Connection, id: &str, json: &str, data_type: &str, updated_at
crates/tokscale-core/src/sessions/zed.rs:404
↓ 3 callersFunctioninterpret_delete_submitted_data_response
( status: reqwest::StatusCode, body: &serde_json::Value, )
crates/tokscale-cli/src/main.rs:4302
↓ 3 callersMethodinto_message
(self, metadata: &GrokMetadata)
crates/tokscale-core/src/sessions/grok.rs:62
↓ 3 callersFunctionisGroupRole
(role: unknown)
packages/frontend/src/lib/groups/utils.ts:17
↓ 3 callersFunctionisLegacyTokenlessCursorClient
(client: ClientLike)
packages/frontend/src/lib/validation/submission.ts:237
↓ 3 callersMethodis_active
Check if any dialog is open
crates/tokscale-cli/src/tui/ui/dialog/stack.rs:58
↓ 3 callersFunctionis_extension_log_source
(path: &Path)
crates/tokscale-core/src/sessions/tencent_buddy.rs:377
↓ 3 callersFunctionis_fuzzy_eligible
(model_id: &str)
crates/tokscale-core/src/pricing/lookup.rs:1749
↓ 3 callersFunctionis_original_provider
(key: &str)
crates/tokscale-core/src/pricing/lookup.rs:1898
↓ 3 callersFunctionis_valid_price_value
(value: f64)
crates/tokscale-core/src/pricing/lookup.rs:1603
↓ 3 callersFunctionissuePersonalTokenInTransaction
( tx: PersonalTokenDb, { userId, name, expiresAt = null, ensureUniqueName = false, }: Is
packages/frontend/src/lib/auth/personalTokens.ts:97
↓ 3 callersFunctionjob_block
(lines: list[str], job_name: str)
scripts/check-release-workflow-safety.py:61
↓ 3 callersFunctionkiro_global_storage_workspace
Extract the workspace folder name from a Kiro globalStorage path. Snapshots live under `.../globalStorage/kiro.kiroagent/<workspace>/...`, so the wor
crates/tokscale-core/src/sessions/kiro.rs:350
↓ 3 callersFunctionlistUserGroups
(userId: string, page: number, limit: number)
packages/frontend/src/lib/groups/queries.ts:75
↓ 3 callersFunctionload_cache_any_age
(filename: &str)
crates/tokscale-core/src/pricing/cache.rs:58
↓ 3 callersFunctionload_credentials
(variant: TraeVariant)
crates/tokscale-cli/src/trae.rs:215
↓ 3 callersFunctionload_rgba_image
(path: &Path)
crates/tokscale-cli/src/commands/wrapped.rs:1249
↓ 3 callersFunctionlooks_like_email
(value: &str)
crates/tokscale-cli/src/tui/privacy.rs:1
↓ 3 callersMethodlookup_with_key
(&self, model_id: &str)
crates/tokscale-core/src/pricing/custom.rs:244
↓ 3 callersFunctionmake_app
App with two days of hourly data (3 hours on 05-29, 2 on 05-28), sorted newest-first like the live default.
crates/tokscale-cli/src/tui/ui/hourly.rs:381
↓ 3 callersFunctionmake_app_on
(tab: Tab)
crates/tokscale-cli/src/tui/ui/footer.rs:409
↓ 3 callersFunctionmake_msg
(client: &str, session_id: &str, timestamp: i64)
crates/tokscale-core/src/sessionize.rs:388
↓ 3 callersMethodmark_active_codex_account
(&mut self, active_account_id: &str)
crates/tokscale-cli/src/tui/app.rs:1447
↓ 3 callersMethodmatches
(&self, other: &Self)
crates/tokscale-cli/src/commands/usage/codex.rs:507
↓ 3 callersFunctionmatches_provider_hint_with_tags
(dataset_key: &str, hint_tags: &[String])
crates/tokscale-core/src/provider_identity.rs:96
↓ 3 callersFunctionmatrix_settings
(lines: list[str], job_name: str)
scripts/check-release-workflow-safety.py:78
↓ 3 callersFunctionmerge_summary
(merged: &mut HashMap<String, TrajectorySummary>, summary: TrajectorySummary)
crates/tokscale-cli/src/antigravity.rs:1498
↓ 3 callersFunctionmetadata_only_content
(session_id: &str, client: &str)
crates/tokscale-core/src/content_extractor.rs:283
↓ 3 callersFunctionmetricCard
(args: { x: number; y: number; width: number; height: number; label: string; value: string; acce
packages/frontend/src/lib/embed/renderProfileEmbedSvg.ts:52
↓ 3 callersFunctionmetric_color
(app: &App, metric: &UsageMetric)
crates/tokscale-cli/src/tui/ui/usage.rs:2462
↓ 3 callersFunctionmicode_timestamp_to_ms
Normalize an epoch `time.created`/`time.completed` value to milliseconds. MiMo Code is expected to store epoch milliseconds (matching OpenCode), but
crates/tokscale-core/src/sessions/micode.rs:141
↓ 3 callersFunctionmockBrowserSessionOnly
()
packages/frontend/__tests__/api/groupsPayloadGuard.test.ts:150
↓ 3 callersFunctionmodel_color_key
(group_by: &GroupBy, _provider_id: &str, model: &str)
crates/tokscale-cli/src/tui/data/mod.rs:251
↓ 3 callersFunctionnext_proto_field
(data: &'a [u8], pos: &mut usize)
crates/tokscale-cli/src/commands/usage/grok.rs:453
↓ 3 callersFunctionnon_negative_i64
(value: Option<i64>)
crates/tokscale-core/src/sessions/warp.rs:126
↓ 3 callersFunctionnon_negative_i64
(value: Option<&Value>)
crates/tokscale-core/src/sessions/grok.rs:222
↓ 3 callersFunctionnormalize_cached_agents
(agents: Vec<CachedAgentUsage>)
crates/tokscale-cli/src/tui/cache.rs:652
↓ 3 callersFunctionnormalize_crush_timestamp_ms
(raw: i64)
crates/tokscale-core/src/sessions/crush.rs:215
↓ 3 callersFunctionnormalize_session_metadata
(session_id: &str, metadata: &[Value])
crates/tokscale-cli/src/antigravity.rs:2061
↓ 3 callersFunctionnormalize_zcode_input_and_output
ZCode's `model_usage` rows report `input_tokens` and `output_tokens` as cache/reasoning-inclusive: `input_tokens` already contains `cache_read_input_t
crates/tokscale-core/src/sessions/zcode.rs:258
↓ 3 callersFunctionnormalized_token_value
(value: Option<&str>)
crates/tokscale-cli/src/commands/usage/codex.rs:530
↓ 3 callersFunctionnumber_field
(value: &Value, field: &str)
crates/tokscale-core/src/sessions/junie.rs:243
↓ 3 callersFunctionold_cursor_credentials_path
(home_dir: &Path)
crates/tokscale-cli/src/cursor.rs:38
↓ 3 callersFunctionoptional_column
(columns: &HashSet<String>, column: &'static str)
crates/tokscale-core/src/sessions/zed.rs:112
↓ 3 callersFunctionparse_chatgpt_json_response
(resp: reqwest::Response, request_label: &str)
crates/tokscale-cli/src/commands/usage/codex.rs:996
↓ 3 callersFunctionparse_chunk_size_line
(size_line: &str)
crates/tokscale-cli/src/antigravity.rs:1943
↓ 3 callersFunctionparse_claude_file_with_cache_and_home
( path: &Path, parent_cache: &mut ParentSubagentTypeCache, home_dir: Option<&Path>, )
crates/tokscale-core/src/sessions/claudecode.rs:326
↓ 3 callersFunctionparse_cline_file
(path: &Path)
crates/tokscale-core/src/sessions/cline.rs:11
↓ 3 callersFunctionparse_codex_reader
( mut reader: R, session_id: &str, fallback_timestamp: i64, start_offset: u64, mut state:
crates/tokscale-core/src/sessions/codex.rs:265
↓ 3 callersFunctionparse_csv_line
Simple CSV line parser that handles quoted fields
crates/tokscale-core/src/sessions/cursor.rs:199
↓ 3 callersFunctionparse_date
(date_str: &str)
crates/tokscale-cli/src/tui/data/mod.rs:938
↓ 3 callersFunctionparse_full_log_source
( path: &Path, pricing: Option<&pricing::PricingService>, is_headless: bool, )
crates/tokscale-core/src/lib.rs:549
↓ 3 callersFunctionparse_kilo_sqlite
(db_path: &Path)
crates/tokscale-core/src/sessions/kilo.rs:53
← previousnext →701–800 of 4,973, ranked by callers