MCPcopy Create free account

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

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

↓ 13 callersMethodmessage_stop
(self)
core/anthropic/streaming/ledger.py:238
↓ 13 callersMethodprovider_smoke_models
Return one smoke model per configured provider, independent of MODEL_*.
smoke/lib/config.py:184
↓ 13 callersFunctiontext_content
(events: list[SSEEvent])
core/anthropic/stream_contracts.py:169
↓ 12 callersFunction_assert_provider_product_stream
(events: list[SSEEvent])
smoke/product/test_provider_product_live.py:227
↓ 12 callersFunction_make_request
(content: str, **kwargs)
tests/api/test_detection.py:13
↓ 12 callersFunctionauth_headers
(token: str | None = None)
smoke/lib/config.py:386
↓ 12 callersMethodcontent_block_start
(self, index: int, block_type: str, **kwargs: Any)
core/anthropic/streaming/ledger.py:242
↓ 12 callersMethodemit_tool_delta
(self, tool_index: int, partial_json: str)
core/anthropic/streaming/ledger.py:357
↓ 12 callersMethodensure_text_block
(self)
core/anthropic/streaming/ledger.py:372
↓ 12 callersMethodensure_thinking_block
(self)
core/anthropic/streaming/ledger.py:366
↓ 12 callersMethodput_queue_unlocked
(self, node_id: str)
messaging/trees/runtime.py:130
↓ 12 callersMethodread
(self)
tests/cli/test_entrypoints.py:58
↓ 12 callersMethodshutdown_instance
Shutdown and clear the singleton instance (safe to call multiple times).
messaging/limiter.py:204
↓ 12 callersMethodstart_text_block
(self)
core/anthropic/streaming/ledger.py:312
↓ 11 callersFunction_launcher_settings
( *, port: int = 8082, token: str = "freecc", )
tests/cli/test_entrypoints.py:16
↓ 11 callersFunction_script_text
(name: str)
tests/scripts/test_installers.py:12
↓ 11 callersFunction_set_extra
( extra_body: dict[str, Any], key: str, value: Any, ignore_value: Any = None )
providers/nvidia_nim/request_options.py:100
↓ 11 callersMethodexecute_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 callersMethodflush_pending_save
(self)
messaging/session/store.py:108
↓ 11 callersMethodlist_model_ids
(self)
tests/providers/test_model_validation.py:328
↓ 11 callersFunctionmock_stream
()
tests/providers/test_nvidia_nim.py:258
↓ 11 callersFunctionrun_captured_text
Run a smoke child process with deterministic captured text decoding.
smoke/lib/child_process.py:50
↓ 11 callersMethodstart_thinking_block
(self)
core/anthropic/streaming/ledger.py:298
↓ 11 callersFunctiontranscribe_audio
Transcribe audio file to text. Supports: - whisper_device="cpu"/"cuda": local Whisper (requires voice_local extra) - whisper_device=
messaging/transcription.py:86
↓ 11 callersMethodwrite
(self, message)
tests/conftest.py:200
↓ 10 callersFunction_completed_response_from_sse
( chunks: AsyncIterator[str], request: dict[str, object], )
tests/core/openai_responses/test_sse.py:424
↓ 10 callersFunction_make_settings
(**overrides)
tests/providers/test_provider_runtime.py:31
↓ 10 callersMethodadd_tree
Add a new tree to the repository.
messaging/trees/repository.py:37
↓ 10 callersFunctionassert_canonical_stream_error_envelope
Native transports emit message_start → text error → message_stop.
tests/stream_contract.py:10
↓ 10 callersMethodcancel
(self, chat_id: str, reply_id: str)
messaging/voice.py:24
↓ 10 callersMethodclose_all_blocks
(self)
core/anthropic/streaming/ledger.py:384
↓ 10 callersMethodget_queue_size
(self)
messaging/trees/runtime.py:109
↓ 10 callersFunctionis_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 callersFunctionis_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 callersMethoditer_sse_from_anthropic
( self, chunks: AsyncIterable[Any], request: Mapping[str, Any], )
core/openai_responses/adapter.py:23
↓ 10 callersMethodmessage_start
(self)
core/anthropic/streaming/ledger.py:190
↓ 10 callersMethodreplace_tree_queue
Replace tree queue manager via explicit API.
messaging/workflow.py:106
↓ 10 callersFunctionresponses_tool_name_to_anthropic_name
Return a deterministic Anthropic tool name for a Responses tool identity.
core/openai_responses/tools.py:107
↓ 10 callersMethodsend_message
( self, chat_id: str, text: str, reply_to: str | None = None, parse_mo
smoke/lib/e2e.py:344
↓ 10 callersMethodsnapshot
(self)
messaging/trees/runtime.py:175
↓ 10 callersMethodwith_lock
(self)
messaging/trees/runtime.py:116
↓ 9 callersFunction_collect_sse
(chunks: AsyncIterator[str])
tests/core/openai_responses/test_sse.py:419
↓ 9 callersFunction_event_index
(event: dict[str, Any])
messaging/transcript/buffer.py:217
↓ 9 callersFunction_imports_matching
( roots: list[Path], *, forbidden_prefixes: tuple[str, ...] )
tests/contracts/test_import_boundaries.py:608
↓ 9 callersFunction_make_openai_error
Helper to create openai exceptions with required httpx objects.
tests/providers/test_error_mapping.py:32
↓ 9 callersFunction_response
(status_code: int, payload: object)
tests/providers/test_model_validation.py:54
↓ 9 callersFunction_server_for_provider
( smoke_config: SmokeConfig, provider_model: ProviderModel, name: str )
smoke/product/test_provider_product_live.py:546
↓ 9 callersFunction_settings
( *, model: str = "nvidia_nim/nim-model", model_opus: str | None = None, model_sonnet: str | N
tests/providers/test_model_validation.py:26
↓ 9 callersMethod_with_retry
Execute a Telegram API call with the platform retry policy.
messaging/platforms/telegram_io.py:58
↓ 9 callersMethodallocate_index
(self)
core/anthropic/streaming/ledger.py:79
↓ 9 callersFunctionaudio_suffix_from_metadata
Choose a temp-file suffix from platform attachment metadata.
messaging/platforms/voice_flow.py:59
↓ 9 callersMethodcached_model_ids
Return cached raw provider model ids by provider.
providers/runtime/runtime.py:57
↓ 9 callersMethodcleanup
(self)
tests/providers/test_model_validation.py:317
↓ 9 callersMethodcomplete
( self, chat_id: str, voice_msg_id: str, status_msg_id: str )
messaging/voice.py:38
↓ 9 callersFunctioncontinuation_suffix
(existing: str, candidate: str)
core/anthropic/streaming/recovery.py:322
↓ 9 callersMethoddiscard
(self)
core/anthropic/streaming/recovery.py:159
↓ 9 callersFunctionecho_tool_schema
()
smoke/lib/e2e.py:581
↓ 9 callersMethodfrom_snapshot
(cls, snapshot: TreeSnapshot)
messaging/trees/runtime.py:179
↓ 9 callersFunctionget_block_type
Return a content block type when present.
core/anthropic/content.py:15
↓ 9 callersMethodget_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 callersMethodget_tree
Get a tree by its root ID.
messaging/trees/manager.py:111
↓ 9 callersMethodhas_provider_configuration
(self, provider: str)
smoke/lib/config.py:227
↓ 9 callersFunctionis_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 callersFunctionrequire_loopback_admin
Allow admin access only from the local machine.
api/admin_routes.py:62
↓ 9 callersMethodstart_tool_block
( self, tool_index: int, tool_id: str, name: str, *, extra_con
core/anthropic/streaming/ledger.py:324
↓ 8 callersFunction_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 callersFunction_braced_body
(text: str, declaration: str)
tests/scripts/test_uninstallers.py:33
↓ 8 callersFunction_imports_from
(path: Path, repo_root: Path)
tests/contracts/test_import_boundaries.py:670
↓ 8 callersFunction_malformed
(provider_name: str, reason: str)
providers/model_listing.py:130
↓ 8 callersFunction_mk_msg
(role: str, content)
tests/api/test_request_utils_filepaths_and_suggestions.py:21
↓ 8 callersMethod_process_next
Process the next message in queue, if any.
messaging/trees/processor.py:108
↓ 8 callersFunction_run_init
Run init() with home directory redirected to tmp_home. Returns (printed output, env_file path).
tests/cli/test_entrypoints.py:29
↓ 8 callersFunction_run_provider_scenario
( smoke_config: SmokeConfig, provider_model: ProviderModel, scenario, )
smoke/product/test_provider_product_live.py:212
↓ 8 callersFunction_string_value
(value: Any)
core/openai_responses/streaming/assembler.py:327
↓ 8 callersMethodadvance_failure
( self, error: BaseException, *, stream_opened: bool, generated_output
core/anthropic/streaming/recovery.py:167
↓ 8 callersMethodall_nodes
(self)
messaging/trees/runtime.py:160
↓ 8 callersFunctionbuild_codex_model_catalog
Convert FCC `/v1/models` data into Codex `model_catalog_json` payload.
cli/launchers/codex_model_catalog.py:46
↓ 8 callersFunctionbuild_openai_chat_request_body
Build an OpenAI-compatible chat request body from an Anthropic request.
providers/transports/openai_chat/request_policy.py:32
↓ 8 callersMethodcache_model_ids
Store raw provider model ids for later instant API responses.
providers/runtime/runtime.py:47
↓ 8 callersMethodcontent_block_stop
(self, index: int)
core/anthropic/streaming/ledger.py:291
↓ 8 callersMethodderive_node_to_tree
(self)
messaging/trees/snapshot.py:83
↓ 8 callersFunctionescape_discord_code
Escape text for Discord code spans/blocks.
messaging/rendering/discord_markdown.py:24
↓ 8 callersFunctionevent_index
Return the content block ``index`` field from an SSE payload (strict).
core/anthropic/stream_contracts.py:201
↓ 8 callersFunctionfirst_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 callersMethodformat_status
(self, emoji: str, label: str, suffix: str | None = None)
messaging/workflow.py:89
↓ 8 callersMethodhandle
Transcribe a voice note and hand the resulting turn to messaging.
messaging/platforms/voice_flow.py:147
↓ 8 callersMethodhas_emitted_tool_block
(self)
core/anthropic/streaming/ledger.py:564
↓ 8 callersFunctionis_retryable_stream_error
Return whether a provider stream error can be retried/recovered.
core/anthropic/streaming/recovery.py:228
↓ 8 callersMethodload
(cls)
smoke/lib/config.py:140
↓ 8 callersFunctionmaybe_await_aclose
Call ``aclose`` on httpx-like responses; ignore sync test doubles.
providers/transports/http.py:9
↓ 8 callersFunctionparse_allowed_channels
Parse comma-separated Discord channel IDs.
messaging/platforms/discord_inbound.py:18
↓ 8 callersMethodprovider_models
(self)
smoke/lib/config.py:161
↓ 8 callersFunctionrequired_str
(value: Any, field_name: str)
core/openai_responses/tools.py:252
↓ 8 callersFunctionstart_server
( config: SmokeConfig, *, env_overrides: dict[str, str] | None = None, command: list[str] | No
smoke/lib/server.py:35
↓ 8 callersMethodstop
Stop the CLI process.
cli/managed/session.py:233
↓ 7 callersMethod__init__
(self, message: str, status_code: int = 500, raw_error: Any = None)
providers/exceptions.py:84
↓ 7 callersFunction_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 callersFunction_field
(item: Any, name: str)
providers/model_listing.py:118
↓ 7 callersMethod_get_initial_status
Get initial status message text.
messaging/turn_intake.py:215
↓ 7 callersFunction_is_gfm_table_header_line
Return whether a line looks like a GFM table header.
messaging/rendering/markdown_tables.py:11
← previousnext →101–200 of 3,538, ranked by callers