MCPcopy Create free account

hub / github.com/Alishahryar1/free-claude-code / functions

Functions3,538 in github.com/Alishahryar1/free-claude-code

↓ 2 callersFunctionmock_stream
()
tests/providers/test_mistral.py:127
↓ 2 callersFunctionmodel_list_provider_ids_for_settings
Return providers worth discovering for this process configuration.
providers/runtime/discovery.py:29
↓ 2 callersFunctionnew_call_id
()
core/openai_responses/ids.py:20
↓ 2 callersFunctionnim_tool_argument_aliases_from_body
Return validated private NIM tool argument aliases from a built body.
providers/nvidia_nim/tool_schema.py:67
↓ 2 callersFunctionnormalize_for_env
Normalize a submitted admin value for dotenv persistence.
api/admin_config/values.py:25
↓ 2 callersMethodnotify_queue_updated
Invoke the queue update callback after external queue mutations.
messaging/trees/processor.py:55
↓ 2 callersMethodnvidia_nim_cli_models
Return the NVIDIA NIM models for Claude Code CLI characterization.
smoke/lib/config.py:201
↓ 2 callersMethodon_message
Register the workflow callback for inbound messages.
messaging/platforms/telegram.py:189
↓ 2 callersMethodopenrouter_free_cli_models
Return OpenRouter free models for Claude Code CLI characterization.
smoke/lib/config.py:208
↓ 2 callersFunctionparse_arguments
(value: Any)
core/openai_responses/tools.py:186
↓ 2 callersFunctionparse_native_sse_event
Extract the event name and raw data payload from an SSE event.
core/anthropic/native_sse_block_policy.py:53
↓ 2 callersFunctionparse_sse_event
(raw: str)
core/openai_responses/anthropic_sse.py:39
↓ 2 callersMethodpop_active_block
(self, index: int)
core/openai_responses/streaming/ledger.py:29
↓ 2 callersMethodprocess_node
Process a single node and then check the queue.
messaging/trees/processor.py:72
↓ 2 callersFunctionprocess_parsed_cli_event
Process a single parsed CLI event. Returns (last_status, had_transcript_events).
messaging/node_event_pipeline.py:59
↓ 2 callersFunctionprovider_credential
Return the configured credential for a provider descriptor.
providers/runtime/config.py:19
↓ 2 callersFunctionprovider_model_id
(provider_model: ProviderModel)
smoke/conftest.py:120
↓ 2 callersFunctionprovider_query_failure_reason
Return a concise model-list query failure reason for user-facing logs.
providers/runtime/validation.py:28
↓ 2 callersMethodqueue_delete_message
( self, chat_id: str, message_id: str, fire_and_forget: bool = True, )
smoke/lib/e2e.py:413
↓ 2 callersMethodqueue_delete_messages
( self, chat_id: str, message_ids: list[str], fire_and_forget: bool = True,
smoke/lib/e2e.py:421
↓ 2 callersFunctionread_log_delta
Return smoke server log text written after ``offset``.
smoke/lib/claude_cli_matrix.py:244
↓ 2 callersFunctionread_log_offset
Return the current text length of a smoke server log.
smoke/lib/claude_cli_matrix.py:237
↓ 2 callersFunctionreasoning_output_item
( state: ReasoningBlockState, *, status: str )
core/openai_responses/streaming/completion.py:145
↓ 2 callersFunctionregister_pid
(pid: int)
cli/process_registry.py:32
↓ 2 callersMethodremove_branch
(self, branch_root_id: str)
messaging/trees/runtime.py:172
↓ 2 callersMethodremove_from_queue
(self, node_id: str)
messaging/trees/runtime.py:112
↓ 2 callersMethodremove_session
(self, session_id: str)
messaging/managed_protocols.py:35
↓ 2 callersMethodremove_session
Remove a session from the manager.
cli/managed/manager.py:107
↓ 2 callersMethodremove_tree_snapshot
(self, root_id: str)
messaging/session/store.py:103
↓ 2 callersFunctionrender_inline
(children)
messaging/rendering/discord_markdown.py:74
↓ 2 callersFunctionrender_segments
( segments: Iterable[Segment], ctx: RenderCtx, *, limit_chars: int, status: str | None, )
messaging/transcript/renderer.py:12
↓ 2 callersMethodreply_if_disabled
Reply with the disabled message when voice-note handling is disabled.
messaging/platforms/voice_flow.py:116
↓ 2 callersFunctionresolve_client_binary
Resolve an installed client binary or exit with a user-facing hint.
cli/launchers/common.py:42
↓ 2 callersMethodresolve_messages_request
Return an internal routed request context.
api/model_router.py:133
↓ 2 callersMethodresolve_token_count_request
Return an internal token-count request context.
api/model_router.py:142
↓ 2 callersFunctionrun
()
tests/core/test_strict_sliding_window.py:24
↓ 2 callersFunctionrun_cli_feature_probes
( *, claude_bin: str, server: RunningServer, smoke_config: SmokeConfig, provider_model: Pr
smoke/lib/claude_cli_matrix.py:206
↓ 2 callersFunctionrun_client_process
Run a client CLI command and mirror its exit code.
cli/launchers/common.py:61
↓ 2 callersMethodsafe_text_index
(self, index: int | None)
core/openai_responses/streaming/ledger.py:81
↓ 2 callersFunctionsanitize_native_messages_thinking_policy
Filter assistant message thinking blocks for upstream native Anthropic JSON. When ``thinking_enabled`` is false, remove ``thinking`` and ``redact
core/anthropic/native_messages_request.py:132
↓ 2 callersFunctionsetActiveView
(viewId, { scroll = false } = {})
api/admin_static/admin.js:113
↓ 2 callersMethodset_current_task
(self, task: asyncio.Task | None)
messaging/trees/runtime.py:133
↓ 2 callersFunctionsettings_env_files
Return Settings dotenv files in low-to-high precedence order.
config/env_files.py:32
↓ 2 callersFunctionshowValidationResult
(result)
api/admin_static/admin.js:374
↓ 2 callersMethodshutdown
Stop the background worker so process shutdown doesn't hang.
messaging/limiter.py:172
↓ 2 callersMethodstart
Initialize and connect to Telegram.
messaging/platforms/telegram.py:105
↓ 2 callersFunctionstartup_failure_message
Return a concise startup failure message for logs and ASGI lifespan failure.
api/runtime.py:76
↓ 2 callersFunctionstatusClass
(status)
api/admin_static/admin.js:60
↓ 2 callersMethodstop
Stop Discord SDK resources.
messaging/platforms/discord.py:213
↓ 2 callersMethodstop_all
Stop all sessions.
cli/managed/manager.py:125
↓ 2 callersMethodstop_all
(self)
smoke/lib/e2e.py:488
↓ 2 callersFunctiontarget_values_with_updates
Return managed env values after applying admin updates.
api/admin_config/persistence.py:17
↓ 2 callersFunctiontask_heading_from_input
(input_value: Any)
messaging/transcript/subagents.py:94
↓ 2 callersFunctiontemplate_values
Return .env.example values plus manifest defaults for newer fields.
api/admin_config/sources.py:65
↓ 2 callersMethodtool_block_for_tool_index
(self, tool_index: int)
core/anthropic/streaming/ledger.py:555
↓ 2 callersMethodtool_result_payload
()
smoke/lib/e2e.py:240
↓ 2 callersMethodtranscribe
( self, file_path: Path, mime_type: str, *, whisper_model: str,
messaging/voice.py:58
↓ 2 callersMethodtree_ids
Get all tree root IDs.
messaging/trees/repository.py:117
↓ 2 callersFunctiontry_quota_mock
Mock quota probe requests.
api/optimization_handlers.py:61
↓ 2 callersFunctiontry_suggestion_skip
Skip suggestion mode requests.
api/optimization_handlers.py:97
↓ 2 callersFunctiontry_title_skip
Skip title generation requests.
api/optimization_handlers.py:79
↓ 2 callersMethodunregister_node_lookups
Remove node and status-message lookup IDs for removed nodes.
messaging/trees/repository.py:126
↓ 2 callersMethodupdate_state
( self, node_id: str, state: MessageState, session_id: str | None = None,
messaging/trees/runtime.py:77
↓ 2 callersFunctionvalidate
(showResult = true)
api/admin_static/admin.js:363
↓ 2 callersFunctionvalidate_openrouter_extra_body
Reject ``extra_body`` keys that must not override routed request fields.
core/anthropic/native_messages_request.py:59
↓ 2 callersFunctionvalidate_updates
Validate partial admin updates and return a masked generated env preview.
api/admin_config/persistence.py:62
↓ 2 callersFunctionwrite_codex_model_catalog
Atomically write a Codex model catalog JSON file.
cli/launchers/codex_model_catalog.py:72
↓ 2 callersMethodwrite_data
(self, data: dict[str, Any])
messaging/session/persistence.py:114
↓ 2 callersMethodwrite_tone_wav
(path: Path)
smoke/lib/e2e.py:564
↓ 1 callersMethod__init__
( self, interval: float, function: Callable[..., None], args: tuple[Any, ...]
tests/messaging/test_session_store_edge_cases.py:33
↓ 1 callersMethod__init__
(self, text: str)
tests/messaging/test_transcript.py:315
↓ 1 callersMethod__init__
(self, seconds)
tests/messaging/test_limiter.py:115
↓ 1 callersMethod__init__
(self, *, thinking_enabled: bool = True, body: dict | None = None)
tests/providers/test_anthropic_messages.py:38
↓ 1 callersMethod__init__
(self, *, status_code=200, lines=None, text="")
tests/providers/test_wafer.py:19
↓ 1 callersMethod__init__
(self, chunks, error=None)
tests/providers/test_streaming_errors.py:36
↓ 1 callersMethod__init__
(self)
api/web_tools/parsers.py:52
↓ 1 callersMethod_acquire_proactive_slot
Acquire a proactive slot enforcing a strict rolling window. Guarantees: at most `self._rate_limit` acquisitions in any interval of l
providers/rate_limit.py:177
↓ 1 callersFunction_admin_browser_open_enabled
Whether to open /admin when the server becomes reachable (FCC_OPEN_BROWSER).
cli/entrypoints.py:51
↓ 1 callersMethod_aiter
(self)
tests/providers/test_streaming_errors.py:43
↓ 1 callersFunction_alias_nim_schema_property_names
( value: Any, *, reserved: set[str], alias_to_original: dict[str, str], original_to_alias:
providers/nvidia_nim/tool_schema.py:176
↓ 1 callersFunction_alias_nim_tool_parameters
( parameters: dict[str, Any], )
providers/nvidia_nim/tool_schema.py:243
↓ 1 callersMethod_all_tree_nodes_terminal
(self)
smoke/lib/e2e.py:553
↓ 1 callersFunction_anthropic_interleaved_reasoning_stream
()
tests/api/test_openai_responses.py:679
↓ 1 callersFunction_anthropic_redacted_thinking_stream
()
tests/api/test_openai_responses.py:802
↓ 1 callersMethod_anthropic_usage_fields
Return provider-specific Anthropic usage fields for final SSE usage.
providers/transports/openai_chat/transport.py:110
↓ 1 callersMethod_append_complete_tool_use
(self, event: dict[str, Any])
messaging/transcript/buffer.py:160
↓ 1 callersFunction_append_input_item
( item: Any, *, messages: list[dict[str, Any]], system_parts: list[str], pending_reasoning
core/openai_responses/input.py:81
↓ 1 callersMethod_append_text
(self, index: int, text: str)
messaging/transcript/buffer.py:131
↓ 1 callersMethod_append_thinking
(self, index: int, text: str)
messaging/transcript/buffer.py:114
↓ 1 callersMethod_append_tool_result
(self, event: dict[str, Any])
messaging/transcript/buffer.py:185
↓ 1 callersFunction_apply_cached_tool_call_signatures
( messages: list[Any], tool_call_extra_content_by_id: dict[str, dict[str, Any]] )
providers/gemini/quirks.py:110
↓ 1 callersFunction_apply_common_openai_chat_policy
( body: dict[str, Any], policy: OpenAIChatRequestPolicy )
providers/transports/openai_chat/request_policy.py:76
↓ 1 callersFunction_apply_extra_body_policy
( body: dict[str, Any], request_data: Any, policy: NativeMessagesRequestPolicy, )
providers/transports/anthropic_messages/request_policy.py:95
↓ 1 callersFunction_apply_gemini_3_missing_current_turn_signatures
( body: dict[str, Any], messages: list[Any] )
providers/gemini/quirks.py:139
↓ 1 callersFunction_apply_gemini_tool_call_signatures
( body: dict[str, Any], *, tool_call_extra_content_by_id: dict[str, dict[str, Any]] | None, )
providers/gemini/quirks.py:162
↓ 1 callersMethod_apply_message_routing_policies
( self, routed: RoutedMessagesRequest )
api/handlers/messages.py:103
↓ 1 callersFunction_apply_openrouter_reasoning_policy
Map Anthropic thinking controls onto OpenRouter reasoning controls.
core/anthropic/native_messages_request.py:202
↓ 1 callersFunction_apply_thinking_config
(extra_body: dict[str, Any])
providers/gemini/quirks.py:47
↓ 1 callersFunction_as_int
(s: str)
messaging/commands.py:100
↓ 1 callersFunction_assert_owner_exists
(owner: str, repo_root: Path, test_names: set[str])
tests/contracts/test_feature_manifest.py:114
← previousnext →701–800 of 3,538, ranked by callers