Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/c4pt0r/pie
/ functions
Functions
2,618 in github.com/c4pt0r/pie
⨍
Functions
2,618
◇
Types & classes
570
Function
bash_captures_stdout_and_exit
()
crates/coding-agent/tests/tools.rs:100
Function
bash_reports_nonzero_exit
()
crates/coding-agent/tests/tools.rs:491
Method
basic
(event: HookEvent)
crates/coding-agent/src/hooks.rs:695
Function
before_tool_call_can_veto_execution
()
crates/agent/tests/agent_loop.rs:221
Function
before_trigger_default_allow_keeps_state_accepted
()
crates/agent/tests/harness_e2e.rs:1717
Function
before_trigger_deny_records_permission_denied_state_and_reason
()
crates/agent/tests/harness_e2e.rs:1749
Function
before_trigger_hook_does_not_run_on_deduped_path
()
crates/agent/tests/harness_e2e.rs:2335
Function
before_trigger_prompt_abort_cancels_in_flight_prompt_hook
()
crates/agent/tests/harness_e2e.rs:2252
Function
before_trigger_prompt_allow_admits_trigger_and_binds_source_identity
()
crates/agent/tests/harness_e2e.rs:1944
Function
before_trigger_prompt_prefers_meta_binding_over_legacy_top_level_fields
()
crates/agent/tests/harness_e2e.rs:2058
Function
before_trigger_prompt_records_needs_approval_state_and_reason
()
crates/agent/tests/harness_e2e.rs:1831
Function
before_trigger_prompt_rejects_untrusted_payload_identity_fields_and_caps_reasons
()
crates/agent/tests/harness_e2e.rs:2117
Function
bind_addr_accepts_loopback_and_localhost
()
crates/coding-agent/src/ui/web.rs:896
Function
bind_addr_rejects_remote_by_default
()
crates/coding-agent/src/ui/web.rs:885
Function
body_has_affinity_independent_messages
()
crates/ai/src/providers/mistral.rs:513
Function
body_has_contents_and_system_instruction
()
crates/ai/src/providers/google.rs:481
Function
body_has_converse_shape
()
crates/ai/src/providers/amazon_bedrock.rs:498
Function
body_has_messages_and_stream_options
()
crates/ai/src/providers/openai_completions.rs:710
Function
body_includes_system_prompt
()
crates/ai/src/providers/openai_responses.rs:869
Function
body_uses_instructions_not_system_message
()
crates/ai/src/providers/openai_codex_responses.rs:262
Function
bold_inline_emits_ansi
()
crates/coding-agent/src/markdown.rs:147
Function
boolean
JSON Schema for a required boolean.
crates/ai/src/utils/typebox_helpers.rs:13
Function
branch_walks_parent_chain_in_root_to_leaf_order
()
crates/agent/tests/session_storage.rs:115
Function
budget_cap_blocks_new_prompts_after_cap_reached
()
crates/agent/tests/harness_e2e.rs:381
Function
bug_report_redacts_secrets_from_seeded_log
()
crates/coding-agent/tests/bug_report_e2e.rs:74
Function
build_jwt_emits_three_dot_separated_parts
()
crates/ai/src/vertex_adc.rs:168
Function
build_session_context_skips_trigger_custom_entries
()
crates/agent/tests/harness_e2e.rs:847
Function
builtin_cannot_be_removed
()
crates/coding-agent/src/tools/remove_skill.rs:496
Function
cache_control_applied_to_system_and_last_user
()
crates/ai/src/providers/anthropic.rs:803
Function
cancellation_kills_child_process
()
crates/coding-agent/src/tools/bash.rs:444
Function
canonical_query_is_sorted_and_encoded
()
crates/ai/src/sigv4.rs:275
Function
cap_at_max_entries
()
crates/coding-agent/src/history.rs:103
Function
captured_handle_still_returns_mismatch_error_stream
()
crates/ai/src/api_registry.rs:315
Method
catalog
(&self)
crates/mcp/src/client.rs:223
Function
catalog_is_populated
()
crates/ai/tests/models_catalog.rs:7
Function
catalog_keeps_openai_and_anthropic_families_only
()
crates/coding-agent/src/model_picker.rs:220
Function
catalog_sorts_models_and_flags_credentials
()
crates/coding-agent/src/model_picker.rs:245
Function
chinese_content_renders_unchanged
()
crates/coding-agent/tests/tui_render_e2e.rs:430
Function
cjk_text_survives_wrapping
()
crates/coding-agent/src/ui/feed.rs:862
Function
cjk_truncation_respects_token_budget
()
crates/agent/src/harness/compaction/compaction.rs:962
Function
classifier_prompt_preserved_through_default_before_tool_call_hook
()
crates/agent/tests/agent_loop.rs:1158
Function
classifier_routes_disable_through_allow_and_enable_through_prompt
()
crates/coding-agent/src/tools/set_skill_state.rs:464
Method
cleanup
Release any pooled resources (handles, watchers, child processes).
crates/agent/src/harness/types.rs:229
Function
cleanup_session_resources
Pooled resource cleanup between sessions. 1:1 stub of `packages/ai/src/session-resources.ts`. Closes pooled HTTP clients, drops OAuth refresh timers,
crates/ai/src/session_resources.rs:6
Method
clear_for_tests
(&self)
crates/coding-agent/src/triggers/dynamic.rs:242
Function
cli_and_config_same_name_does_not_duplicate_catalog_entry
()
crates/coding-agent/src/builtin_skills.rs:359
Function
cli_base_url_registers_ds4_model_and_overrides_env_url
()
crates/coding-agent/src/local_models.rs:285
Function
cli_known_name_enables_skill_with_stripped_body
()
crates/coding-agent/src/builtin_skills.rs:279
Function
cli_mixes_known_and_unknown_reports_all_unknown_at_once
()
crates/coding-agent/src/builtin_skills.rs:315
Function
cli_parses_session_export_import_commands
()
crates/coding-agent/src/main.rs:1429
Function
cli_repeated_same_name_does_not_duplicate_catalog_entry
()
crates/coding-agent/src/builtin_skills.rs:374
Function
cli_session_import_ask_imports_disabled_first
()
crates/coding-agent/src/main.rs:1480
Function
cli_unknown_name_hard_fails_with_available_list
()
crates/coding-agent/src/builtin_skills.rs:303
Function
client_count_reflects_successful_connections_not_attempts
()
crates/coding-agent/src/mcp_loader.rs:358
Function
client_id_decodes
()
crates/ai/src/utils/oauth/anthropic.rs:225
Method
close
Explicit close. Optional — dropping the sender has the same effect.
crates/ai/src/utils/event_stream.rs:54
Method
close
(&self)
crates/mcp/src/stdio.rs:118
Method
close
(&self)
crates/mcp/src/http.rs:205
Method
close
(&self)
crates/coding-agent/src/tools/mcp_adapter.rs:150
Function
code_inline_emits_ansi
()
crates/coding-agent/src/markdown.rs:164
Function
collapse_whitespace_caps_blank_lines_through_indented_html
()
crates/coding-agent/src/tools/web_fetch.rs:334
Function
collapse_whitespace_keeps_paragraph_breaks
()
crates/coding-agent/src/tools/web_fetch.rs:323
Function
collect_trigger_audit_rows_uses_preview_safe_fields_only
()
crates/coding-agent/src/commands.rs:3457
Function
command_hook_cancellation_kills_descendant_process
()
crates/coding-agent/src/hooks.rs:1128
Function
command_hook_receives_env_and_payload
()
crates/coding-agent/src/hooks.rs:965
Function
command_hook_timeout_kills_descendant_process
()
crates/coding-agent/src/hooks.rs:1078
Function
compact_retries_with_smaller_budget_on_provider_overflow
()
crates/agent/src/harness/compaction/compaction.rs:980
Function
compact_tool_output_allows_more_error_context
()
crates/coding-agent/src/ui/feed.rs:987
Function
compact_tool_output_keeps_head_and_tail_with_summary
()
crates/coding-agent/src/ui/feed.rs:971
Function
compact_tool_output_keeps_short_output_unchanged
()
crates/coding-agent/src/ui/feed.rs:965
Function
compact_tool_output_truncates_utf8_safely
()
crates/coding-agent/src/ui/feed.rs:999
Function
compact_trims_summarizer_prompt_before_provider_call
()
crates/agent/src/harness/compaction/compaction.rs:803
Function
compaction_command_hook_receives_env_and_payload
()
crates/coding-agent/src/hooks.rs:991
Function
compaction_summary_replaces_history_up_to_first_kept
()
crates/agent/tests/session_storage.rs:128
Function
compaction_webhook_receives_auto_compaction_from_harness_bus
()
crates/coding-agent/tests/hooks_e2e.rs:283
Function
compaction_webhook_receives_manual_force_compact_from_harness_bus
()
crates/coding-agent/tests/hooks_e2e.rs:224
Function
complete
( model: &Model, context: &Context, options: Option<&StreamOptions>, )
crates/ai/src/stream.rs:30
Function
complete
( State(state): State<HttpState>, Json(req): Json<CompleteRequest>, )
crates/coding-agent/src/ui/web.rs:717
Function
complete_simple
( model: &Model, context: &Context, options: Option<&SimpleStreamOptions>, )
crates/ai/src/stream.rs:49
Function
concurrent_invocations_do_not_serialize
()
crates/coding-agent/src/tools/bash.rs:546
Method
config
Convenience getter for the active configuration. Useful in tests and status output.
crates/agent/src/harness/trigger_runtime.rs:176
Function
config_mixes_known_and_unknown_keeps_known_skips_unknown
()
crates/coding-agent/src/builtin_skills.rs:346
Function
config_unknown_name_is_soft_warning_not_fail
()
crates/coding-agent/src/builtin_skills.rs:332
Function
confirm_deletes_and_reload_drops_it
()
crates/coding-agent/src/tools/remove_skill.rs:472
Function
confirm_writes_skill_and_reloads_catalog
()
crates/coding-agent/src/tools/skill_builder.rs:584
Function
conflict_is_retryable
()
crates/ai/src/utils/retry.rs:188
Method
connect
(opts: HttpMcpTransportOptions)
crates/mcp/src/http.rs:115
Method
constructor
( private readonly version = DEFAULT_VERSION, private readonly relay?: DurableObjectNamespace, )
workers/fefe-hub/src/index.ts:38
Method
constructor
( _state?: DurableObjectState, _env?: Env, )
workers/fefe-hub/src/index.ts:97
Function
content_block_to_value
(b: &ContentBlock)
crates/ai/src/providers/anthropic.rs:730
Function
content_block_tokens
(b: &pie_ai::ContentBlock)
crates/agent/src/harness/compaction/compaction.rs:144
Method
content_type
(&self)
crates/ai/src/event_stream.rs:56
Function
control_plane_prompt_allow_writes_audit_entry
()
crates/agent/tests/harness_e2e.rs:5524
Function
control_plane_prompt_audit_caps_oversized_label
()
crates/agent/tests/harness_e2e.rs:5638
Function
control_plane_prompt_card_redacts_payload_and_denies_without_clearing_queue
()
crates/coding-agent/src/ui/mod.rs:3064
Function
control_plane_prompt_deny_writes_audit_with_reason
()
crates/agent/tests/harness_e2e.rs:5572
Function
control_plane_prompt_enter_sends_allow_decision
()
crates/coding-agent/src/ui/mod.rs:3121
Function
control_plane_prompt_no_hook_writes_audit_with_failclosed_deny
()
crates/agent/tests/harness_e2e.rs:5606
Function
control_plane_write_category_defaults_to_allow_at_runtime_layer
()
crates/agent/tests/harness_e2e.rs:4671
Function
convert_tools
Convert pi tools to a single Gemini `tools` entry with `functionDeclarations`.
crates/ai/src/providers/google_shared.rs:134
← previous
next →
1,401–1,500 of 2,618, ranked by callers