rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-agent/src/bin/agent_loop/run.rs
Items
type SharedGraph struct JsonlLogger impl JsonlLogger struct TokenBudget impl TokenBudget struct FounderCreateProjectTool impl Tool for FounderCreateProjectTool struct FounderCreateTaskTool impl Tool for FounderCreateTaskTool const TASK_COMPLETE_REP struct FounderApproveTaskTool impl Tool for FounderApproveTaskTool struct LogTimeTool impl Tool for LogTimeTool struct AgentProfile struct AgentLoopConfig struct AgentLoopPaths impl AgentLoopPaths struct AgentLoopPlan struct AgentLoopSession struct AgentLoopTaskCounts impl AgentLoopTaskCounts
Functions
By call-graph weight (PageRank; 1.0 is the average function). 43 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| TokenBudget::usedsrc/bin/agent_loop/run.rs:147 | method | 3 | 1 | 4 | 0 | 2 | |
| load_dotenv_if_presentsrc/bin/agent_loop/run.rs:68 | fn | 29 | 7 | 1 | 1 | 1.1 | |
| parse_retry_after_secssrc/bin/agent_loop/run.rs:477 | fn | 6 | 1 | 1 | 0 | 1 | |
| log_replysrc/bin/agent_loop/run.rs:953 | fn | 41 | 1 | 1 | 2 | 1 | |
| FounderCreateProjectTool::namesrc/bin/agent_loop/run.rs:172 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| FounderCreateTaskTool::namesrc/bin/agent_loop/run.rs:241 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| FounderApproveTaskTool::namesrc/bin/agent_loop/run.rs:306 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| LogTimeTool::namesrc/bin/agent_loop/run.rs:379 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| run_agent_turnsrc/bin/agent_loop/run.rs:865 | fn | 14 | 1 | 1 | 5 | 0.7 | |
| agent_loop_config_from_argssrc/bin/agent_loop/run.rs:492 | fn | 9 | 1 | 1 | 0 | 0.7 | |
| load_agent_loop_dotenvsrc/bin/agent_loop/run.rs:502 | fn | 3 | 1 | 1 | 1 | 0.7 | |
| AgentLoopPaths::defaultsrc/bin/agent_loop/run.rs:525 | method | 11 | 1 | 1 | 0 | 0.7 | |
| tick_nudgesrc/bin/agent_loop/run.rs:880 | fn | 13 | 4 | 1 | 1 | 0.6 | |
| push_user_nudgesrc/bin/agent_loop/run.rs:894 | fn | 9 | 1 | 1 | 1 | 0.6 | |
| step_with_rate_limitsrc/bin/agent_loop/run.rs:904 | fn | 18 | 4 | 1 | 1 | 0.6 | |
| handle_step_resultsrc/bin/agent_loop/run.rs:923 | fn | 29 | 3 | 1 | 1 | 0.6 | |
| trim_conversationsrc/bin/agent_loop/run.rs:995 | fn | 6 | 2 | 1 | 0 | 0.6 | |
| AgentLoopTaskCounts::from_taskssrc/bin/agent_loop/run.rs:563 | method | 8 | 1 | 1 | 0 | 0.6 | |
| print_agent_loop_headersrc/bin/agent_loop/run.rs:506 | fn | 9 | 2 | 1 | 0 | 0.6 | |
| build_agent_loop_plansrc/bin/agent_loop/run.rs:584 | fn | 7 | 1 | 1 | 3 | 0.6 | |
| phase_prepare_agent_loop_sessionsrc/bin/agent_loop/run.rs:592 | fn | 35 | 1 | 1 | 10 | 0.6 | |
| phase_run_agent_loop_tickssrc/bin/agent_loop/run.rs:774 | fn | 35 | 6 | 1 | 2 | 0.6 | |
| phase_print_agent_loop_summarysrc/bin/agent_loop/run.rs:810 | fn | 33 | 1 | 1 | 5 | 0.6 | |
| seed_env_creds_into_vaultsrc/bin/agent_loop/run.rs:98 | fn | 14 | 3 | 1 | 4 | 0.5 | |
| JsonlLogger::newsrc/bin/agent_loop/run.rs:122 | method | 6 | 2 | 1 | 2 | 0.5 | |
| agent_loop_profilessrc/bin/agent_loop/run.rs:628 | fn | 47 | 1 | 1 | 0 | 0.5 | |
| build_agent_loop_agentssrc/bin/agent_loop/run.rs:709 | fn | 64 | 7 | 1 | 13 | 0.5 | |
| discover_agent_loop_providersrc/bin/agent_loop/run.rs:844 | fn | 20 | 2 | 1 | 2 | 0.5 | |
| build_agent_viewsrc/bin/agent_loop/run.rs:438 | fn | 20 | 1 | 1 | 5 | 0.5 | |
| loop_profile_lookupsrc/bin/agent_loop/run.rs:464 | fn | 7 | 2 | 1 | 2 | 0.5 | |
| build_vm_os_toolsrc/bin/agent_loop/run.rs:682 | fn | 26 | 5 | 1 | 7 | 0.5 | |
| JsonlLogger::logsrc/bin/agent_loop/run.rs:129 | method | 6 | 2 | 0 | 0 | 0.5 | |
| TokenBudget::addsrc/bin/agent_loop/run.rs:150 | method | 4 | 1 | 0 | 0 | 0.5 | |
| TokenBudget::exhaustedsrc/bin/agent_loop/run.rs:154 | method | 3 | 1 | 0 | 1 | 0.5 | |
| FounderCreateProjectTool::specsrc/bin/agent_loop/run.rs:175 | trait impl | 20 | 1 | 0 | 1 | 0.5 | |
| FounderCreateProjectTool::executesrc/bin/agent_loop/run.rs:195 | trait impl | 38 | 2 | 0 | 3 | 0.5 | |
| FounderCreateTaskTool::specsrc/bin/agent_loop/run.rs:244 | trait impl | 19 | 1 | 0 | 1 | 0.5 | |
| FounderCreateTaskTool::executesrc/bin/agent_loop/run.rs:263 | trait impl | 30 | 2 | 0 | 4 | 0.5 | |
| FounderApproveTaskTool::specsrc/bin/agent_loop/run.rs:309 | trait impl | 14 | 1 | 0 | 1 | 0.5 | |
| FounderApproveTaskTool::executesrc/bin/agent_loop/run.rs:323 | trait impl | 46 | 1 | 0 | 6 | 0.5 | |
| LogTimeTool::specsrc/bin/agent_loop/run.rs:382 | trait impl | 19 | 1 | 0 | 1 | 0.5 | |
| LogTimeTool::executesrc/bin/agent_loop/run.rs:401 | trait impl | 25 | 1 | 0 | 4 | 0.5 | |
| runsrc/bin/agent_loop/run.rs:575 | fn | 8 | 1 | 0 | 5 | 0.5 |
Source not readable from this process.