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
↓ 1 callers
Function
preview
(input: &str, max_chars: usize)
crates/coding-agent/src/triggers/cron.rs:1261
↓ 1 callers
Function
preview_cron_text
(input: &str, max_chars: usize)
crates/coding-agent/src/commands.rs:2655
↓ 1 callers
Function
preview_match_line
(line: &str, match_range: Option<regex::Match<'_>>)
crates/coding-agent/src/tools/grep.rs:158
↓ 1 callers
Function
preview_text
(text: &str, max_chars: usize)
crates/coding-agent/src/commands.rs:3053
↓ 1 callers
Function
print_dynamic_help_and_exit_if_requested
()
crates/coding-agent/src/main.rs:391
↓ 1 callers
Function
print_goal_status
(ctx: &CommandCtx<'_>)
crates/coding-agent/src/commands.rs:1111
↓ 1 callers
Function
print_headless_update
(update: &FeedUpdate, at_line_start: &mut bool)
crates/coding-agent/src/ui/mod.rs:2257
↓ 1 callers
Function
print_help_with_skills
(registry: &Registry, topic: Option<&str>, skills: &[Skill])
crates/coding-agent/src/commands.rs:1132
↓ 1 callers
Function
print_install_skill_result
(result: &pie_agent_core::AgentToolResult, args: &InstallSkillArgs)
crates/coding-agent/src/commands.rs:516
↓ 1 callers
Function
print_remove_skill_result
(result: &pie_agent_core::AgentToolResult)
crates/coding-agent/src/commands.rs:678
↓ 1 callers
Function
print_skills_list
(skills: &[Skill])
crates/coding-agent/src/commands.rs:376
↓ 1 callers
Function
prompt_for_api_key
(provider: &str)
crates/coding-agent/src/main.rs:1138
↓ 1 callers
Method
prompt_many
Start a new prompt with a batch of messages.
crates/agent/src/agent.rs:176
↓ 1 callers
Method
prompt_turn
(&self, prompt: String)
crates/coding-agent/src/ui/kernel.rs:101
↓ 1 callers
Method
prompt_with_images
Prompt with text + images (multimodal users).
crates/agent/src/harness/agent_harness.rs:1695
↓ 1 callers
Function
proxy_from_env
Return a `reqwest::Proxy` configured from env vars, or `None` if no proxy is set.
crates/ai/src/utils/node_http_proxy.rs:9
↓ 1 callers
Function
prune_expired
(map: &mut HashMap<String, DedupEntry>, now: DateTime<Utc>, window: Duration)
crates/agent/src/harness/trigger_runtime.rs:282
↓ 1 callers
Method
publish_snapshot
( &self, latest: &Arc<Mutex<WebSnapshot>>, snapshots: &broadcast::Sender<WebSnapshot>,
crates/coding-agent/src/ui/web.rs:647
↓ 1 callers
Method
push_assistant_at
(&mut self, text: impl Into<String>, timestamp_ms: i64)
crates/coding-agent/src/ui/feed.rs:205
↓ 1 callers
Method
push_thinking_at
(&mut self, text: impl Into<String>, timestamp_ms: i64)
crates/coding-agent/src/ui/feed.rs:221
↓ 1 callers
Method
push_thinking_with_timestamp
(&mut self, text: impl Into<String>, timestamp: Option<String>)
crates/coding-agent/src/ui/feed.rs:225
↓ 1 callers
Method
push_tool_at
( &mut self, name: impl Into<String>, args: impl Into<String>, timestamp_ms: i
crates/coding-agent/src/ui/feed.rs:259
↓ 1 callers
Method
push_tool_result_at
( &mut self, tool_call_id: impl Into<String>, lines: Vec<String>, is_error: bo
crates/coding-agent/src/ui/feed.rs:291
↓ 1 callers
Method
push_user_at
(&mut self, text: impl Into<String>, timestamp_ms: i64)
crates/coding-agent/src/ui/feed.rs:187
↓ 1 callers
Function
python_available
()
crates/coding-agent/tests/lsp_framing.rs:13
↓ 1 callers
Function
read_body_capped
Stream-read the response body until either EOF or `cap` bytes have been accumulated. Returns the captured bytes and whether the body was longer than `
crates/coding-agent/src/tools/web_fetch.rs:116
↓ 1 callers
Function
read_builtin_skills_config
Read `<base_dir>/config.toml` and extract the `[builtin_skills] enabled = [...]` list. Missing file → empty list. Parse error / missing section → empt
crates/coding-agent/src/main.rs:1274
↓ 1 callers
Function
read_clipboard
()
crates/coding-agent/src/clipboard_image.rs:26
↓ 1 callers
Function
read_config
(path: &Path, diagnostics: &mut Vec<String>, label: &str)
crates/coding-agent/src/mcp_loader.rs:186
↓ 1 callers
Function
read_framed
( reader: &mut R, )
crates/coding-agent/src/lsp.rs:283
↓ 1 callers
Function
read_next_sse_chunk
( stream: &mut S, idle_timeout: Option<Duration>, close_token: CancellationToken, )
crates/mcp/src/http.rs:371
↓ 1 callers
Function
read_rules_file
(path: &Path)
crates/coding-agent/src/triggers/dynamic.rs:414
↓ 1 callers
Method
record_follow_up_hop
Record an additional hop on `trace_id` without going through dedup. Called by the harness immediately before spawning a follow-up trigger that inherit
crates/agent/src/harness/trigger_runtime.rs:252
↓ 1 callers
Function
recording_dynamic_trigger_stream
( seen_system_prompts: Arc<parking_lot::Mutex<Vec<String>>>, )
crates/coding-agent/tests/dynamic_trigger_e2e.rs:219
↓ 1 callers
Method
recv_line
(&self)
crates/mcp/src/http.rs:196
↓ 1 callers
Method
recv_line
(&self)
crates/coding-agent/src/tools/mcp_adapter.rs:147
↓ 1 callers
Function
redact_control_prompt_secrets
(text: &str)
crates/coding-agent/src/ui/mod.rs:2149
↓ 1 callers
Function
redirect_uri
()
crates/ai/src/utils/oauth/anthropic.rs:29
↓ 1 callers
Method
redirect_uri
(&self)
crates/coding-agent/src/oauth.rs:57
↓ 1 callers
Function
register_builtin_local_defaults
(cli_base_url: Option<&str>)
crates/coding-agent/src/local_models.rs:66
↓ 1 callers
Function
register_enabled
()
crates/ai/src/providers/register_builtins.rs:18
↓ 1 callers
Function
register_images_api_provider
( api: String, _entry: crate::providers::images::openrouter::ImagesEntry, )
crates/ai/src/images_api_registry.rs:27
↓ 1 callers
Function
relay_base_url
Read the relay base URL from `<base_dir>/config.toml`, falling back to the default on missing file. Parse errors are returned so the command can surfa
crates/coding-agent/src/config.rs:79
↓ 1 callers
Function
relay_task
( ws_url: String, agent_key: String, mut snapshot_rx: mpsc::UnboundedReceiver<WebSnapshot>, pr
crates/coding-agent/src/ui/relay.rs:211
↓ 1 callers
Function
reload_skills
(ctx: &CommandCtx<'_>)
crates/coding-agent/src/commands.rs:428
↓ 1 callers
Method
remove
Drop the `{source, name}` override, if present. Returns true if an entry was removed. Used when a skill is removed entirely (`RemoveSkill`) so a later
crates/coding-agent/src/skills_state.rs:73
↓ 1 callers
Function
remove_index_entry
(dir: &std::path::Path, slug: &str)
crates/coding-agent/src/tools/memory.rs:237
↓ 1 callers
Function
remove_skill
(argv: &[String], ctx: &CommandCtx<'_>)
crates/coding-agent/src/commands.rs:614
↓ 1 callers
Function
remove_skill_tool
Build the `RemoveSkill` tool (delete a user-installed skill). Same harness-cell wiring; deletes `~/.pie/skills/<name>/`, clears the overlay entry, and
crates/coding-agent/src/tools/mod.rs:115
↓ 1 callers
Function
render_base_prompt
Build the prompt header. The tool inventory is rendered from the actual registered tool definitions so adding/removing a tool in `tools::default_tools
crates/coding-agent/src/main.rs:1203
↓ 1 callers
Method
render_completions
(&self, frame: &mut ratatui::Frame, status_area: Rect)
crates/coding-agent/src/ui/mod.rs:1967
↓ 1 callers
Function
render_context
(ctx: &SessionContext)
crates/coding-agent/src/export.rs:19
↓ 1 callers
Method
render_control_plane_prompt
(&self, frame: &mut ratatui::Frame)
crates/coding-agent/src/ui/mod.rs:1604
↓ 1 callers
Function
render_diagnostics
(path: &Path, diags: &[Diagnostic])
crates/coding-agent/src/lsp_supervisor.rs:214
↓ 1 callers
Function
render_diff_preview
Render a minimal 3-context-line diff of the changed region. We don't have a real diff algorithm here; we just show the old vs new strings labeled — su
crates/coding-agent/src/tools/edit.rs:96
↓ 1 callers
Function
render_dynamic_trigger_prompt
(trigger: &Trigger, rules: &[DynamicTriggerRule])
crates/coding-agent/src/triggers/dynamic.rs:686
↓ 1 callers
Function
render_inline
(line: &str)
crates/coding-agent/src/markdown.rs:42
↓ 1 callers
Method
render_model_picker
(&self, frame: &mut ratatui::Frame)
crates/coding-agent/src/ui/mod.rs:1567
↓ 1 callers
Function
render_promotion_template
Render a promotion template against the allowlisted context. Returns `Err(TemplateRenderError::UnknownField | ForbiddenField)` on any unknown or forbi
crates/agent/src/harness/agent_harness.rs:2917
↓ 1 callers
Function
render_summary
Render a short human-readable summary for `payload_summary`. Capped well below the runtime 4 KiB persistence cap; the runtime will still re-truncate i
crates/coding-agent/src/triggers/mcp_notification_hook.rs:354
↓ 1 callers
Method
render_trigger_panel
(&self, frame: &mut ratatui::Frame, area: Rect)
crates/coding-agent/src/ui/mod.rs:1656
↓ 1 callers
Method
rendered_exit
(&self)
crates/coding-agent/src/tools/bash.rs:49
↓ 1 callers
Function
replay
Replay a finished `AssistantMessage` as a normal streaming event sequence.
crates/ai/src/providers/faux.rs:145
↓ 1 callers
Method
replay
Push a replayed transcript (from `--resume`) into the feed as finished blocks.
crates/coding-agent/src/ui/mod.rs:294
↓ 1 callers
Function
resolve_codex_url
(base_url: &str)
crates/ai/src/providers/openai_codex_responses.rs:81
↓ 1 callers
Function
resolve_http_auth
(auth: Option<&HttpAuthConfig>)
crates/coding-agent/src/mcp_loader.rs:314
↓ 1 callers
Function
resolve_openai_compatible_api_key
(model: &Model, options: &StreamOptions)
crates/ai/src/providers/openai_responses.rs:768
↓ 1 callers
Function
resolve_openai_compatible_api_key
(model: &Model, options: &StreamOptions)
crates/ai/src/providers/openai_completions.rs:614
↓ 1 callers
Method
resolve_trigger_prompt
( &self, trigger: &Trigger, reason: String, )
crates/agent/src/harness/agent_harness.rs:1324
↓ 1 callers
Function
resolve_ui_mode
(web: bool, tui: bool, interactive_tty: bool, remote_tty: bool)
crates/coding-agent/src/main.rs:1088
↓ 1 callers
Function
retry_after_ms
(resp: &reqwest::Response)
crates/ai/src/utils/retry.rs:150
↓ 1 callers
Function
rewrite_brace_home
(raw: &str)
crates/agent/src/harness/permission.rs:339
↓ 1 callers
Function
rewrite_cron_sidecar
(bytes: &[u8], activate: bool)
crates/coding-agent/src/session_archive.rs:591
↓ 1 callers
Function
rewrite_session_jsonl
( parsed: &ParsedSession, manifest: &Manifest, new_id: &str, cwd: &Path, path: &Path, )
crates/coding-agent/src/session_archive.rs:415
↓ 1 callers
Function
rewrite_trigger_sidecar
Activation never widens what the source had: `activate` ANDs with each rule's own `enabled` flag, and `fired_at` history is preserved so fire-once rul
crates/coding-agent/src/session_archive.rs:582
↓ 1 callers
Function
run
( model: Model, context: Context, options: StreamOptions, mut sender: AssistantMessageEventSen
crates/ai/src/providers/openai_codex_responses.rs:97
↓ 1 callers
Function
run
( model: Model, context: Context, options: StreamOptions, mut sender: AssistantMessageEventSen
crates/ai/src/providers/anthropic.rs:176
↓ 1 callers
Function
run
( model: Model, context: Context, options: StreamOptions, mut sender: AssistantMessageEventSen
crates/ai/src/providers/openai_responses.rs:133
↓ 1 callers
Function
run
( model: Model, context: Context, options: StreamOptions, mut sender: AssistantMessageEventSen
crates/ai/src/providers/openai_completions.rs:113
↓ 1 callers
Function
run
( model: Model, context: Context, options: StreamOptions, mut sender: AssistantMessageEventSen
crates/ai/src/providers/amazon_bedrock.rs:63
↓ 1 callers
Function
run
( model: Model, context: Context, options: StreamOptions, mut sender: AssistantMessageEventSen
crates/ai/src/providers/azure_openai_responses.rs:101
↓ 1 callers
Function
run
( model: Model, context: Context, options: StreamOptions, mut sender: AssistantMessageEventSen
crates/ai/src/providers/google_vertex.rs:73
↓ 1 callers
Function
run
( model: Model, context: Context, options: StreamOptions, mut sender: AssistantMessageEventSen
crates/ai/src/providers/mistral.rs:101
↓ 1 callers
Method
run
(&self, _argv: &[String], _ctx: &CommandCtx<'_>)
crates/coding-agent/src/commands.rs:320
↓ 1 callers
Method
run
(&self, sink: TriggerSink)
crates/coding-agent/src/triggers/dynamic.rs:334
↓ 1 callers
Method
run
(mut self)
crates/coding-agent/src/ui/mod.rs:354
↓ 1 callers
Method
run
(&self, sink: TriggerSink)
crates/agent/tests/harness_e2e.rs:1565
↓ 1 callers
Function
run_agent_loop
( inner: Arc<AgentInner>, new_messages: Vec<AgentMessage>, )
crates/agent/src/agent_loop.rs:23
↓ 1 callers
Function
run_agent_loop_continue
(inner: Arc<AgentInner>)
crates/agent/src/agent_loop.rs:55
↓ 1 callers
Method
run_before_trigger_hook
Invoke the optional permission hook on an accepted trigger. Returns [`BeforeTriggerDecision::Allow`] when no hook is configured so the default-allow p
crates/agent/src/harness/agent_harness.rs:1313
↓ 1 callers
Function
run_cli_command
( command: &CliCommand, repo: &JsonlSessionRepo, cwd: &std::path::Path, )
crates/coding-agent/src/main.rs:240
↓ 1 callers
Method
run_command
( &self, rule: &HookRule, command: &str, payload: &HookPayload, payloa
crates/coding-agent/src/hooks.rs:401
↓ 1 callers
Method
run_headless
Line-based fallback for non-TTY stdin/stdout (e.g. `echo prompt | pie`). No fixed input box — just read prompts from stdin and stream feed updates to
crates/coding-agent/src/ui/mod.rs:2011
↓ 1 callers
Function
run_never_reply_server
Mock server: replies to `initialize` and then never replies to `tools/call`. The only way the test exits within seconds is if the adapter's cancel tok
crates/coding-agent/src/tools/mcp_adapter.rs:172
↓ 1 callers
Function
run_repl
(mut cli: Cli, cwd: std::path::PathBuf, repo: JsonlSessionRepo)
crates/coding-agent/src/main.rs:547
↓ 1 callers
Method
run_rule
( &self, rule: &HookRule, payload: &HookPayload, cancel: CancellationToken,
crates/coding-agent/src/hooks.rs:375
↓ 1 callers
Function
run_skill_shortcut
( name: &str, argv: &[String], registry: &Registry, ctx: &CommandCtx<'_>, )
crates/coding-agent/src/commands.rs:3122
↓ 1 callers
Function
run_trigger_action
( trigger: Trigger, trace_id: String, source_label: String, event_label: String, listeners
crates/agent/src/harness/agent_harness.rs:2390
↓ 1 callers
Method
run_web
(mut self, options: WebOptions)
crates/coding-agent/src/ui/web.rs:217
↓ 1 callers
Method
run_webhook
( &self, rule: &HookRule, url: &str, payload_json: &str, cancel: Cance
crates/coding-agent/src/hooks.rs:524
← previous
next →
1,101–1,200 of 2,618, ranked by callers