Skip to content
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

cre8-app-agent · module tool · src · 886 lines (677 code, 110 comment) · sha 5a0ebb52abe1ba30

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
AgentView::newsrc/tool.rs:62method311103.5
fresh_agent_viewsrc/tool.rs:513fn1811843.3
MyProposeFlowTool::newsrc/tool.rs:307method31601.6
StaticLookup::get_accountsrc/tool.rs:538trait impl32101.4
permissive_policysrc/tool.rs:503fn31101.2
MyWalletTool::newsrc/tool.rs:106method31501.2
fresh_economysrc/tool.rs:494fn81141.2
MyCapsTool::newsrc/tool.rs:178method31501.2
AgentView::fresh_accountsrc/tool.rs:72method83211.1
MyProfileTool::newsrc/tool.rs:258method31401
MyWalletTool::namesrc/tool.rs:120trait impl31100.9
MyCapsTool::namesrc/tool.rs:189trait impl31100.9
MyProfileTool::namesrc/tool.rs:264trait impl31100.9
MyProposeFlowTool::namesrc/tool.rs:323trait impl31100.9
creditsrc/tool.rs:507fn51310.9
AgentView::agent_profilesrc/tool.rs:94method31310.8
agent_peer_toolssrc/tool.rs:422fn81350.8
AgentView::new_with_lookupsrc/tool.rs:67method31100.6
agent_full_toolkitsrc/tool.rs:465fn151260.6
AgentView::account_idsrc/tool.rs:82method31000.5
AgentView::display_namesrc/tool.rs:87method31010.5
MyWalletTool::specsrc/tool.rs:124trait impl191010.5
MyWalletTool::executesrc/tool.rs:144trait impl252000.5
MyCapsTool::specsrc/tool.rs:193trait impl211010.5
MyCapsTool::executesrc/tool.rs:215trait impl343010.5
MyProfileTool::specsrc/tool.rs:268trait impl141010.5
MyProfileTool::executesrc/tool.rs:283trait impl151020.5
MyProposeFlowTool::specsrc/tool.rs:327trait impl341010.5
MyProposeFlowTool::executesrc/tool.rs:362trait impl523020.5
agent_view_uses_fresh_lookup_when_available_and_falls_back_on_errorssrc/tool.rs:544fn191030.5
tool_specs_are_named_and_describe_expected_inputssrc/tool.rs:565fn171050.5
my_wallet_returns_own_balances_no_argssrc/tool.rs:586fn151030.5
my_wallet_filters_by_asset_pathsrc/tool.rs:603fn81030.5
my_wallet_returns_zero_for_unheld_assetsrc/tool.rs:613fn61020.5
my_caps_reports_own_headroomsrc/tool.rs:623fn201040.5
my_caps_errors_on_unknown_namespacesrc/tool.rs:645fn61020.5
my_caps_rejects_invalid_args_and_handles_zero_max_capssrc/tool.rs:653fn151030.5
my_profile_returns_role_and_introsrc/tool.rs:672fn111020.5
my_profile_errors_for_non_agent_accountsrc/tool.rs:685fn91040.5
my_propose_flow_uses_own_account_id_as_actorsrc/tool.rs:698fn141020.5
my_propose_flow_accepts_payload_and_default_amountsrc/tool.rs:714fn151020.5
my_propose_flow_rejects_invalid_argssrc/tool.rs:731fn61020.5
my_propose_flow_reports_unknown_intentsrc/tool.rs:739fn131020.5
agent_peer_tools_returns_four_named_toolssrc/tool.rs:756fn111020.5
agent_full_toolkit_appends_market_offer_ballot_and_alignment_toolssrc/tool.rs:769fn231070.5
agent_full_toolkit_merit_returns_real_values_when_source_wiredsrc/tool.rs:800fn7810120.5
agent_view_exposes_profile_viewsrc/tool.rs:880fn61030.5

Source not readable from this process.