MCPcopy Create free account

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

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

↓ 8 callersFunctionrun_server_session
( target_session_id: Option<&str>, message: &str, images: Vec<(String, String)>, event_tx: Opt
crates/jcode-desktop/src/session_launch.rs:1048
↓ 8 callersFunctionsave_state
(state: &PersistedAwaitMembersState)
crates/jcode-app-core/src/server/await_members_state.rs:168
↓ 8 callersFunctionsession_switcher_split_columns
( layout: &InlineWidgetCardLayout, )
crates/jcode-desktop/src/single_session_render/inline_widget_chrome.rs:1056
↓ 8 callersMethodset_model
(&self, model: &str)
crates/jcode-base/src/provider/mod.rs:1806
↓ 8 callersMethodset_model
(&self, model: &str)
crates/jcode-provider-bedrock/src/lib.rs:1350
↓ 8 callersMethodset_reasoning_effort
(&self, _effort: &str)
crates/jcode-tui/src/tui/app/tests/support_failover/part_01.rs:164
↓ 8 callersFunctionsh
(cmd, **kw)
ios/TestHarness/ui_matrix.py:71
↓ 8 callersFunctionsingle_flight
Run `refresh` under a per-key async lock. After acquiring the lock, `reload` fetches the currently stored credentials. If `already_refreshed` accepts
crates/jcode-base/src/auth/refresh_coordinator.rs:45
↓ 8 callersFunctionsingle_session_visible_body
( app: &SingleSessionApp, size: PhysicalSize<u32>, )
crates/jcode-desktop/src/single_session_render/body_viewport.rs:422
↓ 8 callersFunctionsnapshot
(items: Vec<PlanItem>, summary: Option<PlanGraphStatus>)
crates/jcode-tui/src/tui/app/remote/swarm_plan_core.rs:99
↓ 8 callersFunctionsource
()
crates/jcode-app-core/src/tool/computer/input.rs:24
↓ 8 callersFunctionspawn_single_response_chat_server
()
crates/jcode-provider-openrouter-runtime/src/openrouter_tests.rs:1177
↓ 8 callersFunctionspec
(id: &str, kind: NodeKind)
crates/jcode-plan/src/dag/tests.rs:7
↓ 8 callersFunctionstart_synthetic_user_turn
(app: &mut App, content: String)
crates/jcode-tui/src/tui/app/commands_improve.rs:401
↓ 8 callersFunctionstate_path
(dir_name: &str, key: &str)
crates/jcode-app-core/src/server/durable_state.rs:45
↓ 8 callersFunctionstatus_accent
Accent color for a member lifecycle status.
crates/jcode-tui-render/src/swarm_gallery.rs:17
↓ 8 callersFunctionstrict_live_provider_model_coverage_summary
( coverage: &LiveVerificationCoverage, coverage_source: impl Into<String>, )
crates/jcode-base/src/live_tests.rs:1312
↓ 8 callersMethodsubscribe
(&mut self)
tests/e2e/test_support/mod.rs:359
↓ 8 callersFunctionsummarize_model_catalog_refresh
( before_models: Vec<String>, after_models: Vec<String>, before_routes: Vec<ModelRoute>, after
crates/jcode-provider-core/src/catalog_refresh.rs:26
↓ 8 callersFunctionto_task_graph
Lift a [`VersionedPlan`] into a validated [`TaskGraph`] for engine ops.
crates/jcode-plan/src/bridge.rs:94
↓ 8 callersFunctiontodo_card_line
( spans: Vec<Span<'static>>, base_indent: &str, inner_width: usize, )
crates/jcode-tui/src/tui/ui_messages.rs:1141
↓ 8 callersFunctiontool_color
()
crates/jcode-tui-style/src/theme.rs:11
↓ 8 callersMethodtool_names
(&self)
crates/jcode-app-core/src/tool/mod.rs:344
↓ 8 callersFunctiontruncate_middle_display
(s: &str, max_width: usize)
crates/jcode-tui/src/tui/ui_tools.rs:297
↓ 8 callersFunctionts
(y: i32, m: u32, d: u32)
crates/jcode-import-core/src/repo_ranking.rs:440
↓ 8 callersFunctiontui_policy_for
( profile: &SystemProfile, display: &crate::config::DisplayConfig, )
crates/jcode-app-core/src/perf.rs:201
↓ 8 callersFunctionwelcome_timeline_chrome_visible
( app: &SingleSessionApp, size: PhysicalSize<u32>, y_offset: f32, )
crates/jcode-desktop/src/single_session_render/welcome_hero.rs:274
↓ 8 callersMethodwidth
(&self)
crates/jcode-render-core/src/math.rs:899
↓ 8 callersMethodwrite
(&mut self, level: &str, message: &str)
crates/jcode-logging/src/lib.rs:204
↓ 8 callersMethodwrite_error_value
(&self, id: Value, code: i64, message: String)
src/cli/acp.rs:659
↓ 7 callersMethodaccumulate
Fold one API response's `usage`/`cost` JSON into the running total.
crates/jcode-provider-doctor/src/provider_e2e.rs:169
↓ 7 callersFunctionactive_working_dir
(app: &App)
crates/jcode-tui/src/tui/app/commands.rs:2729
↓ 7 callersFunctionallocator_info
()
crates/jcode-base/src/process_memory.rs:199
↓ 7 callersFunctionapp_in_phase
Force the app into a specific onboarding phase, bypassing the on-disk new-user heuristic.
crates/jcode-tui/src/tui/app/tests/onboarding_golden.rs:52
↓ 7 callersFunctionapply_task_graph
Lower a [`TaskGraph`] back into the plan's items + node_meta, preserving the fields the engine does not own (subsystem, file_scope, original priority
crates/jcode-plan/src/bridge.rs:124
↓ 7 callersMethodas_arg_value
(&self)
src/cli/provider_init.rs:129
↓ 7 callersFunctionassert_is_handwritten_welcome_phrase
(phrase: &str)
crates/jcode-desktop/src/main_tests.rs:6413
↓ 7 callersFunctionassert_prepared_equivalent
Assert two prepared bodies are byte-for-byte equivalent across every observable array. Used to prove prefix-reuse output matches a fresh full build.
crates/jcode-tui/src/tui/ui_tests/basic/body_cache.rs:905
↓ 7 callersFunctionassert_visual_text_contains
(key: &SingleSessionTextKey, expected: &str)
crates/jcode-desktop/src/main_tests.rs:6392
↓ 7 callersFunctionattach_activity
Stamp a report with last-used recency from the activity ledger: sets the sort key and appends a human-readable "Last used" detail line.
crates/jcode-base/src/usage.rs:269
↓ 7 callersFunctionbackground_task_display_label
(tool_name: &str, display_name: Option<&str>)
crates/jcode-base/src/message/notifications.rs:174
↓ 7 callersMethodbackground_tool_signal
Get a handle to the background tool signal. The server can use this to signal "move tool to background" without holding the agent lock.
crates/jcode-app-core/src/agent/interrupts.rs:162
↓ 7 callersFunctionbench_root
()
src/bin/memory_recall_bench.rs:44
↓ 7 callersMethodbody_bottom
(self)
crates/jcode-desktop/src/single_session_render.rs:638
↓ 7 callersFunctionbrowser_dir
()
crates/jcode-base/src/browser.rs:43
↓ 7 callersFunctionbuild_or_update
Load, incrementally update, and persist the index at `index_path` so it exactly covers `specs` (in order). `read_text` returns the searchable text for
crates/jcode-app-core/src/tool/session_search_index.rs:368
↓ 7 callersFunctionbuild_poke_message
(incomplete: &[crate::todo::TodoItem])
crates/jcode-tui/src/tui/app/commands.rs:2644
↓ 7 callersMethodbuild_remote_model_routes_fallback
(&self)
crates/jcode-tui/src/tui/app/inline_interactive.rs:1856
↓ 7 callersFunctionbuild_rich_transcript
( messages: &[RichTranscriptMessage], options: &RichTranscriptBuildOptions, )
crates/jcode-desktop/src/desktop_rich_text.rs:505
↓ 7 callersFunctionbuild_system_prompt_split
Build system prompt split into static (cacheable) and dynamic parts This improves cache hit rate by keeping frequently-changing content separate
crates/jcode-base/src/prompt.rs:453
↓ 7 callersFunctionbuild_test_response_request
( model_id: &str, is_chatgpt_mode: bool, max_output_tokens: Option<u32>, reasoning_effort: Opt
crates/jcode-provider-openai-runtime/src/openai_tests/responses_input.rs:63
↓ 7 callersFunctionbuild_tools
(tools: &[ToolDefinition])
crates/jcode-provider-openai/src/request.rs:50
↓ 7 callersMethodcalculate_interval
Core interval calculation following the algorithm in AMBIENT_MODE.md.
crates/jcode-app-core/src/ambient/scheduler.rs:188
↓ 7 callersFunctionclear_pending_login
(path: &PathBuf)
src/cli/login/scriptable.rs:674
↓ 7 callersMethodclear_visible_turn_started
(&mut self)
crates/jcode-tui/src/tui/app/state_ui_runtime.rs:326
↓ 7 callersFunctioncollect_recent_session_stems
( sessions_dir: &Path, scan_limit: usize, )
crates/jcode-tui/src/tui/session_picker/loading.rs:1102
↓ 7 callersFunctioncompute_page_layout
( data: &InfoWidgetData, _inner_width: usize, inner_height: u16, )
crates/jcode-tui/src/tui/info_widget_overview.rs:24
↓ 7 callersFunctioncreate_session
Create a new session and return its ID.
scripts/test_swarm.py:54
↓ 7 callersFunctioncreate_test_context
()
crates/jcode-app-core/src/tool/mcp.rs:478
↓ 7 callersFunctioncurrent_feedback_target_session_id
(app: &App)
crates/jcode-tui/src/tui/app/commands_review.rs:60
↓ 7 callersFunctioncurrent_render_profile
()
crates/jcode-tui-mermaid/src/lib.rs:96
↓ 7 callersFunctiondebug_stats
()
crates/jcode-tui-mermaid/src/debug.rs:3
↓ 7 callersFunctiondestroy_session
Destroy a session.
scripts/test_swarm.py:62
↓ 7 callersMethoddim
(&self)
crates/jcode-base/src/embedding_backend.rs:90
↓ 7 callersFunctiondisable_auto_poke
(app: &mut App)
crates/jcode-tui/src/tui/app/commands.rs:106
↓ 7 callersMethoddiscard_oversized_openai_native_compaction
Drop provider-native OpenAI compaction state when it can no longer be replayed within OpenAI's per-string request limit. The compacted prefix remains
crates/jcode-base/src/compaction.rs:395
↓ 7 callersMethoddisplay_title
Get the title users should see for this session: custom rename first, then the generated/imported title, if one exists.
crates/jcode-base/src/session.rs:854
↓ 7 callersMethoddisplay_user_message_count
(&self)
crates/jcode-tui/src/tui/ui_tests/mod.rs:161
↓ 7 callersMethodeffective_role
(&self)
crates/jcode-tui/src/tui/core.rs:63
↓ 7 callersFunctionemit_scriptable_auth_success
( json: bool, success: ScriptableAuthSuccess, )
src/cli/login/scriptable.rs:780
↓ 7 callersMethodenable
(&mut self, current_session_id: Option<&str>, all_sessions: &[String])
crates/jcode-tui/src/tui/workspace_client.rs:32
↓ 7 callersFunctionexchange_code_at_url
( token_url: &str, code: &str, verifier: &str, redirect_uri: &str, state: Option<&str>, )
crates/jcode-base/src/auth/oauth.rs:1424
↓ 7 callersMethodexecute
(&self, input: Value, ctx: ToolContext)
crates/jcode-app-core/src/tool/mcp.rs:88
↓ 7 callersFunctionexternal_auth_blocked_message
( provider_name: &str, source_name: &str, path: &std::path::Path, login_hint: &str, )
crates/jcode-app-core/src/external_auth.rs:21
↓ 7 callersFunctionextract_copy_targets_from_rendered_lines
(lines: &[Line<'static>])
crates/jcode-tui-markdown/src/markdown_render_support.rs:10
↓ 7 callersMethodfetch_models
Fetch available models from OpenRouter API (with disk caching)
crates/jcode-provider-openrouter-runtime/src/lib.rs:2481
↓ 7 callersFunctionfind_cursor_vscdb
Find the Cursor vscdb file on this platform.
crates/jcode-base/src/auth/cursor.rs:225
↓ 7 callersFunctionfind_dev_binary
Find the best development binary in the repo. Prefers the newest local self-dev or release binary.
crates/jcode-build-support/src/paths.rs:304
↓ 7 callersFunctionfit_image_area_with_font
( area: Rect, img_w_px: u32, img_h_px: u32, font_size: Option<(u16, u16)>, centered: bool,
crates/jcode-tui/src/tui/ui_pinned_layout.rs:332
↓ 7 callersFunctionformat_context_for_relevance
Format messages into a context string for relevance checking
crates/jcode-base/src/memory_prompt.rs:114
↓ 7 callersMethodformat_messages
Convert our Message type to Anthropic API format Also repairs dangling tool_uses by injecting synthetic tool_results
crates/jcode-provider-anthropic-runtime/src/lib.rs:910
↓ 7 callersMethodfresh_spawn
(mut self)
crates/jcode-terminal-launch/src/lib.rs:48
↓ 7 callersFunctiongenerate_diff
Generate a compact diff: "42- old" / "42+ new"
crates/jcode-app-core/src/tool/edit.rs:161
↓ 7 callersMethodget_access_token
Get the access token from credentials Supports both OAuth tokens and direct API keys Automatically refreshes OAuth tokens when expired
crates/jcode-provider-anthropic-runtime/src/lib.rs:747
↓ 7 callersFunctiongraph_fixture
()
crates/jcode-app-core/src/server/comm_control_tests/dag_e2e.rs:44
↓ 7 callersFunctionguarded_reload_target
Pure no-downgrade decision used by [`reload_exec_target`]. A candidate is accepted unless it is strictly older than (or not provably as new as) the ru
crates/jcode-app-core/src/server/util.rs:241
↓ 7 callersFunctionhandle_comm_message
( id: u64, from_session: String, message: String, to_session: Option<String>, channel: Opt
crates/jcode-app-core/src/server/client_comm_message.rs:103
↓ 7 callersMethodhandle_onboarding_continue_prompt_key
Intercept keys for the guided onboarding welcome phases: - `ModelSelect`: we tell the user to run /model; Enter is also a shortcut that opens the mode
crates/jcode-tui/src/tui/app/onboarding_flow_control.rs:344
↓ 7 callersFunctionhex_to_rgb
(h: int)
ios/TestHarness/reward/context.py:40
↓ 7 callersMethodinline_swarm_members
(&self)
crates/jcode-tui/src/tui/app/tui_state.rs:1643
↓ 7 callersFunctioninput_pane_screen_points
Scan the rendered frame for screen cells that hit-test into the composer (`Input`) pane, returning `(col, row, point)` triples.
crates/jcode-tui/src/tui/app/tests/input_copy_selection.rs:7
↓ 7 callersMethodinsert
Insert a payload. Returns true when the id was newly inserted (false when it was already registered).
crates/jcode-tui/src/tui/ui_inline_image.rs:155
↓ 7 callersFunctioninset_rect
(rect: Rect, amount: f32)
crates/jcode-desktop/src/render_helpers.rs:1058
↓ 7 callersFunctioninstantiate_openrouter_runtime
Instantiate an OpenRouter/OpenAI-compatible runtime for `spec`. Errors either bubble the runtime constructor's failure or report the missing composit
crates/jcode-base/src/provider/external.rs:165
↓ 7 callersMethodis_active
(&self)
crates/jcode-desktop/src/single_session_render/motion_composer.rs:70
↓ 7 callersMethodis_compacting
Check if compaction is in progress
crates/jcode-base/src/compaction.rs:1331
↓ 7 callersFunctionis_edit_tool_name
(name: &str)
crates/jcode-tui-tool-display/src/lib.rs:32
↓ 7 callersFunctionis_jcode_repo
Check if a directory is the jcode repository
crates/jcode-build-support/src/paths.rs:565
↓ 7 callersFunctionis_poke_message
(message: &str)
crates/jcode-tui/src/tui/app/commands.rs:77
↓ 7 callersMethodis_stale
Check if data is stale and should be refreshed
crates/jcode-base/src/usage/model.rs:71
← previousnext →1,001–1,100 of 23,343, ranked by callers