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
↓ 13 callers
Method
message_stop
(self)
core/anthropic/streaming/ledger.py:238
↓ 13 callers
Method
provider_smoke_models
Return one smoke model per configured provider, independent of MODEL_*.
smoke/lib/config.py:184
↓ 13 callers
Function
text_content
(events: list[SSEEvent])
core/anthropic/stream_contracts.py:169
↓ 12 callers
Function
_assert_provider_product_stream
(events: list[SSEEvent])
smoke/product/test_provider_product_live.py:227
↓ 12 callers
Function
_make_request
(content: str, **kwargs)
tests/api/test_detection.py:13
↓ 12 callers
Function
auth_headers
(token: str | None = None)
smoke/lib/config.py:386
↓ 12 callers
Method
content_block_start
(self, index: int, block_type: str, **kwargs: Any)
core/anthropic/streaming/ledger.py:242
↓ 12 callers
Method
emit_tool_delta
(self, tool_index: int, partial_json: str)
core/anthropic/streaming/ledger.py:357
↓ 12 callers
Method
ensure_text_block
(self)
core/anthropic/streaming/ledger.py:372
↓ 12 callers
Method
ensure_thinking_block
(self)
core/anthropic/streaming/ledger.py:366
↓ 12 callers
Method
put_queue_unlocked
(self, node_id: str)
messaging/trees/runtime.py:130
↓ 12 callers
Method
read
(self)
tests/cli/test_entrypoints.py:58
↓ 12 callers
Method
shutdown_instance
Shutdown and clear the singleton instance (safe to call multiple times).
messaging/limiter.py:204
↓ 12 callers
Method
start_text_block
(self)
core/anthropic/streaming/ledger.py:312
↓ 11 callers
Function
_launcher_settings
( *, port: int = 8082, token: str = "freecc", )
tests/cli/test_entrypoints.py:16
↓ 11 callers
Function
_script_text
(name: str)
tests/scripts/test_installers.py:12
↓ 11 callers
Function
_set_extra
( extra_body: dict[str, Any], key: str, value: Any, ignore_value: Any = None )
providers/nvidia_nim/request_options.py:100
↓ 11 callers
Method
execute_with_retry
Execute an async callable with rate limiting and retry on transient limits. Waits for the proactive limiter before each attempt. On ``429`` (
providers/rate_limit.py:226
↓ 11 callers
Method
flush_pending_save
(self)
messaging/session/store.py:108
↓ 11 callers
Method
list_model_ids
(self)
tests/providers/test_model_validation.py:328
↓ 11 callers
Function
mock_stream
()
tests/providers/test_nvidia_nim.py:258
↓ 11 callers
Function
run_captured_text
Run a smoke child process with deterministic captured text decoding.
smoke/lib/child_process.py:50
↓ 11 callers
Method
start_thinking_block
(self)
core/anthropic/streaming/ledger.py:298
↓ 11 callers
Function
transcribe_audio
Transcribe audio file to text. Supports: - whisper_device="cpu"/"cuda": local Whisper (requires voice_local extra) - whisper_device=
messaging/transcription.py:86
↓ 11 callers
Method
write
(self, message)
tests/conftest.py:200
↓ 10 callers
Function
_completed_response_from_sse
( chunks: AsyncIterator[str], request: dict[str, object], )
tests/core/openai_responses/test_sse.py:424
↓ 10 callers
Function
_make_settings
(**overrides)
tests/providers/test_provider_runtime.py:31
↓ 10 callers
Method
add_tree
Add a new tree to the repository.
messaging/trees/repository.py:37
↓ 10 callers
Function
assert_canonical_stream_error_envelope
Native transports emit message_start → text error → message_stop.
tests/stream_contract.py:10
↓ 10 callers
Method
cancel
(self, chat_id: str, reply_id: str)
messaging/voice.py:24
↓ 10 callers
Method
close_all_blocks
(self)
core/anthropic/streaming/ledger.py:384
↓ 10 callers
Method
get_queue_size
(self)
messaging/trees/runtime.py:109
↓ 10 callers
Function
is_prefix_detection_request
Check if this is a fast prefix detection request. Prefix detection requests contain a policy_spec block and a Command: section for extracting
api/detection.py:50
↓ 10 callers
Function
is_quota_check_request
Check if this is a quota probe request. Quota checks are typically simple requests with max_tokens=1 and a single message containing the word
api/detection.py:12
↓ 10 callers
Method
iter_sse_from_anthropic
( self, chunks: AsyncIterable[Any], request: Mapping[str, Any], )
core/openai_responses/adapter.py:23
↓ 10 callers
Method
message_start
(self)
core/anthropic/streaming/ledger.py:190
↓ 10 callers
Method
replace_tree_queue
Replace tree queue manager via explicit API.
messaging/workflow.py:106
↓ 10 callers
Function
responses_tool_name_to_anthropic_name
Return a deterministic Anthropic tool name for a Responses tool identity.
core/openai_responses/tools.py:107
↓ 10 callers
Method
send_message
( self, chat_id: str, text: str, reply_to: str | None = None, parse_mo
smoke/lib/e2e.py:344
↓ 10 callers
Method
snapshot
(self)
messaging/trees/runtime.py:175
↓ 10 callers
Method
with_lock
(self)
messaging/trees/runtime.py:116
↓ 9 callers
Function
_collect_sse
(chunks: AsyncIterator[str])
tests/core/openai_responses/test_sse.py:419
↓ 9 callers
Function
_event_index
(event: dict[str, Any])
messaging/transcript/buffer.py:217
↓ 9 callers
Function
_imports_matching
( roots: list[Path], *, forbidden_prefixes: tuple[str, ...] )
tests/contracts/test_import_boundaries.py:608
↓ 9 callers
Function
_make_openai_error
Helper to create openai exceptions with required httpx objects.
tests/providers/test_error_mapping.py:32
↓ 9 callers
Function
_response
(status_code: int, payload: object)
tests/providers/test_model_validation.py:54
↓ 9 callers
Function
_server_for_provider
( smoke_config: SmokeConfig, provider_model: ProviderModel, name: str )
smoke/product/test_provider_product_live.py:546
↓ 9 callers
Function
_settings
( *, model: str = "nvidia_nim/nim-model", model_opus: str | None = None, model_sonnet: str | N
tests/providers/test_model_validation.py:26
↓ 9 callers
Method
_with_retry
Execute a Telegram API call with the platform retry policy.
messaging/platforms/telegram_io.py:58
↓ 9 callers
Method
allocate_index
(self)
core/anthropic/streaming/ledger.py:79
↓ 9 callers
Function
audio_suffix_from_metadata
Choose a temp-file suffix from platform attachment metadata.
messaging/platforms/voice_flow.py:59
↓ 9 callers
Method
cached_model_ids
Return cached raw provider model ids by provider.
providers/runtime/runtime.py:57
↓ 9 callers
Method
cleanup
(self)
tests/providers/test_model_validation.py:317
↓ 9 callers
Method
complete
( self, chat_id: str, voice_msg_id: str, status_msg_id: str )
messaging/voice.py:38
↓ 9 callers
Function
continuation_suffix
(existing: str, candidate: str)
core/anthropic/streaming/recovery.py:322
↓ 9 callers
Method
discard
(self)
core/anthropic/streaming/recovery.py:159
↓ 9 callers
Function
echo_tool_schema
()
smoke/lib/e2e.py:581
↓ 9 callers
Method
from_snapshot
(cls, snapshot: TreeSnapshot)
messaging/trees/runtime.py:179
↓ 9 callers
Function
get_block_type
Return a content block type when present.
core/anthropic/content.py:15
↓ 9 callers
Method
get_or_create_session
Get an existing session or create a new one. Returns: Tuple of (session instance, session_id, is_new_session)
cli/managed/manager.py:57
↓ 9 callers
Method
get_tree
Get a tree by its root ID.
messaging/trees/manager.py:111
↓ 9 callers
Method
has_provider_configuration
(self, provider: str)
smoke/lib/config.py:227
↓ 9 callers
Function
is_filepath_extraction_request
Check if this is a filepath extraction request. Filepath extraction requests have a single user message with "Command:" and "Output:" section
api/detection.py:104
↓ 9 callers
Function
require_loopback_admin
Allow admin access only from the local machine.
api/admin_routes.py:62
↓ 9 callers
Method
start_tool_block
( self, tool_index: int, tool_id: str, name: str, *, extra_con
core/anthropic/streaming/ledger.py:324
↓ 8 callers
Function
_anthropic_tool_stream
( tool_name: str = "echo", partial_json: str = '{"value":"FCC"}', *, include_block_stop: bool
tests/core/openai_responses/test_sse.py:474
↓ 8 callers
Function
_braced_body
(text: str, declaration: str)
tests/scripts/test_uninstallers.py:33
↓ 8 callers
Function
_imports_from
(path: Path, repo_root: Path)
tests/contracts/test_import_boundaries.py:670
↓ 8 callers
Function
_malformed
(provider_name: str, reason: str)
providers/model_listing.py:130
↓ 8 callers
Function
_mk_msg
(role: str, content)
tests/api/test_request_utils_filepaths_and_suggestions.py:21
↓ 8 callers
Method
_process_next
Process the next message in queue, if any.
messaging/trees/processor.py:108
↓ 8 callers
Function
_run_init
Run init() with home directory redirected to tmp_home. Returns (printed output, env_file path).
tests/cli/test_entrypoints.py:29
↓ 8 callers
Function
_run_provider_scenario
( smoke_config: SmokeConfig, provider_model: ProviderModel, scenario, )
smoke/product/test_provider_product_live.py:212
↓ 8 callers
Function
_string_value
(value: Any)
core/openai_responses/streaming/assembler.py:327
↓ 8 callers
Method
advance_failure
( self, error: BaseException, *, stream_opened: bool, generated_output
core/anthropic/streaming/recovery.py:167
↓ 8 callers
Method
all_nodes
(self)
messaging/trees/runtime.py:160
↓ 8 callers
Function
build_codex_model_catalog
Convert FCC `/v1/models` data into Codex `model_catalog_json` payload.
cli/launchers/codex_model_catalog.py:46
↓ 8 callers
Function
build_openai_chat_request_body
Build an OpenAI-compatible chat request body from an Anthropic request.
providers/transports/openai_chat/request_policy.py:32
↓ 8 callers
Method
cache_model_ids
Store raw provider model ids for later instant API responses.
providers/runtime/runtime.py:47
↓ 8 callers
Method
content_block_stop
(self, index: int)
core/anthropic/streaming/ledger.py:291
↓ 8 callers
Method
derive_node_to_tree
(self)
messaging/trees/snapshot.py:83
↓ 8 callers
Function
escape_discord_code
Escape text for Discord code spans/blocks.
messaging/rendering/discord_markdown.py:24
↓ 8 callers
Function
event_index
Return the content block ``index`` field from an SSE payload (strict).
core/anthropic/stream_contracts.py:201
↓ 8 callers
Function
first_local_provider_model_id
Return the first local model id, or skip when the local server is absent.
smoke/lib/local_providers.py:13
↓ 8 callers
Method
format_status
(self, emoji: str, label: str, suffix: str | None = None)
messaging/workflow.py:89
↓ 8 callers
Method
handle
Transcribe a voice note and hand the resulting turn to messaging.
messaging/platforms/voice_flow.py:147
↓ 8 callers
Method
has_emitted_tool_block
(self)
core/anthropic/streaming/ledger.py:564
↓ 8 callers
Function
is_retryable_stream_error
Return whether a provider stream error can be retried/recovered.
core/anthropic/streaming/recovery.py:228
↓ 8 callers
Method
load
(cls)
smoke/lib/config.py:140
↓ 8 callers
Function
maybe_await_aclose
Call ``aclose`` on httpx-like responses; ignore sync test doubles.
providers/transports/http.py:9
↓ 8 callers
Function
parse_allowed_channels
Parse comma-separated Discord channel IDs.
messaging/platforms/discord_inbound.py:18
↓ 8 callers
Method
provider_models
(self)
smoke/lib/config.py:161
↓ 8 callers
Function
required_str
(value: Any, field_name: str)
core/openai_responses/tools.py:252
↓ 8 callers
Function
start_server
( config: SmokeConfig, *, env_overrides: dict[str, str] | None = None, command: list[str] | No
smoke/lib/server.py:35
↓ 8 callers
Method
stop
Stop the CLI process.
cli/managed/session.py:233
↓ 7 callers
Method
__init__
(self, message: str, status_code: int = 500, raw_error: Any = None)
providers/exceptions.py:84
↓ 7 callers
Function
_aiohttp_response
( status: int, *, url: str = "http://8.8.8.8/", location: str | None = None, body: bytes =
tests/api/test_web_server_tools.py:182
↓ 7 callers
Function
_field
(item: Any, name: str)
providers/model_listing.py:118
↓ 7 callers
Method
_get_initial_status
Get initial status message text.
messaging/turn_intake.py:215
↓ 7 callers
Function
_is_gfm_table_header_line
Return whether a line looks like a GFM table header.
messaging/rendering/markdown_tables.py:11
← previous
next →
101–200 of 3,538, ranked by callers