Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1jehuang/jcode
/ functions
Functions
23,343 in github.com/1jehuang/jcode
⨍
Functions
23,343
◇
Types & classes
2,636
↓ 6 callers
Method
record_memory_injection
Record a memory injection event for replay visualization
crates/jcode-base/src/session.rs:1363
↓ 6 callers
Function
record_success
(provider_id: &str)
crates/jcode-base/src/auth/refresh_state.rs:25
↓ 6 callers
Method
recover_session_without_tools
Rebuild current session into a new one without tool calls
crates/jcode-tui/src/tui/app/conversation_state.rs:798
↓ 6 callers
Function
redact_secrets
Redact likely secrets from persisted tool output. This is a best-effort safeguard for local session history files. It targets high-confidence token/k
crates/jcode-base/src/message.rs:53
↓ 6 callers
Function
redraw_interval
(state: &dyn TuiState)
crates/jcode-tui/src/tui/mod.rs:1707
↓ 6 callers
Function
refresh_claude_tokens_for_account
Refresh Claude OAuth tokens for a specific account. Serialized per account via the refresh coordinator: Anthropic rotates refresh tokens, so two conc
crates/jcode-base/src/auth/oauth.rs:1142
↓ 6 callers
Function
reload_marker_active
(max_age: Duration)
crates/jcode-app-core/src/server/reload_state.rs:42
↓ 6 callers
Method
remove
(key: &'static str)
src/cli/commands/provider_setup.rs:624
↓ 6 callers
Method
remove
(key: &'static str)
crates/jcode-base/src/provider/tests/model_resolution.rs:1963
↓ 6 callers
Method
remove_display_message
(&mut self, idx: usize)
crates/jcode-tui/src/tui/app/state_ui_messages.rs:252
↓ 6 callers
Function
remove_session_interrupt_queue
( queues: &SessionInterruptQueues, session_id: &str, )
crates/jcode-app-core/src/server/state.rs:698
↓ 6 callers
Function
render
(frame: &mut Frame, rect: Rect, data: &InfoWidgetData)
crates/jcode-tui/src/tui/info_widget.rs:1962
↓ 6 callers
Function
render_artifact_in
( source: &str, display: bool, dpi: u16, toolchain: &Toolchain, cache_dir: &Path, )
crates/jcode-tui-markdown/src/markdown_latex_image.rs:353
↓ 6 callers
Function
render_batch_subcall_line
( tool: &ToolCall, icon: &str, icon_color: Color, bash_max_chars: usize, max_width: Option
crates/jcode-tui/src/tui/ui_tools.rs:1544
↓ 6 callers
Function
render_memory_tiles
( tiles: &[MemoryTile], total_width: usize, border_style: Style, text_style: Style, header
crates/jcode-tui-render/src/memory_tiles.rs:413
↓ 6 callers
Function
render_niri_block
Render the full managed block (sentinels + one bind per hotkey), indented to sit inside `binds { }`. Hotkeys niri cannot express are skipped. Returns
crates/jcode-setup-hints/src/linux_niri.rs:199
↓ 6 callers
Function
render_onboarding_text
Render the onboarding welcome screen for `app` into a fixed-size buffer and return the visible text, one line per row, trailing blank rows trimmed.
crates/jcode-tui/src/tui/app/tests/onboarding_golden.rs:22
↓ 6 callers
Method
render_session_item_lines
( &self, session: &SessionInfo, is_selected: bool, )
crates/jcode-tui/src/tui/session_picker/render.rs:168
↓ 6 callers
Function
render_stats_test_lock
Serialize tests that render diagrams and assert on the global `MermaidDebugStats` (`last_*` fields and counters), which concurrent renders in sibling
crates/jcode-tui-mermaid/src/mermaid_tests/part_02.rs:532
↓ 6 callers
Function
render_swarm_compact
Render the compact swarm summary: at most two lines for the info-widget margins. ```text 🐝 2/4 agents · nodes 5/12 · ⚠1 ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
crates/jcode-tui-render/src/swarm_gallery.rs:1249
↓ 6 callers
Function
render_todo_change_lines
Build the delta lines to inject below a `todo` tool message. Returns an empty vec when nothing meaningful changed (reads, no-op writes).
crates/jcode-tui/src/tui/ui_todo_changes.rs:250
↓ 6 callers
Method
rendered_body_static_cache_key
(&self, size: (u32, u32))
crates/jcode-desktop/src/single_session/transcript.rs:199
↓ 6 callers
Function
rendered_header_lines
(app: &crate::tui::app::App, width: u16)
crates/jcode-tui/src/tui/ui_header.rs:1118
↓ 6 callers
Method
replace_display_message_content
(&mut self, idx: usize, content: String)
crates/jcode-tui/src/tui/app/state_ui_messages.rs:106
↓ 6 callers
Method
reset_provider_session
Clear provider session so the next turn sends full context.
crates/jcode-app-core/src/agent/turn_execution.rs:173
↓ 6 callers
Function
resolve_account_provider_descriptor
( input: &str, )
crates/jcode-tui/src/tui/app/auth_account_commands.rs:610
↓ 6 callers
Function
resolve_tail_follow_scroll
Resolve the scroll position while following the live tail. Normally this is just `max_scroll`, but when a large block lands at once (committed message
crates/jcode-tui/src/tui/ui_viewport.rs:81
↓ 6 callers
Function
restore_env_var
(key: &str, value: Option<std::ffi::OsString>)
crates/jcode-desktop/src/session_launch/tests.rs:1199
↓ 6 callers
Method
restore_session
Restore a session by ID (loads from disk)
crates/jcode-app-core/src/agent/turn_execution.rs:544
↓ 6 callers
Method
rich_transcript_document
(&self)
crates/jcode-desktop/src/single_session/transcript.rs:620
↓ 6 callers
Function
right_fact_placements
( buffer: &ratatui::buffer::Buffer, lines: Vec<RightFactLine>, top: u16, bottom: u16, left
crates/jcode-tui/src/tui/ui_input.rs:2328
↓ 6 callers
Function
runtime_release_semver
Optional release semver supplied by the fast-release wrapper at process start.
crates/jcode-build-meta/src/lib.rs:50
↓ 6 callers
Function
safe_compaction_cutoff
Find a safe compaction cutoff that does not leave kept tool results without their corresponding tool calls.
crates/jcode-compaction-core/src/lib.rs:238
↓ 6 callers
Method
save
Save to file.
crates/jcode-tui/src/tui/test_harness.rs:449
↓ 6 callers
Function
save_claude_tokens_for_account
Save Claude tokens for a specific stored account label.
crates/jcode-base/src/auth/oauth.rs:916
↓ 6 callers
Function
save_disk_cache_with_source_for_namespace
( namespace: &str, models: &[ModelInfo], source_api_base: Option<&str>, )
crates/jcode-provider-openrouter/src/lib.rs:507
↓ 6 callers
Function
save_github_token
Save a GitHub OAuth token to the standard Copilot config location.
crates/jcode-base/src/auth/copilot.rs:757
↓ 6 callers
Function
save_manifest
(manifest: &OvernightManifest)
crates/jcode-app-core/src/overnight.rs:734
↓ 6 callers
Function
save_startup_submission_for_session
Client-input handoff files (`~/.jcode/client-input-<session>`). When a client queues a startup submission for a session (e.g. a headed spawn or a rel
crates/jcode-base/src/client_input.rs:13
↓ 6 callers
Function
select_and_claim_auto_target
Pick the first idle, unclaimed candidate from `candidates` (already ranked by the caller) and claim it. Members that already hold an incomplete plan
crates/jcode-app-core/src/server/comm_control.rs:159
↓ 6 callers
Function
selfdev_status_output
()
crates/jcode-app-core/src/tool/selfdev/status.rs:3
↓ 6 callers
Function
session_journal_path
(session_id: &str)
crates/jcode-base/src/session/storage_paths.rs:39
↓ 6 callers
Function
session_scan_limit
()
crates/jcode-tui/src/tui/session_picker/loading.rs:29
↓ 6 callers
Function
session_transcript_messages
(messages: &StoredSession)
crates/jcode-desktop/src/session_data.rs:444
↓ 6 callers
Method
set_active_provider
(&self, provider: ActiveProvider)
crates/jcode-base/src/provider/selection.rs:76
↓ 6 callers
Method
set_budget
Update the token budget (e.g., when model changes)
crates/jcode-base/src/compaction.rs:244
↓ 6 callers
Method
set_config_default_model
( &self, model: &str, default_provider: Option<&str>, )
crates/jcode-base/src/provider/mod.rs:1394
↓ 6 callers
Method
set_live
Replace the live streaming text with the accumulated `text` so far.
crates/jcode-app-core/src/agent/inline_tail.rs:43
↓ 6 callers
Method
set_split_view_enabled
(&mut self, enabled: bool, focus: bool)
crates/jcode-tui/src/tui/app/split_view.rs:16
↓ 6 callers
Function
set_theme_mode
Set the global theme mode. Called once at startup after terminal background detection (and again if the user overrides it).
crates/jcode-tui-style/src/theme_mode.rs:37
↓ 6 callers
Function
shared_server_version_file
Get path to the shared server version file (approved daemon marker).
crates/jcode-build-support/src/storage_helpers.rs:131
↓ 6 callers
Function
signal_detached_process_group
Send a signal to an entire detached process group/session led by `pid`. On Unix, detached tasks are spawned with `setsid()`, so the leader PID is als
crates/jcode-base/src/platform.rs:282
↓ 6 callers
Function
single_session_body_bottom
(size: PhysicalSize<u32>)
crates/jcode-desktop/src/single_session_render/body_viewport.rs:404
↓ 6 callers
Function
single_session_text_areas_for_app_with_cached_body_viewport
( app: &SingleSessionApp, buffers: &'a [Buffer], size: PhysicalSize<u32>, smooth_scroll_lines:
crates/jcode-desktop/src/single_session_render/text_areas.rs:90
↓ 6 callers
Function
slash_command_rest
(trimmed: &'a str, command: &str)
crates/jcode-tui/src/tui/app/commands.rs:2577
↓ 6 callers
Method
slash_suggestion_candidates
(&self)
crates/jcode-desktop/src/single_session/overlays.rs:1067
↓ 6 callers
Function
sm
Build a `ScreenMetrics` directly from signal values (for synthetic tests).
crates/jcode-tui/src/tui/app/tests/onboarding_eval.rs:2338
↓ 6 callers
Function
snapshot_with
(bindings: Vec<DiscoveredBinding>)
crates/jcode-setup-hints/src/keymap/conflicts.rs:363
↓ 6 callers
Function
sort_members_for_display
References to `members` in [`display_order`], for rendering.
crates/jcode-tui-render/src/swarm_gallery.rs:1799
↓ 6 callers
Function
source_matches_filter
(source: &str, options: &SearchOptions)
crates/jcode-app-core/src/tool/session_search.rs:1639
↓ 6 callers
Function
spawn_in_new_terminal
( exe: &Path, session_id: &str, cwd: &Path, socket: Option<&str>, )
crates/jcode-tui/src/tui/app/helpers.rs:852
↓ 6 callers
Function
stable_binary_path
Get path to stable symlink
crates/jcode-build-support/src/storage_helpers.rs:52
↓ 6 callers
Method
stable_cache_hash
(&self)
crates/jcode-tui-messages/src/message.rs:247
↓ 6 callers
Method
start_tool
Record a tool execution starting. Any live text is committed first so ordering in the tail matches what actually happened.
crates/jcode-app-core/src/agent/inline_tail.rs:64
↓ 6 callers
Function
stat
(fast: u32, slow: u32, hints: u32, last: u64)
crates/jcode-tui/src/tui/app/shortcut_hints.rs:291
↓ 6 callers
Function
stats
Snapshot runtime statistics for the global embedder cache.
crates/jcode-base/src/embedding.rs:302
↓ 6 callers
Method
stop_onboarding_simulator
Exit the simulator and restore the prior (non-onboarding) state.
crates/jcode-tui/src/tui/app/onboarding_sim.rs:116
↓ 6 callers
Function
strip_ansi_escape_sequences
Remove terminal escape sequences before captured command output is rendered. Captured output is not attached to a terminal, so retaining control sequ
crates/jcode-base/src/message/notifications.rs:12
↓ 6 callers
Function
submit_prepared_remote_input
( app: &mut App, remote: &mut RemoteConnection, prepared: input::PreparedInput, )
crates/jcode-tui/src/tui/app/remote/input_dispatch.rs:86
↓ 6 callers
Function
summarize_task_cards_slice
(cards: &[OvernightTaskCard])
crates/jcode-overnight-core/src/lib.rs:366
↓ 6 callers
Function
summary_fixture
()
crates/jcode-tui/src/tui/app/remote/swarm_plan_core.rs:111
↓ 6 callers
Function
surface_visual_frame
(frames: &[SurfaceVisualFrame], id: u64)
crates/jcode-desktop/src/main_tests.rs:1915
↓ 6 callers
Method
sync_session_compaction_state_from_manager
( &mut self, manager: &crate::compaction::CompactionManager, )
crates/jcode-tui/src/tui/app/conversation_state.rs:261
↓ 6 callers
Function
terminal_event_record
( status: BackgroundTaskStatus, exit_code: Option<i32>, error: Option<&str>, )
crates/jcode-base/src/background/model.rs:140
↓ 6 callers
Function
test_anthropic_runtime
()
crates/jcode-base/src/provider/tests.rs:956
↓ 6 callers
Function
test_side_panel_snapshot
(page_id: &str, title: &str)
crates/jcode-tui/src/tui/app/tests/support_failover/part_01.rs:312
↓ 6 callers
Function
test_source_state
(repo_dir: &std::path::Path)
crates/jcode-app-core/src/tool/selfdev/tests.rs:65
↓ 6 callers
Function
textedit_new
()
crates/jcode-app-core/src/tool/computer/coverage_tests.rs:39
↓ 6 callers
Method
tick
(&mut self)
crates/jcode-tui-render/examples/swarm_gallery_live.rs:61
↓ 6 callers
Function
tool
(name: &str, input: serde_json::Value)
crates/jcode-tui/src/tui/app/sponsor_disclosure.rs:61
↓ 6 callers
Method
tool_definitions
(&mut self)
crates/jcode-app-core/src/agent/turn_execution.rs:334
↓ 6 callers
Function
tool_result_block
(line: &str)
crates/jcode-import-core/src/lib.rs:1565
↓ 6 callers
Function
track_attempt_output
Wrap `outer` for a single retry attempt. Returns a sender to pass into the attempt's `stream_response` call and a guard that reports whether the attem
crates/jcode-provider-core/src/attempt_tracker.rs:86
↓ 6 callers
Function
trigger_final_extraction_with_dir
( transcript: String, session_id: String, working_dir: Option<String>, )
crates/jcode-base/src/memory_agent.rs:1853
↓ 6 callers
Function
truncate_title_text
(text: &str, max_chars: usize)
crates/jcode-tui/src/tui/session_picker/loading.rs:822
↓ 6 callers
Function
tune_known_file
( mut known: AgentGrepKnownFile, exposure: ExposureDescriptor, search_root: &Path, ctx: &ToolC
crates/jcode-app-core/src/tool/agentgrep/context.rs:659
↓ 6 callers
Function
update_member_status_with_report
( session_id: &str, status: &str, detail: Option<String>, completion_report: Option<String>,
crates/jcode-app-core/src/server/swarm.rs:1319
↓ 6 callers
Method
update_selection_with_point
(&mut self, point: crate::tui::CopySelectionPoint, extend: bool)
crates/jcode-tui/src/tui/app/copy_selection.rs:159
↓ 6 callers
Function
upsert_env_file_value
(path: &Path, env_key: &str, value: Option<&str>)
crates/jcode-storage/src/lib.rs:446
↓ 6 callers
Method
url
(&self, path: &str)
crates/jcode-app-core/src/server/jade_relay.rs:51
↓ 6 callers
Function
uses_entra_id
()
crates/jcode-base/src/auth/azure.rs:44
↓ 6 callers
Function
validate_auth_test_tool_smoke_transcript
( messages: &[crate::session::StoredMessage], output: &str, )
src/cli/auth_test/choice.rs:318
↓ 6 callers
Method
visual
(&self)
crates/jcode-desktop/src/single_session_render/motion_composer.rs:66
↓ 6 callers
Function
welcome_timeline_visual_offset_pixels_for_total_lines
( app: &SingleSessionApp, size: PhysicalSize<u32>, smooth_scroll_lines: f32, total_lines: usiz
crates/jcode-desktop/src/single_session_render/welcome_hero.rs:309
↓ 6 callers
Method
with_embedding
Set embedding vector
crates/jcode-memory-types/src/lib.rs:434
↓ 6 callers
Function
with_image_protocol_override
(_enabled: Option<bool>, f: impl FnOnce() -> T)
crates/jcode-tui-markdown/src/markdown_mermaid_fallback.rs:31
↓ 6 callers
Method
with_labeled_image
( mut self, media_type: impl Into<String>, data: impl Into<String>, label: imp
crates/jcode-tool-types/src/lib.rs:45
↓ 6 callers
Function
with_light_theme
(f: impl FnOnce())
crates/jcode-tui-style/src/theme_mode.rs:205
↓ 6 callers
Function
with_registry
(f: impl FnOnce(&mut HashMap<String, SessionMetrics>) -> R)
crates/jcode-base/src/session_metrics.rs:65
↓ 6 callers
Function
with_temp_jcode_home
(f: impl FnOnce() -> T)
crates/jcode-tui/src/tui/app/auth_tests.rs:6
← previous
next →
1,401–1,500 of 23,343, ranked by callers