1 viewer
rust 1,879,476 · typescript 232,735 · javascript 134,783 · python 22,539 · 6,525 files · digest 168195fc00b0 · built in 13.1 s · crystals off
crates/cre8-app-agent/src/tool.rs
Items
trait AccountLookup struct AgentView impl AgentView struct MyWalletTool impl MyWalletTool struct MyWalletArgs impl Tool for MyWalletTool struct MyCapsTool impl MyCapsTool struct MyCapsArgs impl Tool for MyCapsTool struct MyProfileTool impl MyProfileTool impl Tool for MyProfileTool struct MyProposeFlowTool impl MyProposeFlowTool struct MyProposeArgs impl Tool for MyProposeFlowTool struct StaticLookup impl AccountLookup for StaticLookup
Functions
By call-graph weight (PageRank; 1.0 is the average function). 47 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| AgentView::newsrc/tool.rs:62 | method | 3 | 1 | 11 | 0 | 3.5 | |
| fresh_agent_viewsrc/tool.rs:513 | fn | 18 | 1 | 18 | 4 | 3.3 | |
| MyProposeFlowTool::newsrc/tool.rs:307 | method | 3 | 1 | 6 | 0 | 1.6 | |
| StaticLookup::get_accountsrc/tool.rs:538 | trait impl | 3 | 2 | 1 | 0 | 1.4 | |
| permissive_policysrc/tool.rs:503 | fn | 3 | 1 | 1 | 0 | 1.2 | |
| MyWalletTool::newsrc/tool.rs:106 | method | 3 | 1 | 5 | 0 | 1.2 | |
| fresh_economysrc/tool.rs:494 | fn | 8 | 1 | 1 | 4 | 1.2 | |
| MyCapsTool::newsrc/tool.rs:178 | method | 3 | 1 | 5 | 0 | 1.2 | |
| AgentView::fresh_accountsrc/tool.rs:72 | method | 8 | 3 | 2 | 1 | 1.1 | |
| MyProfileTool::newsrc/tool.rs:258 | method | 3 | 1 | 4 | 0 | 1 | |
| MyWalletTool::namesrc/tool.rs:120 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| MyCapsTool::namesrc/tool.rs:189 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| MyProfileTool::namesrc/tool.rs:264 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| MyProposeFlowTool::namesrc/tool.rs:323 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| creditsrc/tool.rs:507 | fn | 5 | 1 | 3 | 1 | 0.9 | |
| AgentView::agent_profilesrc/tool.rs:94 | method | 3 | 1 | 3 | 1 | 0.8 | |
| agent_peer_toolssrc/tool.rs:422 | fn | 8 | 1 | 3 | 5 | 0.8 | |
| AgentView::new_with_lookupsrc/tool.rs:67 | method | 3 | 1 | 1 | 0 | 0.6 | |
| agent_full_toolkitsrc/tool.rs:465 | fn | 15 | 1 | 2 | 6 | 0.6 | |
| AgentView::account_idsrc/tool.rs:82 | method | 3 | 1 | 0 | 0 | 0.5 | |
| AgentView::display_namesrc/tool.rs:87 | method | 3 | 1 | 0 | 1 | 0.5 | |
| MyWalletTool::specsrc/tool.rs:124 | trait impl | 19 | 1 | 0 | 1 | 0.5 | |
| MyWalletTool::executesrc/tool.rs:144 | trait impl | 25 | 2 | 0 | 0 | 0.5 | |
| MyCapsTool::specsrc/tool.rs:193 | trait impl | 21 | 1 | 0 | 1 | 0.5 | |
| MyCapsTool::executesrc/tool.rs:215 | trait impl | 34 | 3 | 0 | 1 | 0.5 | |
| MyProfileTool::specsrc/tool.rs:268 | trait impl | 14 | 1 | 0 | 1 | 0.5 | |
| MyProfileTool::executesrc/tool.rs:283 | trait impl | 15 | 1 | 0 | 2 | 0.5 | |
| MyProposeFlowTool::specsrc/tool.rs:327 | trait impl | 34 | 1 | 0 | 1 | 0.5 | |
| MyProposeFlowTool::executesrc/tool.rs:362 | trait impl | 52 | 3 | 0 | 2 | 0.5 | |
| agent_view_uses_fresh_lookup_when_available_and_falls_back_on_errorssrc/tool.rs:544 | fn | 19 | 1 | 0 | 3 | 0.5 | |
| tool_specs_are_named_and_describe_expected_inputssrc/tool.rs:565 | fn | 17 | 1 | 0 | 5 | 0.5 | |
| my_wallet_returns_own_balances_no_argssrc/tool.rs:586 | fn | 15 | 1 | 0 | 3 | 0.5 | |
| my_wallet_filters_by_asset_pathsrc/tool.rs:603 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| my_wallet_returns_zero_for_unheld_assetsrc/tool.rs:613 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| my_caps_reports_own_headroomsrc/tool.rs:623 | fn | 20 | 1 | 0 | 4 | 0.5 | |
| my_caps_errors_on_unknown_namespacesrc/tool.rs:645 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| my_caps_rejects_invalid_args_and_handles_zero_max_capssrc/tool.rs:653 | fn | 15 | 1 | 0 | 3 | 0.5 | |
| my_profile_returns_role_and_introsrc/tool.rs:672 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| my_profile_errors_for_non_agent_accountsrc/tool.rs:685 | fn | 9 | 1 | 0 | 4 | 0.5 | |
| my_propose_flow_uses_own_account_id_as_actorsrc/tool.rs:698 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| my_propose_flow_accepts_payload_and_default_amountsrc/tool.rs:714 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| my_propose_flow_rejects_invalid_argssrc/tool.rs:731 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| my_propose_flow_reports_unknown_intentsrc/tool.rs:739 | fn | 13 | 1 | 0 | 2 | 0.5 | |
| agent_peer_tools_returns_four_named_toolssrc/tool.rs:756 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| agent_full_toolkit_appends_market_offer_ballot_and_alignment_toolssrc/tool.rs:769 | fn | 23 | 1 | 0 | 7 | 0.5 | |
| agent_full_toolkit_merit_returns_real_values_when_source_wiredsrc/tool.rs:800 | fn | 78 | 1 | 0 | 12 | 0.5 | |
| agent_view_exposes_profile_viewsrc/tool.rs:880 | fn | 6 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.