Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Alishahryar1/free-claude-code
/ functions
Functions
3,538 in github.com/Alishahryar1/free-claude-code
⨍
Functions
3,538
◇
Types & classes
344
↳
Endpoints
62
↓ 2 callers
Method
_snapshot_for_write
( self, *, expected_generation: int | None = None )
messaging/session/persistence.py:86
↓ 2 callers
Method
_start_messaging_if_configured
(self)
api/runtime.py:180
↓ 2 callers
Method
_start_text_block
(self, index: int)
core/openai_responses/streaming/assembler.py:200
↓ 2 callers
Function
_string_value
(value: Any)
cli/launchers/codex_model_catalog.py:185
↓ 2 callers
Method
_strip_control_tokens
(self, text: str)
core/anthropic/tools.py:81
↓ 2 callers
Function
_strip_env_assignments
Return command parts after leading shell-style env assignments.
api/command_utils.py:14
↓ 2 callers
Function
_subagent_probe_options
( agents: str, )
smoke/lib/claude_cli_matrix.py:572
↓ 2 callers
Function
_synthetic_start_content_block
Build a `content_block` for a `content_block_start` with empty streaming fields.
core/anthropic/native_sse_block_policy.py:85
↓ 2 callers
Function
_text_parts_from_items
(value: Any, *, item_type: str)
core/openai_responses/reasoning.py:43
↓ 2 callers
Function
_think_tag_content
(reasoning: str)
core/anthropic/conversion.py:63
↓ 2 callers
Function
_thought_signature_from_extra_content
(extra_content: Any)
providers/gemini/quirks.py:60
↓ 2 callers
Method
_title_gen_system
(self)
tests/api/test_request_utils.py:115
↓ 2 callers
Function
_tool_attr
(tool: Any, attr: str)
core/anthropic/streaming/recovery.py:388
↓ 2 callers
Function
_tool_call_from_tool_use
(block: Any)
core/anthropic/conversion.py:67
↓ 2 callers
Function
_tool_call_thought_signature
(tool_call: dict[str, Any])
providers/gemini/quirks.py:70
↓ 2 callers
Function
_tool_catalog_has
(log_delta: str, tool_name: str)
smoke/lib/claude_cli_matrix.py:709
↓ 2 callers
Function
_tool_name_part
(value: str)
core/openai_responses/tools.py:369
↓ 2 callers
Function
_tool_use_blocks_or_skip
( events: list[SSEEvent], message: str )
smoke/product/test_provider_product_live.py:232
↓ 2 callers
Function
_usage_int
(usage_info: Any, key: str)
providers/deepseek/client.py:45
↓ 2 callers
Function
_walk_block_list_for_unsupported
(blocks: Any, *, where: str)
providers/deepseek/compat.py:235
↓ 2 callers
Method
_wire_tree_callbacks
(self)
messaging/workflow.py:81
↓ 2 callers
Function
_write_mock_uv
(bin_dir: Path, *, message: str, exit_code: int)
tests/scripts/test_uninstallers.py:70
↓ 2 callers
Method
_write_pending
(self, pending: _PendingWrite)
messaging/session/persistence.py:77
↓ 2 callers
Method
aclose
(self)
tests/providers/test_wafer.py:31
↓ 2 callers
Method
add
(i: int)
tests/messaging/test_tree_concurrency.py:43
↓ 2 callers
Method
aiter_bytes
(self, chunk_size: int = 65_536)
tests/providers/test_wafer.py:34
↓ 2 callers
Method
all_trees
Get all trees in the repository.
messaging/trees/repository.py:113
↓ 2 callers
Function
anthropic_sse_streaming_response
Return a streaming response for Anthropic-style SSE streams.
api/response_streams.py:12
↓ 2 callers
Function
api_messages_request_snapshot
Return a sanitized snapshot of an Anthropic ``MessagesRequest``-like body.
core/trace.py:63
↓ 2 callers
Method
append_tool_repair_suffix
(self, tool_index: int, suffix: str)
core/anthropic/streaming/ledger.py:486
↓ 2 callers
Function
apply_blockquote
(val: str)
messaging/rendering/discord_markdown.py:138
↓ 2 callers
Function
apply_blockquote
(val: str)
messaging/rendering/telegram_markdown.py:146
↓ 2 callers
Function
assistant_content_from_events
(events: list[SSEEvent])
smoke/lib/e2e.py:593
↓ 2 callers
Function
attach_provider_error_body
Attach a streamed HTTP error body to an exception for later formatting.
providers/error_mapping.py:36
↓ 2 callers
Function
body_without_nim_tool_argument_aliases
Return a request body with private alias metadata stripped before upstream I/O.
providers/nvidia_nim/tool_schema.py:89
↓ 2 callers
Function
boom
()
tests/api/test_runtime_safe_logging.py:47
↓ 2 callers
Function
build_managed_claude_env
Return a Claude Code task environment that targets the local proxy.
cli/managed/claude.py:99
↓ 2 callers
Function
call_id_from_item
(item: Mapping[str, Any])
core/openai_responses/tools.py:245
↓ 2 callers
Method
cancel_all
Cancel all messages in all trees.
messaging/trees/manager.py:295
↓ 2 callers
Method
cancel_current_task
(self)
messaging/trees/runtime.py:136
↓ 2 callers
Method
cancel_node
Cancel a single node (queued or in-progress) without affecting other nodes. Returns: List containing the cancelled node
messaging/trees/manager.py:258
↓ 2 callers
Function
claude_auth_token
Return the Claude Code auth marker for proxy-auth or no-auth sessions.
cli/claude_env.py:10
↓ 2 callers
Method
cleanup
Cancel discovery, clean provider instances, and clear model metadata.
providers/runtime/runtime.py:87
↓ 2 callers
Method
cleanup_stale_nodes
Mark any PENDING or IN_PROGRESS nodes in all trees as ERROR. Used on startup to reconcile restored state.
messaging/trees/manager.py:304
↓ 2 callers
Method
clear_all
(self)
messaging/session/store.py:138
↓ 2 callers
Function
clone_body_without_chat_template
Clone a request body and strip only chat_template.
providers/nvidia_nim/retry.py:15
↓ 2 callers
Method
close_for_tool_result
(self, tool_id: str, *, tool_name: str | None)
messaging/transcript/subagents.py:42
↓ 2 callers
Method
close_unclosed_blocks
(self)
core/anthropic/streaming/ledger.py:456
↓ 2 callers
Function
cloudflare_ai_base_url
Return the account-scoped Cloudflare AI REST base URL.
providers/cloudflare/client.py:29
↓ 2 callers
Function
cmd_fcc_init
()
smoke/lib/child_process.py:42
↓ 2 callers
Function
cmd_free_claude_code_serve
()
smoke/lib/child_process.py:46
↓ 2 callers
Function
collect_message_stream
( server: RunningServer, payload: dict[str, Any], config: SmokeConfig, *, headers: dict[st
smoke/lib/http.py:50
↓ 2 callers
Method
complete_pending_voice
Mark a voice note as no longer pending.
messaging/platforms/voice_flow.py:141
↓ 2 callers
Method
complete_response
(self)
core/openai_responses/streaming/assembler.py:93
↓ 2 callers
Function
content_text
(content: Any)
api/web_tools/parsers.py:81
↓ 2 callers
Method
convert_tool_choice
(tool_choice: Any)
core/anthropic/conversion.py:495
↓ 2 callers
Method
create
Create a streaming OpenAI Responses-compatible response.
api/handlers/responses.py:48
↓ 2 callers
Method
delete_message
Delete a Telegram message immediately.
messaging/platforms/telegram_io.py:168
↓ 2 callers
Method
delete_message
(self, chat_id: str, message_id: str)
smoke/lib/e2e.py:382
↓ 2 callers
Function
discord_code_inline
Format text as inline code in Discord.
messaging/rendering/discord_markdown.py:34
↓ 2 callers
Function
discord_text_message_from_event
Normalize a Discord message into an incoming text message.
messaging/platforms/discord_inbound.py:33
↓ 2 callers
Function
dotenv_values_from_file
Return dotenv values from a file, or an empty mapping when absent.
api/admin_config/sources.py:74
↓ 2 callers
Function
dump_raw_messages_request
Public JSON-ready dict of Anthropic public request fields (for native adapters).
core/anthropic/native_messages_request.py:127
↓ 2 callers
Method
emit_top_level_error
(self, error_message: str)
core/anthropic/streaming/ledger.py:396
↓ 2 callers
Function
env_file_override
Return the last configured dotenv value that explicitly defines a key.
config/env_files.py:72
↓ 2 callers
Function
event_names
(events: list[SSEEvent])
core/anthropic/stream_contracts.py:165
↓ 2 callers
Method
events
Build recovery events, or return None when recovery is impossible.
providers/transports/openai_chat/recovery.py:86
↓ 2 callers
Method
events
Build recovery events, or return None when recovery is impossible.
providers/transports/anthropic_messages/recovery.py:118
↓ 2 callers
Function
explicit_env_path
Return the explicit FCC_ENV_FILE path, when configured.
api/admin_config/sources.py:41
↓ 2 callers
Function
extract_filepaths_from_command
Extract file paths from a command locally without API call. Determines if the command reads file contents and extracts paths accordingly. Com
api/command_utils.py:87
↓ 2 callers
Function
extract_openai_model_ids
Extract model ids from an OpenAI-compatible ``/models`` response.
providers/model_listing.py:31
↓ 2 callers
Function
extract_openrouter_tool_model_infos
Extract OpenRouter tool-capable model ids with thinking capability metadata.
providers/model_listing.py:61
↓ 2 callers
Function
fail_missing_env
(reason: str)
smoke/lib/skips.py:32
↓ 2 callers
Method
fire
(self, *, force: bool = False)
tests/messaging/test_session_store_edge_cases.py:55
↓ 2 callers
Method
flush
(self)
messaging/session/persistence.py:65
↓ 2 callers
Method
flush
(self)
core/anthropic/streaming/recovery.py:107
↓ 2 callers
Method
for_app
( cls, app: FastAPI, settings: Settings | None = None, )
api/runtime.py:99
↓ 2 callers
Method
from_json
(cls, raw_log: Any, *, cap: int | None = None)
messaging/session/message_log.py:22
↓ 2 callers
Method
get_children
(self, node_id: str)
messaging/trees/runtime.py:68
↓ 2 callers
Method
get_node
Get a node from any tree.
messaging/trees/repository.py:32
↓ 2 callers
Method
get_nowait
(self)
messaging/trees/queue.py:22
↓ 2 callers
Method
get_parent
(self, node_id: str)
messaging/trees/graph.py:58
↓ 2 callers
Method
get_pending_children
Get all pending child nodes (recursively) of a given node.
messaging/trees/manager.py:164
↓ 2 callers
Method
get_queue_size
Get queue size for the tree containing a node.
messaging/trees/manager.py:160
↓ 2 callers
Function
get_settings
Return cached :class:`~config.settings.Settings` (FastAPI-friendly alias).
api/dependencies.py:22
↓ 2 callers
Function
has_committed_sse_output
Return whether any assistant content escaped the builder.
providers/transports/openai_chat/tool_calls.py:67
↓ 2 callers
Method
has_provider
Return whether this provider has any cached model-list result.
providers/runtime/model_cache.py:37
↓ 2 callers
Function
has_tool_named
(request: MessagesRequest, name: str)
api/web_tools/request.py:41
↓ 2 callers
Method
is_current_node
(self, node_id: str)
messaging/trees/runtime.py:127
↓ 2 callers
Method
is_node_tree_busy
Check if the tree containing a node is busy.
messaging/trees/manager.py:131
↓ 2 callers
Function
iter_provider_stream_error_sse_events
Yield message_start (if needed), a text block with the error, then message_delta/stop.
core/anthropic/provider_stream_error.py:12
↓ 2 callers
Function
kill_all_best_effort
Kill any still-running registered pids (best-effort).
cli/process_registry.py:71
↓ 2 callers
Function
load
()
api/admin_static/admin.js:78
↓ 2 callers
Function
make_chat_key
(platform: str, chat_id: str)
messaging/session/message_log.py:115
↓ 2 callers
Function
make_tool_repair_body
Build a text-only request asking for a JSON suffix.
core/anthropic/streaming/recovery.py:363
↓ 2 callers
Function
map_stop_reason
Map OpenAI ``finish_reason`` values to Anthropic ``stop_reason`` values.
core/anthropic/streaming/emitter.py:24
↓ 2 callers
Function
maybe_provider_runtime
Return the app-scoped provider runtime when it is installed.
api/dependencies.py:38
↓ 2 callers
Function
mock_stream
()
tests/providers/test_codestral.py:127
↓ 2 callers
Function
mock_stream
()
tests/providers/test_cerebras.py:171
↓ 2 callers
Function
mock_stream
()
tests/providers/test_groq.py:186
← previous
next →
601–700 of 3,538, ranked by callers