1 viewer
rust 1,859,753 · typescript 235,218 · javascript 132,950 · python 20,426 · 6,405 files · digest 8b5a693e3c82 · built in 1.7 s · crystals off
crates/cre8-app-agent/src/tools.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/tools.rs:62 | method | 3 | 1 | 11 | 0 | 3.5 | |
| fresh_agent_viewsrc/tools.rs:513 | fn | 18 | 1 | 18 | 4 | 3.3 | |
| MyProposeFlowTool::newsrc/tools.rs:307 | method | 3 | 1 | 6 | 0 | 1.6 | |
| StaticLookup::get_accountsrc/tools.rs:538 | trait impl | 3 | 2 | 1 | 0 | 1.5 | |
| permissive_policysrc/tools.rs:503 | fn | 3 | 1 | 1 | 0 | 1.2 | |
| MyWalletTool::newsrc/tools.rs:106 | method | 3 | 1 | 5 | 0 | 1.2 | |
| fresh_economysrc/tools.rs:494 | fn | 8 | 1 | 1 | 4 | 1.2 | |
| MyCapsTool::newsrc/tools.rs:178 | method | 3 | 1 | 5 | 0 | 1.2 | |
| AgentView::fresh_accountsrc/tools.rs:72 | method | 8 | 3 | 2 | 1 | 1.1 | |
| MyProfileTool::newsrc/tools.rs:258 | method | 3 | 1 | 4 | 0 | 1 | |
| MyWalletTool::namesrc/tools.rs:120 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| MyCapsTool::namesrc/tools.rs:189 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| MyProfileTool::namesrc/tools.rs:264 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| MyProposeFlowTool::namesrc/tools.rs:323 | trait impl | 3 | 1 | 1 | 0 | 0.9 | |
| creditsrc/tools.rs:507 | fn | 5 | 1 | 3 | 1 | 0.9 | |
| AgentView::agent_profilesrc/tools.rs:94 | method | 3 | 1 | 3 | 1 | 0.8 | |
| agent_peer_toolssrc/tools.rs:422 | fn | 8 | 1 | 3 | 5 | 0.8 | |
| AgentView::new_with_lookupsrc/tools.rs:67 | method | 3 | 1 | 1 | 0 | 0.6 | |
| agent_full_toolkitsrc/tools.rs:465 | fn | 15 | 1 | 2 | 6 | 0.6 | |
| AgentView::account_idsrc/tools.rs:82 | method | 3 | 1 | 0 | 0 | 0.5 | |
| AgentView::display_namesrc/tools.rs:87 | method | 3 | 1 | 0 | 1 | 0.5 | |
| MyWalletTool::specsrc/tools.rs:124 | trait impl | 19 | 1 | 0 | 1 | 0.5 | |
| MyWalletTool::executesrc/tools.rs:144 | trait impl | 25 | 2 | 0 | 0 | 0.5 | |
| MyCapsTool::specsrc/tools.rs:193 | trait impl | 21 | 1 | 0 | 1 | 0.5 | |
| MyCapsTool::executesrc/tools.rs:215 | trait impl | 34 | 3 | 0 | 1 | 0.5 | |
| MyProfileTool::specsrc/tools.rs:268 | trait impl | 14 | 1 | 0 | 1 | 0.5 | |
| MyProfileTool::executesrc/tools.rs:283 | trait impl | 15 | 1 | 0 | 2 | 0.5 | |
| MyProposeFlowTool::specsrc/tools.rs:327 | trait impl | 34 | 1 | 0 | 1 | 0.5 | |
| MyProposeFlowTool::executesrc/tools.rs:362 | trait impl | 52 | 3 | 0 | 2 | 0.5 | |
| agent_view_uses_fresh_lookup_when_available_and_falls_back_on_errorssrc/tools.rs:544 | fn | 19 | 1 | 0 | 3 | 0.5 | |
| tool_specs_are_named_and_describe_expected_inputssrc/tools.rs:565 | fn | 17 | 1 | 0 | 5 | 0.5 | |
| my_wallet_returns_own_balances_no_argssrc/tools.rs:586 | fn | 15 | 1 | 0 | 3 | 0.5 | |
| my_wallet_filters_by_asset_pathsrc/tools.rs:603 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| my_wallet_returns_zero_for_unheld_assetsrc/tools.rs:613 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| my_caps_reports_own_headroomsrc/tools.rs:623 | fn | 20 | 1 | 0 | 4 | 0.5 | |
| my_caps_errors_on_unknown_namespacesrc/tools.rs:645 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| my_caps_rejects_invalid_args_and_handles_zero_max_capssrc/tools.rs:653 | fn | 15 | 1 | 0 | 3 | 0.5 | |
| my_profile_returns_role_and_introsrc/tools.rs:672 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| my_profile_errors_for_non_agent_accountsrc/tools.rs:685 | fn | 9 | 1 | 0 | 4 | 0.5 | |
| my_propose_flow_uses_own_account_id_as_actorsrc/tools.rs:698 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| my_propose_flow_accepts_payload_and_default_amountsrc/tools.rs:714 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| my_propose_flow_rejects_invalid_argssrc/tools.rs:731 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| my_propose_flow_reports_unknown_intentsrc/tools.rs:739 | fn | 13 | 1 | 0 | 2 | 0.5 | |
| agent_peer_tools_returns_four_named_toolssrc/tools.rs:756 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| agent_full_toolkit_appends_market_offer_ballot_and_alignment_toolssrc/tools.rs:769 | fn | 23 | 1 | 0 | 7 | 0.5 | |
| agent_full_toolkit_merit_returns_real_values_when_source_wiredsrc/tools.rs:800 | fn | 78 | 1 | 0 | 12 | 0.5 | |
| agent_view_exposes_profile_viewsrc/tools.rs:880 | fn | 6 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.