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
↓ 3 callers
Method
show_control_plane_prompt
(&mut self, prompt: UiControlPlanePrompt)
crates/coding-agent/src/ui/mod.rs:648
↓ 3 callers
Function
skill
(name: &str, disabled: bool)
crates/coding-agent/src/readline.rs:79
↓ 3 callers
Function
spawn_fixture
(mode: FixtureMode)
crates/mcp/tests/http_fixture.rs:100
↓ 3 callers
Method
start_compaction_turn
(&mut self, custom: Option<String>, turn: &mut TurnState)
crates/coding-agent/src/ui/mod.rs:1277
↓ 3 callers
Method
start_prompt_turn
( &mut self, prompt: String, error_context: &'static str, turn: &mut TurnState
crates/coding-agent/src/ui/mod.rs:1241
↓ 3 callers
Method
start_template_turn
( &mut self, name: String, vars: serde_json::Map<String, serde_json::Value>, t
crates/coding-agent/src/ui/mod.rs:1265
↓ 3 callers
Function
state_path
Absolute path to the overlay file under `base_dir` (`~/.pie/`).
crates/coding-agent/src/skills_state.rs:82
↓ 3 callers
Method
stream
( &self, model: &Model, context: &Context, options: Option<&StreamOptions>,
crates/ai/src/api_registry.rs:111
↓ 3 callers
Method
stream
( &self, model: &Model, _context: &Context, _options: Option<&StreamOptions>,
crates/ai/src/providers/faux.rs:104
↓ 3 callers
Method
subscribe
(&self, listener: AgentListener)
crates/agent/src/harness/agent_harness.rs:1588
↓ 3 callers
Function
summary_prompt_overhead_tokens
(custom_instructions: Option<&str>)
crates/agent/src/harness/compaction/compaction.rs:382
↓ 3 callers
Function
text_result
(text: impl Into<String>)
crates/coding-agent/src/ui/listener.rs:327
↓ 3 callers
Function
trigger_decision_details
(data: &serde_json::Value)
crates/coding-agent/src/commands.rs:2980
↓ 3 callers
Function
truncate
(s: &str)
crates/coding-agent/src/hooks.rs:870
↓ 3 callers
Function
truncate_head
Truncate `text` to at most `max_lines` lines and `max_bytes` bytes, keeping the head.
crates/coding-agent/src/tools/truncate.rs:29
↓ 3 callers
Function
truncate_tail
Same as [`truncate_head`] but keeps the tail. Used by `bash` so the last error is visible.
crates/coding-agent/src/tools/truncate.rs:54
↓ 3 callers
Function
unknown_provider_error
(provider: &str, groups: &BTreeMap<String, Vec<Model>>)
crates/coding-agent/src/commands.rs:1363
↓ 3 callers
Function
validate_base_url_override
(cli: &Cli)
crates/coding-agent/src/main.rs:1164
↓ 3 callers
Method
view
Window of rows around the cursor: `(title, [(text, is_selected)])`.
crates/coding-agent/src/model_picker.rs:150
↓ 3 callers
Function
web_preview
(text: &str)
crates/coding-agent/src/ui/web.rs:780
↓ 3 callers
Method
web_snapshot
(&self)
crates/coding-agent/src/ui/web.rs:526
↓ 3 callers
Function
write_cron_control_plane_audit
( ctx: &CommandCtx<'_>, op: &str, before: Option<&crate::triggers::cron::CronJob>, after: Opti
crates/coding-agent/src/commands.rs:2448
↓ 3 callers
Function
write_fake_gh
(dir: &Path, body: &str)
crates/coding-agent/tests/commands.rs:1978
↓ 3 callers
Function
write_tool_cron_control_audit
( harness: &Option<HarnessCell>, op: &str, before: Option<&CronJob>, after: Option<&CronJob>,
crates/coding-agent/src/triggers/cron.rs:1160
↓ 2 callers
Method
active
(&self)
crates/coding-agent/src/goal.rs:55
↓ 2 callers
Method
add_rule_with_options
( &self, condition: &str, action: &str, fire_once: bool, )
crates/coding-agent/src/triggers/dynamic.rs:99
↓ 2 callers
Function
allow_hook
()
crates/coding-agent/src/control_plane_prompt.rs:65
↓ 2 callers
Method
append_compaction
( &self, summary: impl Into<String>, first_kept_entry_id: impl Into<String>, t
crates/agent/src/harness/session/session.rs:484
↓ 2 callers
Method
append_entry
(&self, entry: SessionTreeEntry)
crates/agent/src/harness/session/jsonl_storage.rs:182
↓ 2 callers
Function
append_model_lines
(out: &mut Vec<String>, models: &[Model])
crates/coding-agent/src/commands.rs:1353
↓ 2 callers
Function
apply_promotion
( listeners: &Arc<Mutex<Vec<HarnessListener>>>, parent_session: &Session, parent_agent: &Arc<Agent
crates/agent/src/harness/agent_harness.rs:3022
↓ 2 callers
Function
assistant
(content: Vec<ContentBlock>)
crates/coding-agent/tests/dynamic_trigger_e2e.rs:369
↓ 2 callers
Function
assistant
(content: Vec<ContentBlock>)
crates/coding-agent/tests/commands.rs:155
↓ 2 callers
Function
assistant_message
(content: Vec<ContentBlock>)
crates/coding-agent/src/debug.rs:291
↓ 2 callers
Function
assistant_text
(text: &str)
crates/coding-agent/tests/commands.rs:151
↓ 2 callers
Function
assistant_usage
(msg: &AgentMessage)
crates/agent/src/harness/compaction/compaction.rs:68
↓ 2 callers
Function
audit_url_reference
(url: &str)
crates/coding-agent/src/tools/install_skill.rs:354
↓ 2 callers
Function
automation_elsewhere_hint_for_ctx
Hint at enabled automation living in sibling sessions of this cwd. Used by the empty states of `/cron list` and `/triggers rules`, where "none" otherw
crates/coding-agent/src/commands.rs:2474
↓ 2 callers
Method
await_diagnostics
Wait up to `timeout` for the next diagnostics push (regardless of URI). Returns the uri + diagnostics, or None on timeout.
crates/coding-agent/src/lsp.rs:206
↓ 2 callers
Method
broadcastSse
(event: string, data: string)
workers/fefe-hub/src/relay.ts:322
↓ 2 callers
Method
broadcastStatus
(agentOnline: boolean)
workers/fefe-hub/src/relay.ts:318
↓ 2 callers
Function
build
(diag: DiagInputs, session: &Session, dest: &Path)
crates/coding-agent/src/bug_report.rs:41
↓ 2 callers
Function
build_authorize_url
Build the authorization URL the user must open. `state` is echoed back on the redirect.
crates/ai/src/utils/oauth/anthropic.rs:34
↓ 2 callers
Function
build_jwt
Build the JWT assertion for `sa`. `scope` defaults to cloud-platform; supply your own to restrict.
crates/ai/src/vertex_adc.rs:96
↓ 2 callers
Function
build_request_body
(model: &Model, context: &Context, options: &StreamOptions)
crates/ai/src/providers/openai_codex_responses.rs:189
↓ 2 callers
Function
build_request_body
(context: &Context, options: &StreamOptions)
crates/ai/src/providers/amazon_bedrock.rs:362
↓ 2 callers
Function
build_request_body
(model: &Model, context: &Context, options: &StreamOptions)
crates/ai/src/providers/mistral.rs:348
↓ 2 callers
Function
build_system_prompt
(base: &str, skills: &[Skill])
crates/agent/src/harness/agent_harness.rs:2161
↓ 2 callers
Method
cancel_last_queued_turn
(&mut self)
crates/coding-agent/src/ui/mod.rs:1099
↓ 2 callers
Function
canonical_query
(url: &url::Url)
crates/ai/src/sigv4.rs:142
↓ 2 callers
Function
canonicalize
(value: &serde_json::Value)
crates/agent/src/agent_loop.rs:888
↓ 2 callers
Function
centered_rect
(area: Rect, width: u16, height: u16)
crates/coding-agent/src/ui/mod.rs:2124
↓ 2 callers
Function
check_auth
(state: &FixtureState, headers: &HeaderMap)
crates/mcp/tests/http_fixture.rs:166
↓ 2 callers
Function
clear_faux_responses
Clear the queue.
crates/ai/src/providers/faux.rs:38
↓ 2 callers
Method
clear_rules
(&self)
crates/coding-agent/src/triggers/dynamic.rs:197
↓ 2 callers
Function
cli_model_help_text
()
crates/coding-agent/src/commands.rs:1264
↓ 2 callers
Method
close_open_block
(&self, out: &mut dyn std::io::Write)
crates/coding-agent/src/tui.rs:348
↓ 2 callers
Method
close_text
(&self, out: &mut dyn std::io::Write)
crates/coding-agent/src/tui.rs:337
↓ 2 callers
Function
collapse_whitespace
(s: &str)
crates/coding-agent/src/tools/web_fetch.rs:228
↓ 2 callers
Function
collect_trigger_audit_rows
(entries: &[SessionTreeEntry], limit: usize)
crates/coding-agent/src/commands.rs:2894
↓ 2 callers
Function
commit_import
Write all imported files with the session rename as the commit point. The session is staged at `temp_path` (a non-`.jsonl` name, invisible to repo lis
crates/coding-agent/src/session_archive.rs:450
↓ 2 callers
Function
compute_args_hash
Canonical-JSON SHA-256 of the prepared tool args. Binds a control-plane prompt approval to the exact invocation (issue #110 design v0.2 §1 Decision bi
crates/agent/src/agent_loop.rs:874
↓ 2 callers
Function
connect_streamable_http
(s: &ServerConfig)
crates/coding-agent/src/mcp_loader.rs:256
↓ 2 callers
Function
consume_gemini_sse
Shared Gemini SSE consumer. Reused by `google_vertex`, which differs only in URL + auth.
crates/ai/src/providers/google.rs:175
↓ 2 callers
Method
continue_
Continue from the current transcript without appending new user messages.
crates/agent/src/agent.rs:182
↓ 2 callers
Function
credential_less_default
Catalog default used when no credential exists anywhere. Lets pie start for notification-only sessions (e.g. summary-mode webhook endpoints); the firs
crates/coding-agent/src/model.rs:74
↓ 2 callers
Function
cron_action_hook
( registry: CronRegistry, inner: BeforeTriggerActionHook, )
crates/coding-agent/src/triggers/cron.rs:847
↓ 2 callers
Function
cron_control_plane_audit
( op: &str, actor: &str, before: Option<&CronJob>, after: Option<&CronJob>, )
crates/coding-agent/src/triggers/cron.rs:1136
↓ 2 callers
Method
current_leaf
(&self)
crates/agent/src/harness/session/jsonl_storage.rs:124
↓ 2 callers
Method
current_model_accepts_images
(&self)
crates/coding-agent/src/ui/mod.rs:1067
↓ 2 callers
Function
custom_model
(provider: &str, id: &str, api: &str)
crates/coding-agent/src/model_picker.rs:201
↓ 2 callers
Function
debug_preview
(input: &str)
crates/coding-agent/src/debug.rs:226
↓ 2 callers
Function
default_base_dir
Production pie base dir: `${PIE_DIR:-$HOME/.pie}`. Inlined (not via `crate::config`) so the module can be pulled into integration tests through `#[pat
crates/coding-agent/src/tools/set_skill_state.rs:67
↓ 2 callers
Function
default_skills_root
Production skills root: `${PIE_DIR:-$HOME/.pie}/skills`. Inlined so this module can be included by integration tests that pull `tools/mod.rs` via `#[p
crates/coding-agent/src/tools/install_skill.rs:113
↓ 2 callers
Method
definition
(&self)
crates/coding-agent/src/tools/ls.rs:20
↓ 2 callers
Function
deny_hook
(reason: &'static str)
crates/coding-agent/src/control_plane_prompt.rs:53
↓ 2 callers
Function
dirname_env_path
(path: &str)
crates/agent/src/harness/skills.rs:409
↓ 2 callers
Method
do_compact
Shared implementation behind auto + manual compaction. Returns `true` when compaction actually ran. Operates on the real session entries (via `self.s
crates/agent/src/harness/agent_harness.rs:2050
↓ 2 callers
Function
done_line
( call_id: u64, reason: pie_ai::DoneReason, message: &AssistantMessage, started_at: Instant, )
crates/coding-agent/src/debug.rs:139
↓ 2 callers
Function
drain_stream
Drain a child pipe into a UTF-8 string while also feeding each line into an optional streaming callback. Uses `read_until(b'\n')` + lossy decode so bi
crates/agent/src/harness/env/native.rs:469
↓ 2 callers
Function
draw_frame
(sink: &Arc<dyn SpinnerSink>, idx: usize, label: &str)
crates/coding-agent/src/spinner.rs:118
↓ 2 callers
Function
drive_loop
( inner: &Arc<AgentInner>, cancel: CancellationToken, )
crates/agent/src/agent_loop.rs:73
↓ 2 callers
Function
dynamic_poll_status_update
( trace_id: &str, source_label: &str, event_label: &str, summary: &str, )
crates/coding-agent/src/ui/listener.rs:259
↓ 2 callers
Function
dynamic_trigger_response
(context: &Context)
crates/coding-agent/tests/dynamic_trigger_e2e.rs:230
↓ 2 callers
Function
emit_session_archive_warning
()
crates/coding-agent/src/commands.rs:1831
↓ 2 callers
Function
empty_partial
(model: &Model)
crates/ai/src/providers/anthropic.rs:753
↓ 2 callers
Function
empty_partial
(model: &Model)
crates/ai/src/providers/openai_responses.rs:798
↓ 2 callers
Function
empty_partial
(model: &Model)
crates/ai/src/providers/openai_completions.rs:644
↓ 2 callers
Function
empty_partial
(model: &Model)
crates/ai/src/providers/amazon_bedrock.rs:466
↓ 2 callers
Function
empty_partial
(model: &Model)
crates/ai/src/providers/google.rs:449
↓ 2 callers
Function
empty_partial
(model: &Model)
crates/ai/src/providers/mistral.rs:469
↓ 2 callers
Function
empty_sidebar_snapshot
()
crates/coding-agent/src/ui/web.rs:1161
↓ 2 callers
Function
encode_strict
(s: &str)
crates/ai/src/sigv4.rs:155
↓ 2 callers
Function
endpoint_sidecar_path
Public endpoint bindings are session-scoped sidecars, parallel to trigger sidecars.
crates/coding-agent/src/session/mod.rs:55
↓ 2 callers
Method
enqueue_follow_up
(&self, message: AgentMessage)
crates/agent/src/harness/agent_harness.rs:1584
↓ 2 callers
Function
ensure
Register all enabled built-in providers. Idempotent.
crates/ai/src/providers/register_builtins.rs:12
↓ 2 callers
Function
ensure_git_available
()
crates/coding-agent/tests/git_tool_e2e.rs:39
↓ 2 callers
Method
ensure_session_start_emitted
(&self)
crates/agent/src/harness/agent_harness.rs:1086
↓ 2 callers
Function
ensure_trigger_prefix
Enforce the `[Trigger {trace_id}] ` disambiguation prefix on a promotion body. Per @Tools-MCP-Lead's PR #65 review: trusting template authors to inclu
crates/agent/src/harness/agent_harness.rs:2982
↓ 2 callers
Function
enter_tui
()
crates/coding-agent/src/ui/mod.rs:2227
← previous
next →
501–600 of 2,618, ranked by callers