MCPcopy Create free account

hub / github.com/c4pt0r/pie / functions

Functions2,618 in github.com/c4pt0r/pie

↓ 6 callersFunctionfakeRelayNamespace
(log)
workers/fefe-hub/tests/relay.test.mjs:90
↓ 6 callersFunctionfeed_text
(app: &App)
crates/coding-agent/src/ui/mod.rs:2398
↓ 6 callersMethodhandle_event
(&self, event: &AgentEvent, cancel: CancellationToken)
crates/coding-agent/src/hooks.rs:315
↓ 6 callersFunctionhtml_to_text
Minimal HTML → text. Strips tags, decodes a small set of entities, collapses whitespace. Not a readability pass (no main-content detection); good enou
crates/coding-agent/src/tools/web_fetch.rs:149
↓ 6 callersFunctionimul
(a: u32, b: u32)
crates/ai/src/utils/hash.rs:7
↓ 6 callersMethodinitialize
Run the initialize handshake. Sends `initialize` then notifies `notifications/initialized`.
crates/mcp/src/client.rs:189
↓ 6 callersFunctionjson
(body: unknown, status = 200)
workers/fefe-hub/src/index.ts:136
↓ 6 callersFunctionload_all
Load skills from both roots, with project-local overriding user-global on name collision. Missing directories are silently skipped — most users won't
crates/coding-agent/src/skills.rs:33
↓ 6 callersMethodload_entries
(&self)
crates/agent/src/harness/session/jsonl_storage.rs:97
↓ 6 callersFunctionlog
(msg: str)
examples/mcp-notify-python/notify-server.py:34
↓ 6 callersFunctionmake_exported_session
( temp: &Path, rules: Vec<DynamicTriggerRule>, jobs: Vec<CronJob>, )
crates/coding-agent/src/session_archive.rs:896
↓ 6 callersFunctionmake_skill_md
(name: &str, description: &str, body: &str)
crates/coding-agent/src/tools/install_skill.rs:885
↓ 6 callersFunctionmap_harness_event_for_test
(event: &HarnessEvent)
crates/coding-agent/src/ui/listener.rs:288
↓ 6 callersFunctionmerge_with_user_project
Merge the resolved built-in skills with the user/project skills the existing dual-root loader returned. Same-name precedence is **user/project wins ov
crates/coding-agent/src/builtin_skills.rs:196
↓ 6 callersFunctionmk_model
()
crates/ai/src/providers/openai_responses.rs:829
↓ 6 callersFunctionparseSessionPath
(pathname: string)
workers/fefe-hub/src/relay.ts:102
↓ 6 callersFunctionparse_builtin_skills_config
Parse the contents of `~/.pie/config.toml` and extract the `[builtin_skills] enabled = [...]` list. Missing section / missing key / parse failure all
crates/coding-agent/src/builtin_skills.rs:215
↓ 6 callersFunctionpush_error
(sender: &mut AssistantMessageEventSender, model: &Model, msg: String)
crates/ai/src/providers/anthropic.rs:770
↓ 6 callersFunctionpush_error
(sender: &mut AssistantMessageEventSender, model: &Model, msg: String)
crates/ai/src/providers/openai_responses.rs:815
↓ 6 callersMethodrefresh_completions
(&mut self)
crates/coding-agent/src/ui/mod.rs:1365
↓ 6 callersFunctionregister_custom_model
(model: Model)
crates/ai/src/models.rs:41
↓ 6 callersFunctionregistry
()
crates/ai/src/api_registry.rs:51
↓ 6 callersFunctionrender_line
Render one logical line of Markdown. Stateless on input. The caller decides whether to track code-fence state across lines (use [`Renderer`] for that)
crates/coding-agent/src/markdown.rs:20
↓ 6 callersFunctionresolve_compat
(model: &Model)
crates/ai/src/providers/anthropic.rs:55
↓ 6 callersMethodroot
(&self)
crates/agent/src/harness/session/jsonl_repo.rs:24
↓ 6 callersFunctionrule
(event: HookEvent)
crates/coding-agent/src/hooks.rs:919
↓ 6 callersFunctionrunner
(rules: Vec<HookRule>)
crates/coding-agent/src/hooks.rs:907
↓ 6 callersMethodset
(&mut self, provider: impl Into<String>, cred: ProviderCredential)
crates/coding-agent/src/auth.rs:117
↓ 6 callersMethodsnapshot
(&self)
crates/agent/src/harness/cost.rs:49
↓ 6 callersMethodstatus
(&self)
crates/coding-agent/src/triggers/cron.rs:675
↓ 6 callersMethodsubscribe
public API for embedders; not used by the binary itself.
crates/coding-agent/src/agent_session.rs:80
↓ 6 callersMethodtools_call
Invoke a server-side tool. If `cancel` is `Some`, the call races the cancel signal — when it fires before the server responds, the in-flight entry is
crates/mcp/src/client.rs:232
↓ 6 callersFunctionuser_ctx
(text: &str)
crates/ai/tests/anthropic_sse_e2e.rs:57
↓ 6 callersFunctionuser_message
(text: &str)
crates/agent/tests/harness_e2e.rs:68
↓ 6 callersFunctionvalidateSetModel
(model: unknown)
workers/fefe-hub/src/relay.ts:94
↓ 6 callersFunctionwrite_jobs_file
(path: &Path, jobs: &[CronJob])
crates/coding-agent/src/triggers/cron.rs:298
↓ 5 callersMethodabort
(&self)
crates/coding-agent/src/ui/kernel.rs:84
↓ 5 callersMethodadd_from_spec
(&self, spec: &str)
crates/coding-agent/src/triggers/dynamic.rs:133
↓ 5 callersFunctionappend_bytes
( tar: &mut tar::Builder<W>, path: &str, bytes: &[u8], )
crates/coding-agent/src/session_archive.rs:520
↓ 5 callersFunctionappend_state
(harness: &Arc<AgentHarness>, state: &GoalState)
crates/coding-agent/src/goal.rs:123
↓ 5 callersFunctionauto_detect_model
Returns the resolved model + provider id of the chosen entry. If the catalog doesn't contain the default model id, returns an error so the caller can
crates/coding-agent/src/model.rs:23
↓ 5 callersFunctionautomation_counts
Count automation in the sidecars next to `session_path`. Missing or unparsable sidecar files degrade to zero counts — this feeds listings and hints, n
crates/coding-agent/src/session/mod.rs:295
↓ 5 callersFunctionbackoff_delay
(attempt: u32, server_delay_ms: u64, cap_ms: u64)
crates/ai/src/utils/retry.rs:160
↓ 5 callersMethodbegin_async_status_line
(&self, out: &mut dyn std::io::Write)
crates/coding-agent/src/tui.rs:354
↓ 5 callersFunctionbuild_harness_with_skills
(skills: Vec<Skill>)
crates/coding-agent/src/tools/skill.rs:160
↓ 5 callersFunctionbuild_request_body
( model: &Model, context: &Context, options: &StreamOptions, compat: &Compat, )
crates/ai/src/providers/anthropic.rs:579
↓ 5 callersFunctionbuild_test_harness
( seed: Vec<Skill>, )
crates/coding-agent/src/tools/skill_builder.rs:420
↓ 5 callersFunctionclear_api_providers
()
crates/ai/src/api_registry.rs:91
↓ 5 callersMethodcost
Snapshot of running token + cost totals.
crates/agent/src/harness/agent_harness.rs:1046
↓ 5 callersFunctiondefault_inbox_path
()
crates/coding-agent/src/inbox.rs:42
↓ 5 callersFunctiondisplay_prefix
(timestamp: Option<&str>, label: &str)
crates/coding-agent/src/ui/feed.rs:581
↓ 5 callersMethoddue_jobs
(&self, since: DateTime<Utc>, now: DateTime<Utc>)
crates/coding-agent/src/triggers/cron.rs:200
↓ 5 callersFunctionenv_var_names
(provider: &str)
crates/ai/src/env_api_keys.rs:45
↓ 5 callersMethoderror_line
(&self, text: &str)
crates/coding-agent/src/tui.rs:93
↓ 5 callersFunctionexecute
(tool: &SkillTool, name: &str)
crates/coding-agent/src/tools/skill.rs:179
↓ 5 callersFunctionexpand
Returns `(rewritten_prompt, resolved_paths)`. If `input` has no `@<path>` tokens, the rewritten prompt is the original and `resolved_paths` is empty.
crates/coding-agent/src/mentions.rs:26
↓ 5 callersFunctionformat_skills_for_system_prompt
Render the skill catalog into a `<skills>` block for inclusion in the system prompt. Returns the empty string when `skills` is empty so the surroundin
crates/agent/src/harness/system_prompt.rs:18
↓ 5 callersMethodhandle_mouse_scroll
(&mut self, column: u16, row: u16, up: bool)
crates/coding-agent/src/ui/mod.rs:1442
↓ 5 callersFunctionhelloFrame
(key = "agent-key-1")
workers/fefe-hub/tests/relay.test.mjs:15
↓ 5 callersFunctionhelp_text
(registry: &Registry, topic: Option<&str>)
crates/coding-agent/src/commands.rs:1137
↓ 5 callersFunctionhmac
(key: &[u8], message: &[u8])
crates/ai/src/sigv4.rs:184
↓ 5 callersFunctionlist
All entries, oldest first. Unparseable lines are skipped.
crates/coding-agent/src/inbox.rs:88
↓ 5 callersMethodlist
(&self)
crates/coding-agent/src/triggers/dynamic.rs:152
↓ 5 callersFunctionlist_new
Entries with status `new`, oldest first.
crates/coding-agent/src/inbox.rs:101
↓ 5 callersFunctionmap_agent_event
(event: &AgentEvent)
crates/coding-agent/src/ui/listener.rs:32
↓ 5 callersFunctionmap_harness_event
( event: &HarnessEvent, quiet: &Mutex<HashSet<String>>, debug: bool, )
crates/coding-agent/src/ui/listener.rs:104
↓ 5 callersFunctionmessage_timestamp_label
(timestamp_ms: i64)
crates/coding-agent/src/ui/feed.rs:593
↓ 5 callersFunctionmk_model
()
crates/ai/src/providers/anthropic.rs:784
↓ 5 callersFunctionnew_trigger_tool
Build the dynamic trigger creation tool. This is model-facing counterpart to the `/new-trigger` slash command: when the user asks in ordinary conversa
crates/coding-agent/src/tools/mod.rs:151
↓ 5 callersFunctionopen_repo
(cwd: &std::path::Path)
crates/coding-agent/src/session/mod.rs:20
↓ 5 callersFunctionparse_field
(field: &str, min: u32, max: u32)
crates/coding-agent/src/triggers/cron.rs:1037
↓ 5 callersFunctionparse_trigger_rule
(spec: &str)
crates/coding-agent/src/triggers/dynamic.rs:452
↓ 5 callersFunctionpause_decision
(reason: String, state: &GoalState)
crates/coding-agent/src/goal.rs:347
↓ 5 callersFunctionpersist_pause
(harness: &Arc<AgentHarness>, state: &mut GoalState, reason: String)
crates/coding-agent/src/goal.rs:334
↓ 5 callersFunctionpush_error
(sender: &mut AssistantMessageEventSender, model: &Model, msg: String)
crates/ai/src/providers/openai_completions.rs:661
↓ 5 callersFunctionpush_error
(sender: &mut AssistantMessageEventSender, model: &Model, msg: String)
crates/ai/src/providers/amazon_bedrock.rs:483
↓ 5 callersFunctionpush_error
(sender: &mut AssistantMessageEventSender, model: &Model, msg: String)
crates/ai/src/providers/mistral.rs:486
↓ 5 callersFunctionpush_paragraphs
Split `text` on newlines, word-wrap each paragraph to `width`, and push styled lines. An optional `prefix` is prepended to the very first paragraph (e
crates/coding-agent/src/ui/feed.rs:608
↓ 5 callersMethodrecord
Apply a single assistant usage record. The provider has already computed costs against the catalog's pricing table — we just sum.
crates/agent/src/harness/cost.rs:60
↓ 5 callersMethodrefresh_goal_state
(&mut self)
crates/coding-agent/src/ui/mod.rs:1154
↓ 5 callersFunctionsample_trigger
()
crates/agent/src/harness/trigger.rs:299
↓ 5 callersFunctionset_and_save
Convenience: load → set → save in one call, returning the updated overlay. Used by the `SetSkillState` tool and the `/skills enable|disable` slash com
crates/coding-agent/src/skills_state.rs:135
↓ 5 callersMethodset_input
(&mut self, text: &str)
crates/coding-agent/src/ui/mod.rs:1358
↓ 5 callersMethodshutdown
(&self)
crates/coding-agent/src/lsp.rs:214
↓ 5 callersFunctionsign
(req: &SigningRequest<'_>)
crates/ai/src/sigv4.rs:41
↓ 5 callersMethodstart_user_prompt_turn
( &mut self, prompt_text: String, loaded_images: Vec<ImageContent>, turn: &mut
crates/coding-agent/src/ui/mod.rs:1253
↓ 5 callersFunctiontest_tool
(cell: SkillHarnessCell, dir: &tempfile::TempDir)
crates/coding-agent/src/tools/skill_builder.rs:453
↓ 5 callersFunctiontruncate_line
(line: &str, width: usize)
crates/coding-agent/src/resume_picker.rs:126
↓ 5 callersFunctiontruncate_on_char_boundary
Truncate `body` to fit within `cap_bytes` *including* the truncation marker. The body portion is cut on a UTF-8 char boundary so `truncate` never pani
crates/agent/src/harness/agent_harness.rs:2999
↓ 5 callersFunctionvalidated_payload_agent_id
(trigger: &Trigger, path: &[&str])
crates/agent/src/harness/agent_harness.rs:2301
↓ 5 callersFunctionwrap_str
Display-width-aware word wrap. Breaks at the last space that fits; hard-breaks a single word longer than `width`. Preserves leading whitespace (so ind
crates/coding-agent/src/ui/feed.rs:636
↓ 5 callersMethodwrite
(&self, bytes: &[u8])
crates/coding-agent/src/spinner.rs:44
↓ 5 callersFunctionwrite_rules_file
( path: &Path, rules: &[DynamicTriggerRule], )
crates/coding-agent/src/triggers/dynamic.rs:428
↓ 4 callersMethodadd_job_full
( &self, schedule: &str, action: &str, stateful: bool, )
crates/coding-agent/src/triggers/cron.rs:117
↓ 4 callersMethodadd_rule_with_flags
( &self, condition: &str, action: &str, fire_once: bool, promote_to_ch
crates/coding-agent/src/triggers/dynamic.rs:108
↓ 4 callersMethodappend_thinking_level_change
( &self, thinking_level: impl Into<String>, )
crates/agent/src/harness/session/session.rs:452
↓ 4 callersFunctionapply_auth_to_simple_options
( model: &pie_ai::Model, options: Option<&pie_ai::SimpleStreamOptions>, resolve_api_key: F, )
crates/coding-agent/src/main.rs:1236
↓ 4 callersFunctionassert_full_timestamp_prefix
(row: &str, rendered: &str)
crates/coding-agent/src/ui/feed.rs:801
↓ 4 callersFunctionatomic_write_skill
(target: &Path, content: &str)
crates/coding-agent/src/tools/install_skill.rs:702
↓ 4 callersMethodattach_clipboard_image
(&mut self, image: crate::clipboard_image::ClipboardImage)
crates/coding-agent/src/ui/mod.rs:1042
← previousnext →201–300 of 2,618, ranked by callers