MCPcopy Create free account

hub / github.com/1jehuang/jcode / functions

Functions23,343 in github.com/1jehuang/jcode

↓ 7 callersFunctionwait_for_member_presence
( client: &mut RawClient, requester_session: &str, target_session: &str, )
crates/jcode-app-core/src/tool/communicate_tests.rs:1579
↓ 7 callersMethodwith_trust
(mut self, trust: TrustLevel)
crates/jcode-memory-types/src/lib.rs:393
↓ 7 callersFunctionwrite_markdown_page
( session_id: &str, page_id: &str, title: Option<&str>, content: &str, focus: bool, )
crates/jcode-base/src/side_panel.rs:15
↓ 7 callersMethodwrite_status_file
(&self, path: &std::path::Path, status: &TaskStatusFile)
crates/jcode-base/src/background.rs:133
↓ 6 callersFunctionaccept_first_requesting_client
( listener: &UnixListener, )
crates/jcode-desktop/src/session_launch/tests.rs:1165
↓ 6 callersFunctionact
(v: Value)
crates/jcode-app-core/src/tool/computer/coverage_tests.rs:24
↓ 6 callersFunctionactive_pids_dir
Directory holding one file per active session ID (`~/.jcode/active_pids`).
crates/jcode-storage/src/active_pids.rs:13
↓ 6 callersFunctionactive_runtime_provider_key
()
crates/jcode-tui/src/tui/app.rs:116
↓ 6 callersMethodadd_session_to_current_workspace
(&mut self, tile: WorkspaceSessionTile)
crates/jcode-tui-workspace/src/workspace_map.rs:146
↓ 6 callersFunctionadvance_shared_server_if_tracking_stable
Advance the `shared-server` channel to `version`, but only when it is currently tracking `stable` (see [`shared_server_tracks_stable`]). Returns `Ok(t
crates/jcode-build-support/src/lib.rs:762
↓ 6 callersFunctionalign_if_unset
Set alignment on a line only if it doesn't already have one set. This allows markdown rendering to mark code blocks as left-aligned while other conten
crates/jcode-tui-render/src/chrome.rs:85
↓ 6 callersMethodall_tools
Get all available tools from all connected servers
crates/jcode-base/src/mcp/pool.rs:214
↓ 6 callersFunctionambient_dir
()
crates/jcode-app-core/src/ambient/paths.rs:10
↓ 6 callersMethodanimation_elapsed
(&self)
crates/jcode-tui/src/tui/ui_tests/mod.rs:340
↓ 6 callersFunctionappend_batch_progress_spans
( spans: &mut Vec<Span<'static>>, anim_color: Color, batch_prog: Option<crate::bus::BatchProgress>
crates/jcode-tui/src/tui/ui_input.rs:639
↓ 6 callersFunctionappend_child_vertices_to_parent_with_opacity
( vertices: &mut Vec<Vertex>, child_vertices: &[Vertex], child_size: PhysicalSize<u32>, rect:
crates/jcode-desktop/src/workspace_vertices.rs:280
↓ 6 callersFunctionapply_desktop_session_event_batch_with_stats
( app: &mut DesktopApp, events: Vec<session_launch::DesktopSessionEvent>, )
crates/jcode-desktop/src/desktop_events_glue.rs:489
↓ 6 callersFunctionapply_streaming_tail_fade
Re-segment the trailing `tail_fade_chars` characters into per-character runs with a rising alpha ramp toward the end of the text. This is the streamin
crates/jcode-desktop/src/single_session_render/text_style.rs:250
↓ 6 callersMethodauth
(&self, req: reqwest::RequestBuilder)
crates/jcode-app-core/src/server/jade_relay.rs:55
↓ 6 callersFunctionauth_test_choice_plan
( choice: &super::provider_init::ProviderChoice, model: Option<&str>, )
src/cli/auth_test/choice.rs:18
↓ 6 callersFunctionauto_default_provider
(availability: ProviderAvailability)
crates/jcode-provider-core/src/selection.rs:44
↓ 6 callersFunctionbegin_or_replay
( runtime: &SwarmMutationRuntime, key: &str, action: &str, session_id: &str, request_id: u
crates/jcode-app-core/src/server/swarm_mutation_state.rs:154
↓ 6 callersMethodbelow
(&mut self, n: usize)
crates/jcode-tui-markdown/src/render_core_adapter_tests.rs:281
↓ 6 callersFunctionblank_styled_line
()
crates/jcode-desktop/src/single_session.rs:1548
↓ 6 callersFunctionbridge_command
(action: &str, params: Value)
crates/jcode-provider-openai-runtime/src/chatgpt_web.rs:747
↓ 6 callersFunctionbuffer_to_text
Extract plain text from a TestBackend buffer after rendering.
crates/jcode-tui/src/tui/app/tests/scroll_copy_01/part_01.rs:5
↓ 6 callersFunctionbuild_claude_exchange_request
( code: &str, verifier: &str, redirect_uri: &str, state: Option<&str>, )
crates/jcode-base/src/auth/oauth.rs:1332
↓ 6 callersFunctionbuild_run_auto_poke_follow_up_from_todos
( todos: &[crate::todo::TodoItem], confidence_spike_challenged: bool, )
src/cli/commands.rs:2594
↓ 6 callersFunctionbuild_tools
(tools: &[ToolDefinition])
crates/jcode-provider-gemini/src/lib.rs:373
↓ 6 callersFunctionbuild_vertices_into
( params: WorkspaceVertexBuildParams<'_>, vertices: &mut Vec<Vertex>, )
crates/jcode-desktop/src/workspace_vertices.rs:625
↓ 6 callersFunctioncache_ttl_for_provider_model
Get the prompt cache TTL in seconds for a given provider/model pair. This is provider cache-retention policy: it depends only on provider families (a
crates/jcode-base/src/provider/mod.rs:2774
↓ 6 callersFunctioncandidate
(path: &str)
crates/jcode-app-core/src/server/util.rs:592
↓ 6 callersFunctioncanonical
Canonical lowercase key: trimmed, ASCII-lowercased, `[1m]` stripped. Use this whenever model ids are compared or used as map keys across subsystem bo
crates/jcode-provider-core/src/model_id.rs:35
↓ 6 callersMethodcascade_retrieve
Perform BFS cascade retrieval starting from seed memories Starting from embedding search hits (seeds), traverse through the graph via tags and other
crates/jcode-memory-types/src/graph.rs:546
↓ 6 callersFunctioncfg
(command: &str, args: &[&str])
crates/jcode-base/src/mcp/schema_cache_tests.rs:8
↓ 6 callersMethodcheck_and_apply_compaction_with
Check if background compaction is done and apply it, updating rolling token-estimate state from the provided full message list.
crates/jcode-base/src/compaction.rs:1143
↓ 6 callersFunctioncheck_process_tree
Check all threads in a process group (for cases where a child is the one reading)
crates/jcode-core/src/stdin_detect.rs:83
↓ 6 callersFunctioncheckpoint_catalog_metadata
()
crates/jcode-base/src/live_tests.rs:320
↓ 6 callersFunctioncircle
(x, y, r, fill, stroke = null, width = 1)
assets/demos/pelican-bike/pelican.js:81
↓ 6 callersFunctionclamp_display_col
(text: &str, display_col: usize)
crates/jcode-tui/src/tui/ui/display_width.rs:21
↓ 6 callersFunctionclamp_outbound_images
Inspect `messages` and, if any `ContentBlock::Image` exceeds the per-image edge limit implied by the total image count, or the per-image base64 byte c
crates/jcode-base/src/provider/image_clamp.rs:58
↓ 6 callersFunctionclamp_side_panel_image_rows
( estimated_rows: u16, inner_height: u16, _lines_before_image: usize, has_following_content: b
crates/jcode-tui/src/tui/ui_pinned_layout.rs:384
↓ 6 callersFunctionclaude_redirect_uri_for_input
(input: &str, fallback_redirect_uri: &str)
crates/jcode-base/src/auth/oauth.rs:604
↓ 6 callersMethodclear
Clear conversation history
crates/jcode-app-core/src/agent/turn_execution.rs:146
↓ 6 callersFunctionclear_all_model_unavailability_for_account
Clear all runtime model unavailability markers.
crates/jcode-base/src/provider/models.rs:952
↓ 6 callersMethodclear_display_messages
(&mut self)
crates/jcode-tui/src/tui/app/state_ui_messages.rs:360
↓ 6 callersFunctionclear_image_state
Clear image state (call on app exit to free memory)
crates/jcode-tui-mermaid/src/lib.rs:1443
↓ 6 callersFunctionclear_side_panel_render_caches
()
crates/jcode-tui/src/tui/mod.rs:1869
↓ 6 callersFunctionclear_side_panel_render_caches
()
crates/jcode-tui/src/tui/ui_pinned_tests.rs:4
↓ 6 callersMethodcollapse_reasoning_for_commit
In `current` reasoning display mode, reasoning is shown live but collapsed once the assistant commits a message or runs a tool. Strip any reasoning-ma
crates/jcode-tui/src/tui/app/input.rs:3200
↓ 6 callersFunctioncollect_events_until_done
( client_event_rx: &mut mpsc::UnboundedReceiver<ServerEvent>, done_id: u64, )
crates/jcode-app-core/src/server/client_session_tests.rs:192
↓ 6 callersFunctioncollect_files_recursive
(root: &Path, extension: &str)
crates/jcode-import-core/src/lib.rs:377
↓ 6 callersFunctioncollect_until_done_unix
( client: &mut server::Client, target_id: u64, )
tests/e2e/test_support/mod.rs:425
↓ 6 callersFunctioncommand_exists
(command: &str)
crates/jcode-base/src/auth/commands.rs:5
↓ 6 callersMethodcompact
(&self)
crates/jcode-render-core/src/math.rs:62
↓ 6 callersMethodcompacted_hidden_user_prompts
Number of user prompts hidden before the first visible message because of compacted-history truncation. Used to keep prompt numbers absolute.
crates/jcode-tui/src/tui/mod.rs:171
↓ 6 callersFunctioncompile_static_regex
(pattern: &str)
crates/jcode-base/src/message.rs:30
↓ 6 callersMethodcomposer_prompt
(&self)
crates/jcode-desktop/src/single_session.rs:1373
↓ 6 callersFunctioncompute_diff
(prev: Option<&[TodoItem]>, next: &[TodoItem])
crates/jcode-tui/src/tui/ui_todo_changes.rs:96
↓ 6 callersFunctionconfigured_api_key
()
crates/jcode-base/src/subscription_catalog.rs:276
↓ 6 callersFunctionconfigured_positive_u64
(name: &str, default: u64)
crates/jcode-app-core/src/server/swarm.rs:143
↓ 6 callersFunctionconnect_server_with_retry
(timeout: Duration)
crates/jcode-desktop/src/session_launch/server_io.rs:113
↓ 6 callersFunctionconnect_socket
Connect to a socket path. Do not unlink the path on connection-refused here. A client-side cleanup can strand a live daemon behind an unlinked Unix s
crates/jcode-app-core/src/server/socket.rs:54
↓ 6 callersFunctioncontext_limit_for_model_with_provider
( model: &str, provider_hint: Option<&str>, )
crates/jcode-provider-core/src/models.rs:396
↓ 6 callersFunctioncreate_test_session
Create a headless test session.
scripts/test_soft_interrupt.py:71
↓ 6 callersMethodcursor_pos
(&self)
crates/jcode-tui/src/tui/app/state_ui_runtime.rs:47
↓ 6 callersMethodcwd
(mut self, cwd: impl Into<String>)
crates/jcode-base/src/hooks.rs:68
↓ 6 callersFunctiondebug_socket_path
Debug socket path for testing/introspection Derived from main socket path
crates/jcode-app-core/src/server/socket.rs:16
↓ 6 callersMethoddelete_draft_selection
(&mut self)
crates/jcode-desktop/src/single_session/input.rs:451
↓ 6 callersFunctiondestroy_session
Destroy a test session.
scripts/test_soft_interrupt.py:82
↓ 6 callersMethoddetect_crash
Detect if an active session likely crashed (process no longer running) Returns true if status was updated.
crates/jcode-base/src/session.rs:1062
↓ 6 callersFunctiondetect_kv_cache_problem
Detect a KV/prompt-cache problem that is reliable enough to surface in the UI. This intentionally does **not** warn merely because a cache-hit metric
crates/jcode-tui/src/tui/mod.rs:771
↓ 6 callersFunctiondirective
(message: &str)
crates/jcode-app-core/src/server/reload_recovery.rs:397
↓ 6 callersMethoddisplay
A prettier label for user-facing messages, e.g. `Cmd+Shift+K`.
crates/jcode-setup-hints/src/keymap/chord.rs:65
↓ 6 callersMethoddisplay_snapshot
Returns a display-safe snapshot that avoids showing pre-reset usage after a window rolled over.
crates/jcode-base/src/usage/display.rs:12
↓ 6 callersFunctionease_out_cubic
(progress: f32)
crates/jcode-desktop/src/animation.rs:680
↓ 6 callersFunctioneffective_prompt_tokens
Effective prompt size to use as the denominator for cache-hit ratios. Providers report `input_tokens` differently: - Anthropic/Claude (split accounti
crates/jcode-tui/src/tui/info_widget.rs:419
↓ 6 callersMethodeffective_token_count_with
Best-effort current token count using the caller's messages.
crates/jcode-base/src/compaction.rs:808
↓ 6 callersFunctioneffort_display_label
(effort: &str)
crates/jcode-tui/src/tui/app/helpers.rs:489
↓ 6 callersFunctionembed
Generate embedding for text using the global embedder. Results are cached in an LRU so repeated queries for the same text return instantly.
crates/jcode-base/src/embedding.rs:174
↓ 6 callersMethodembed
(&self, text: &str)
crates/jcode-embedding/src/lib.rs:171
↓ 6 callersFunctionembedder_cache
()
crates/jcode-base/src/embedding.rs:74
↓ 6 callersMethodensure_context_fits
Ensure context fits before an API call. Starts background compaction if above 80%. If context is critically full (>=95%), also performs an immediate
crates/jcode-base/src/compaction.rs:932
↓ 6 callersMethodensure_embedding
Generate and set embedding if not already present. Returns true if embedding was generated, false if already exists or failed.
crates/jcode-base/src/memory.rs:166
↓ 6 callersFunctionensure_server_running
()
crates/jcode-desktop/src/session_launch/server_io.rs:23
↓ 6 callersFunctionensure_success
(response: reqwest::Response, action: &str)
crates/jcode-app-core/src/server/jade_relay.rs:1015
↓ 6 callersMethodenter_choose_mode
Switch from the summary screen to the per-login checkbox list, with the cursor on the first login row.
crates/jcode-tui/src/tui/app/onboarding_flow.rs:108
↓ 6 callersFunctionevent
(level: LogLevel, event: &str, fields: I)
crates/jcode-logging/src/lib.rs:342
↓ 6 callersMethodexecute
(&self, _input: Value, _ctx: ToolContext)
crates/jcode-app-core/src/tool/tests.rs:120
↓ 6 callersFunctionextract_text_from_content
Extract text from message content blocks.
scripts/test_soft_interrupt.py:102
↓ 6 callersFunctionfact_test_state
(input: String, scheduled: bool)
crates/jcode-tui/src/tui/ui_tests/swarm_buffer.rs:50
↓ 6 callersFunctionfake_resolver
Resolver that pretends every path under one of `roots` belongs to that root, mimicking git-root folding without touching disk.
crates/jcode-import-core/src/repo_ranking.rs:446
↓ 6 callersFunctionfield_ld
Encode a length-delimited (wire type 2) protobuf field.
crates/jcode-provider-cursor-runtime/src/agent_transport.rs:79
↓ 6 callersFunctionfinalize
( id: u64, swarm_id: &str, req_session_id: &str, reason: &str, item_count: usize, clie
crates/jcode-app-core/src/server/comm_graph.rs:164
↓ 6 callersMethodfinish_auth_catalog_refresh
Apply a completed auth-driven catalog refresh to an already-open picker. Login/import can finish while `/model` is visible, so merely invalidating its
crates/jcode-tui/src/tui/app/inline_interactive.rs:923
↓ 6 callersMethodfocused_index
(&self)
crates/jcode-tui-workspace/src/workspace_map.rs:51
↓ 6 callersMethodfor_app
(&self, app: &DesktopApp, binary: PathBuf)
crates/jcode-desktop/src/desktop_reload.rs:732
↓ 6 callersFunctionfor_each_visible_workspace_surface
( workspace: &Workspace, size: PhysicalSize<u32>, render_layout: WorkspaceRenderLayout, focus_
crates/jcode-desktop/src/workspace_vertices.rs:303
↓ 6 callersMethodforce_compact_with
Force immediate compaction (for manual /compact command).
crates/jcode-base/src/compaction.rs:1076
↓ 6 callersFunctionformatted_tool_input_lines
(tool_name: &str, raw_input: &str)
crates/jcode-desktop/src/single_session/tool_lines.rs:316
← previousnext →1,201–1,300 of 23,343, ranked by callers