MCPcopy Create free account

hub / github.com/dhanji/g3 / functions

Functions3,053 in github.com/dhanji/g3

Methodprint_tool_streaming_active
(&self)
crates/g3-cli/src/ui_writer_impl.rs:1050
Methodprint_tool_streaming_hint
(&self, _tool_name: &str)
crates/g3-core/tests/streaming_completion_test.rs:309
Methodprint_tool_streaming_hint
(&self, _tool_name: &str)
crates/g3-planner/src/llm.rs:311
Methodprint_tool_streaming_hint
(&self, tool_name: &str)
crates/g3-cli/src/ui_writer_impl.rs:1045
Methodprint_tool_timing
(&self, _duration: &str, _tokens: u32, _context_pct: f32)
crates/g3-core/tests/streaming_completion_test.rs:295
Methodprint_tool_timing
(&self, _duration_str: &str, _tokens_delta: u32, _context_percentage: f32)
crates/g3-planner/src/llm.rs:286
Methodprint_tool_timing
(&self, duration_str: &str, tokens_delta: u32, context_percentage: f32)
crates/g3-cli/src/ui_writer_impl.rs:962
Methodprintln
(&self, _message: &str)
crates/g3-core/tests/streaming_completion_test.rs:277
Methodprintln
(&self, message: &str)
crates/g3-cli/src/ui_writer_impl.rs:230
Functionpriority_order_is_tools_first
()
crates/g3-core/tests/stream_completion_characterization_test.rs:287
Methodprogress
Print "g3: <message> ..." (no newline). Complete with `done()` or `failed()`.
crates/g3-cli/src/g3_status.rs:48
Methodprogress_ln
Print "g3: <message> ..." with newline (standalone progress).
crates/g3-cli/src/g3_status.rs:61
Methodprompt_user_choice
(&self, _message: &str, _options: &[&str])
crates/g3-core/src/ui_writer.rs:198
Methodprompt_user_choice
(&self, _message: &str, _options: &[&str])
crates/g3-core/tests/streaming_completion_test.rs:333
Methodprompt_user_choice
(&self, _message: &str, _options: &[&str])
crates/g3-planner/src/llm.rs:328
Methodprompt_user_choice
(&self, message: &str, options: &[&str])
crates/g3-cli/src/ui_writer_impl.rs:1072
Methodprompt_user_yes_no
(&self, _message: &str)
crates/g3-core/src/ui_writer.rs:195
Methodprompt_user_yes_no
(&self, _message: &str)
crates/g3-core/tests/streaming_completion_test.rs:329
Methodprompt_user_yes_no
(&self, _message: &str)
crates/g3-planner/src/llm.rs:324
Methodprompt_user_yes_no
(&self, message: &str)
crates/g3-cli/src/ui_writer_impl.rs:1059
Methodprop
Get a property value
crates/g3-computer-control/src/webdriver/mod.rs:78
Methodquit
(mut self)
crates/g3-computer-control/src/webdriver/safari.rs:228
Methodready_count
Get count of completed but not yet injected research tasks
crates/g3-core/src/pending_research.rs:251
Methodrecord_chunk
Store a raw chunk for debugging (limited to first 20 + last few)
crates/g3-core/src/streaming.rs:203
Methodrecord_first_token
(&mut self)
crates/g3-core/src/streaming.rs:43
Methodrefresh
Refresh the current page
crates/g3-computer-control/src/webdriver/chrome.rs:253
Methodrefresh
Refresh the current page
crates/g3-computer-control/src/webdriver/safari.rs:59
Methodregister
(&mut self, provider: P)
crates/g3-providers/src/lib.rs:383
Methodremaining_tokens
(&self)
crates/g3-core/src/context_window.rs:263
Methodremove
Remove a process from tracking (call after it has been killed)
crates/g3-core/src/background_process.rs:190
Methodrequest_count
Get the number of requests made
crates/g3-providers/src/mock.rs:402
Functionreset_clears_parser_state
()
crates/g3-core/tests/stream_completion_characterization_test.rs:169
Methodreset_json_filter
(&self)
crates/g3-core/tests/streaming_completion_test.rs:320
Methodreset_json_filter
(&self)
crates/g3-cli/src/ui_writer_impl.rs:1102
Functionresolve_paths_in_shell_command_preserves_commands_without_paths
()
crates/g3-core/src/utils.rs:680
Functionresolve_paths_in_shell_command_preserves_existing_paths
()
crates/g3-core/src/utils.rs:686
Methodresolve_thinned_dir
Resolve the directory for storing thinned content.
crates/g3-core/src/context_window.rs:479
Functionrestore_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
Methodresuming
Print "... resuming <session_id> [status]" with cyan session ID.
crates/g3-cli/src/g3_status.rs:202
Methodresuming_summary
(session_id: &str)
crates/g3-cli/src/g3_status.rs:213
Functionrole_matches
(role: &MessageRole, expected: &str)
crates/g3-providers/tests/message_serialization_test.rs:25
Functionrun_diagnostics
Run all Chrome headless diagnostics
crates/g3-computer-control/src/webdriver/diagnostics.rs:107
Functionsame_tool_different_args_not_duplicate
()
crates/g3-core/tests/stream_completion_characterization_test.rs:369
Methodscreenshot
(&mut self, path: &str)
crates/g3-computer-control/src/webdriver/safari.rs:205
Methodsdlc_dir
Get the path to the SDLC directory
crates/studio/src/sdlc.rs:165
Functionsecond_tool_not_checked_against_previous
()
crates/g3-core/tests/stream_completion_characterization_test.rs:403
Methodselect_one
Select a single value (returns None if no match or multiple matches).
crates/g3-core/src/tools/invariants.rs:517
Functionsequential_duplicates_detected
()
crates/g3-core/tests/stream_completion_characterization_test.rs:337
Methodserialize
(&self, serializer: S)
crates/g3-providers/src/anthropic.rs:1011
Methodsessions_dir
Get the sessions metadata directory
crates/studio/src/session.rs:86
Methodset_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
Methodset_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
Methodset_workspace
Set the workspace directory and update related paths
crates/g3-core/src/project.rs:76
Methodset_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
Functionshell_escape_preserves_simple_commands
()
crates/g3-core/src/utils.rs:636
Functionshell_tool_captures_output
()
crates/g3-core/tests/stream_completion_characterization_test.rs:546
Functionshould_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
Functionshould_compact_at_80_percent
()
crates/g3-core/tests/stream_completion_characterization_test.rs:447
Functionstandalone_tool_calls_detected
()
crates/g3-core/tests/stream_completion_characterization_test.rs:713
Methodstate_path
Get the path to the pipeline state file
crates/studio/src/sdlc.rs:160
Methodstatus_summary
Get a summary of the plan status.
crates/g3-core/src/tools/plan.rs:275
Methodstream
(&self, request: CompletionRequest)
crates/g3-providers/src/anthropic.rs:808
Methodstream
(&self, request: CompletionRequest)
crates/g3-providers/src/databricks.rs:782
Methodstream
(&self, request: CompletionRequest)
crates/g3-providers/src/openai.rs:336
Methodstream
(&self, request: CompletionRequest)
crates/g3-providers/src/gemini.rs:580
Methodstream
(&self, request: CompletionRequest)
crates/g3-providers/src/embedded/provider.rs:530
Methodstream_call_count
(&self)
crates/g3-core/tests/streaming_completion_test.rs:53
Methodstream_completion
( &mut self, request: CompletionRequest, show_timing: bool, )
crates/g3-core/src/lib.rs:2113
Methodstreaming
Create a streaming text response with multiple chunks
crates/g3-providers/src/mock.rs:130
Functionstress_test_code_blocks
()
crates/g3-cli/tests/streaming_markdown_test.rs:1326
Functionstress_test_empty_and_minimal
()
crates/g3-cli/tests/streaming_markdown_test.rs:1081
Functionstress_test_escapes_and_special_chars
()
crates/g3-cli/tests/streaming_markdown_test.rs:1129
Functionstress_test_links
()
crates/g3-cli/tests/streaming_markdown_test.rs:1225
Functionstress_test_lists_with_formatting
()
crates/g3-cli/tests/streaming_markdown_test.rs:1176
Functionstress_test_mixed_blocks
()
crates/g3-cli/tests/streaming_markdown_test.rs:1375
Functionstress_test_nested_formatting_combinations
()
crates/g3-cli/tests/streaming_markdown_test.rs:1034
Functionstress_test_nested_lists
()
crates/g3-cli/tests/streaming_markdown_test.rs:1424
Functionstress_test_pathological
()
crates/g3-cli/tests/streaming_markdown_test.rs:1470
Functionstress_test_tables
()
crates/g3-cli/tests/streaming_markdown_test.rs:1285
Methodstrip_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
Methodstrip_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
Methodstrip_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
Methodsubscribe_research_notifications
Subscribe to research completion notifications. Returns None if notifications are not enabled.
crates/g3-core/src/lib.rs:851
Methodsupports_cache_control
(&self)
crates/g3-providers/src/anthropic.rs:884
Methodsupports_cache_control
(&self)
crates/g3-providers/src/databricks.rs:915
Methodswitch_to_window
Switch to a window by handle
crates/g3-computer-control/src/webdriver/chrome.rs:265
Methodswitch_to_window
Switch to a window by handle
crates/g3-computer-control/src/webdriver/safari.rs:71
Methodtake_screenshot
( &self, _path: &str, _region: Option<Rect>, _window_id: Option<&str>, )
crates/g3-computer-control/src/platform/windows.rs:16
Methodtake_screenshot
( &self, path: &str, region: Option<Rect>, window_id: Option<&str>, )
crates/g3-computer-control/src/platform/macos.rs:26
Methodtemperature
(&self)
crates/g3-core/tests/streaming_completion_test.rs:241
Methodtemperature
(&self)
crates/g3-providers/src/anthropic.rs:893
Methodtemperature
(&self)
crates/g3-providers/src/databricks.rs:923
Methodtemperature
(&self)
crates/g3-providers/src/openai.rs:412
Methodtemperature
(&self)
crates/g3-providers/src/gemini.rs:624
Methodtemperature
(&self)
crates/g3-providers/src/embedded/provider.rs:663
Functiontest_1pct_buffer_200k
()
crates/g3-core/src/context_window.rs:820
Functiontest_1pct_buffer_percentage_uses_buffered_total
()
crates/g3-core/src/context_window.rs:841
Functiontest_1pct_buffer_prevents_prompt_too_long_error
()
crates/g3-core/tests/mock_provider_integration_test.rs:1492
Functiontest_1pct_buffer_small
()
crates/g3-core/src/context_window.rs:834
Functiontest_1pct_buffer_zero
()
crates/g3-core/src/context_window.rs:827
← previousnext →1,401–1,500 of 3,053, ranked by callers