Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dhanji/g3
/ functions
Functions
3,053 in github.com/dhanji/g3
⨍
Functions
3,053
◇
Types & classes
258
Method
print_tool_streaming_active
(&self)
crates/g3-cli/src/ui_writer_impl.rs:1050
Method
print_tool_streaming_hint
(&self, _tool_name: &str)
crates/g3-core/tests/streaming_completion_test.rs:309
Method
print_tool_streaming_hint
(&self, _tool_name: &str)
crates/g3-planner/src/llm.rs:311
Method
print_tool_streaming_hint
(&self, tool_name: &str)
crates/g3-cli/src/ui_writer_impl.rs:1045
Method
print_tool_timing
(&self, _duration: &str, _tokens: u32, _context_pct: f32)
crates/g3-core/tests/streaming_completion_test.rs:295
Method
print_tool_timing
(&self, _duration_str: &str, _tokens_delta: u32, _context_percentage: f32)
crates/g3-planner/src/llm.rs:286
Method
print_tool_timing
(&self, duration_str: &str, tokens_delta: u32, context_percentage: f32)
crates/g3-cli/src/ui_writer_impl.rs:962
Method
println
(&self, _message: &str)
crates/g3-core/tests/streaming_completion_test.rs:277
Method
println
(&self, message: &str)
crates/g3-cli/src/ui_writer_impl.rs:230
Function
priority_order_is_tools_first
()
crates/g3-core/tests/stream_completion_characterization_test.rs:287
Method
progress
Print "g3: <message> ..." (no newline). Complete with `done()` or `failed()`.
crates/g3-cli/src/g3_status.rs:48
Method
progress_ln
Print "g3: <message> ..." with newline (standalone progress).
crates/g3-cli/src/g3_status.rs:61
Method
prompt_user_choice
(&self, _message: &str, _options: &[&str])
crates/g3-core/src/ui_writer.rs:198
Method
prompt_user_choice
(&self, _message: &str, _options: &[&str])
crates/g3-core/tests/streaming_completion_test.rs:333
Method
prompt_user_choice
(&self, _message: &str, _options: &[&str])
crates/g3-planner/src/llm.rs:328
Method
prompt_user_choice
(&self, message: &str, options: &[&str])
crates/g3-cli/src/ui_writer_impl.rs:1072
Method
prompt_user_yes_no
(&self, _message: &str)
crates/g3-core/src/ui_writer.rs:195
Method
prompt_user_yes_no
(&self, _message: &str)
crates/g3-core/tests/streaming_completion_test.rs:329
Method
prompt_user_yes_no
(&self, _message: &str)
crates/g3-planner/src/llm.rs:324
Method
prompt_user_yes_no
(&self, message: &str)
crates/g3-cli/src/ui_writer_impl.rs:1059
Method
prop
Get a property value
crates/g3-computer-control/src/webdriver/mod.rs:78
Method
quit
(mut self)
crates/g3-computer-control/src/webdriver/safari.rs:228
Method
ready_count
Get count of completed but not yet injected research tasks
crates/g3-core/src/pending_research.rs:251
Method
record_chunk
Store a raw chunk for debugging (limited to first 20 + last few)
crates/g3-core/src/streaming.rs:203
Method
record_first_token
(&mut self)
crates/g3-core/src/streaming.rs:43
Method
refresh
Refresh the current page
crates/g3-computer-control/src/webdriver/chrome.rs:253
Method
refresh
Refresh the current page
crates/g3-computer-control/src/webdriver/safari.rs:59
Method
register
(&mut self, provider: P)
crates/g3-providers/src/lib.rs:383
Method
remaining_tokens
(&self)
crates/g3-core/src/context_window.rs:263
Method
remove
Remove a process from tracking (call after it has been killed)
crates/g3-core/src/background_process.rs:190
Method
request_count
Get the number of requests made
crates/g3-providers/src/mock.rs:402
Function
reset_clears_parser_state
()
crates/g3-core/tests/stream_completion_characterization_test.rs:169
Method
reset_json_filter
(&self)
crates/g3-core/tests/streaming_completion_test.rs:320
Method
reset_json_filter
(&self)
crates/g3-cli/src/ui_writer_impl.rs:1102
Function
resolve_paths_in_shell_command_preserves_commands_without_paths
()
crates/g3-core/src/utils.rs:680
Function
resolve_paths_in_shell_command_preserves_existing_paths
()
crates/g3-core/src/utils.rs:686
Method
resolve_thinned_dir
Resolve the directory for storing thinned content.
crates/g3-core/src/context_window.rs:479
Function
restore_from_session_log
Restore conversation history from a session log file. Returns the messages to add to the context window, or None if restoration failed.
crates/g3-core/src/session.rs:302
Method
resuming
Print "... resuming <session_id> [status]" with cyan session ID.
crates/g3-cli/src/g3_status.rs:202
Method
resuming_summary
(session_id: &str)
crates/g3-cli/src/g3_status.rs:213
Function
role_matches
(role: &MessageRole, expected: &str)
crates/g3-providers/tests/message_serialization_test.rs:25
Function
run_diagnostics
Run all Chrome headless diagnostics
crates/g3-computer-control/src/webdriver/diagnostics.rs:107
Function
same_tool_different_args_not_duplicate
()
crates/g3-core/tests/stream_completion_characterization_test.rs:369
Method
screenshot
(&mut self, path: &str)
crates/g3-computer-control/src/webdriver/safari.rs:205
Method
sdlc_dir
Get the path to the SDLC directory
crates/studio/src/sdlc.rs:165
Function
second_tool_not_checked_against_previous
()
crates/g3-core/tests/stream_completion_characterization_test.rs:403
Method
select_one
Select a single value (returns None if no match or multiple matches).
crates/g3-core/src/tools/invariants.rs:517
Function
sequential_duplicates_detected
()
crates/g3-core/tests/stream_completion_characterization_test.rs:337
Method
serialize
(&self, serializer: S)
crates/g3-providers/src/anthropic.rs:1011
Method
sessions_dir
Get the sessions metadata directory
crates/studio/src/session.rs:86
Method
set_agent_mode
Set whether the UI is in agent mode. When in agent mode, tool names may be displayed differently (e.g., different color). Default implementation does
crates/g3-core/src/ui_writer.rs:149
Method
set_project_path
Set the active project path and name for shortening displayed paths. Paths under this directory will be shown as `<project_name>/relative/path`. Defau
crates/g3-core/src/ui_writer.rs:159
Method
set_workspace
Set the workspace directory and update related paths
crates/g3-core/src/project.rs:76
Method
set_workspace_path
Set the workspace path for shortening displayed paths. Paths under this directory will be shown as `./relative/path`. Default implementation does noth
crates/g3-core/src/ui_writer.rs:154
Function
shell_escape_preserves_simple_commands
()
crates/g3-core/src/utils.rs:636
Function
shell_tool_captures_output
()
crates/g3-core/tests/stream_completion_characterization_test.rs:546
Function
should_auto_continue
Determine if the streaming loop should auto-continue. Returns `Some(reason)` if it should continue, `None` otherwise.
crates/g3-core/src/streaming.rs:634
Function
should_compact_at_80_percent
()
crates/g3-core/tests/stream_completion_characterization_test.rs:447
Function
standalone_tool_calls_detected
()
crates/g3-core/tests/stream_completion_characterization_test.rs:713
Method
state_path
Get the path to the pipeline state file
crates/studio/src/sdlc.rs:160
Method
status_summary
Get a summary of the plan status.
crates/g3-core/src/tools/plan.rs:275
Method
stream
(&self, request: CompletionRequest)
crates/g3-providers/src/anthropic.rs:808
Method
stream
(&self, request: CompletionRequest)
crates/g3-providers/src/databricks.rs:782
Method
stream
(&self, request: CompletionRequest)
crates/g3-providers/src/openai.rs:336
Method
stream
(&self, request: CompletionRequest)
crates/g3-providers/src/gemini.rs:580
Method
stream
(&self, request: CompletionRequest)
crates/g3-providers/src/embedded/provider.rs:530
Method
stream_call_count
(&self)
crates/g3-core/tests/streaming_completion_test.rs:53
Method
stream_completion
( &mut self, request: CompletionRequest, show_timing: bool, )
crates/g3-core/src/lib.rs:2113
Method
streaming
Create a streaming text response with multiple chunks
crates/g3-providers/src/mock.rs:130
Function
stress_test_code_blocks
()
crates/g3-cli/tests/streaming_markdown_test.rs:1326
Function
stress_test_empty_and_minimal
()
crates/g3-cli/tests/streaming_markdown_test.rs:1081
Function
stress_test_escapes_and_special_chars
()
crates/g3-cli/tests/streaming_markdown_test.rs:1129
Function
stress_test_links
()
crates/g3-cli/tests/streaming_markdown_test.rs:1225
Function
stress_test_lists_with_formatting
()
crates/g3-cli/tests/streaming_markdown_test.rs:1176
Function
stress_test_mixed_blocks
()
crates/g3-cli/tests/streaming_markdown_test.rs:1375
Function
stress_test_nested_formatting_combinations
()
crates/g3-cli/tests/streaming_markdown_test.rs:1034
Function
stress_test_nested_lists
()
crates/g3-cli/tests/streaming_markdown_test.rs:1424
Function
stress_test_pathological
()
crates/g3-cli/tests/streaming_markdown_test.rs:1470
Function
stress_test_tables
()
crates/g3-cli/tests/streaming_markdown_test.rs:1285
Method
strip_code_fences
Strip markdown code fence markers from output GLM models sometimes wrap tool calls in code fences like: ```json {"tool": "shell", ...} ``` This stri
crates/g3-providers/src/embedded/adapters/glm.rs:129
Method
strip_inline_backticks
Strip inline code backticks from text GLM models sometimes wrap tool calls in inline backticks like: `{"tool": "shell", ...}`
crates/g3-providers/src/embedded/adapters/glm.rs:152
Method
strip_orphaned_tool_use
Strip orphaned tool_use blocks from assistant messages that have no matching tool_result in the immediately following user message. Anthropic API req
crates/g3-providers/src/anthropic.rs:512
Method
subscribe_research_notifications
Subscribe to research completion notifications. Returns None if notifications are not enabled.
crates/g3-core/src/lib.rs:851
Method
supports_cache_control
(&self)
crates/g3-providers/src/anthropic.rs:884
Method
supports_cache_control
(&self)
crates/g3-providers/src/databricks.rs:915
Method
switch_to_window
Switch to a window by handle
crates/g3-computer-control/src/webdriver/chrome.rs:265
Method
switch_to_window
Switch to a window by handle
crates/g3-computer-control/src/webdriver/safari.rs:71
Method
take_screenshot
( &self, _path: &str, _region: Option<Rect>, _window_id: Option<&str>, )
crates/g3-computer-control/src/platform/windows.rs:16
Method
take_screenshot
( &self, path: &str, region: Option<Rect>, window_id: Option<&str>, )
crates/g3-computer-control/src/platform/macos.rs:26
Method
temperature
(&self)
crates/g3-core/tests/streaming_completion_test.rs:241
Method
temperature
(&self)
crates/g3-providers/src/anthropic.rs:893
Method
temperature
(&self)
crates/g3-providers/src/databricks.rs:923
Method
temperature
(&self)
crates/g3-providers/src/openai.rs:412
Method
temperature
(&self)
crates/g3-providers/src/gemini.rs:624
Method
temperature
(&self)
crates/g3-providers/src/embedded/provider.rs:663
Function
test_1pct_buffer_200k
()
crates/g3-core/src/context_window.rs:820
Function
test_1pct_buffer_percentage_uses_buffered_total
()
crates/g3-core/src/context_window.rs:841
Function
test_1pct_buffer_prevents_prompt_too_long_error
()
crates/g3-core/tests/mock_provider_integration_test.rs:1492
Function
test_1pct_buffer_small
()
crates/g3-core/src/context_window.rs:834
Function
test_1pct_buffer_zero
()
crates/g3-core/src/context_window.rs:827
← previous
next →
1,401–1,500 of 3,053, ranked by callers