rust 1,860,881 · typescript 235,770 · javascript 132,961 · python 20,426 · 6,411 files · digest 3bf1ccedeeb3 · built in 2 s · crystals off
crates/cre8-runtime-reflection/src/mcp_projection.rs
Items
enum FieldSource impl FieldSource struct ResolvedField impl ResolvedField struct ProjectedMcpTool impl ProjectedMcpTool const DESTRUCTIVE_WORDS const IDEMPOTENT_WRITE_WORDS struct ProjectionIndex impl ProjectionIndex struct NameCollision enum WithholdReason impl WithholdReason struct WithheldTool struct McpExposurePolicy impl Default for McpExposurePolicy impl McpExposurePolicy struct McpToolSurface impl McpToolSurface static WRITE_INPUT static READ_INPUT static MONEY_INPUT static SPECS static ID_ONLY_SPEC static EXTRAS static ROUTE_HANDLERS static DECLARED_INPUT static REFUND_INPUT static SCHEMAS static MCP_TOOLS struct FixtureApp impl RuntimeAppSurface for FixtureApp static CLASH_SPECS struct ClashApp impl RuntimeAppSurface for ClashApp static CONTEXT_FREE_INPUT
Functions
By call-graph weight (PageRank; 1.0 is the average function). 60 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| project_all_mcp_tools_fromsrc/mcp_projection.rs:504 | fn | 44 | 7 | 3 | 4 | 4 | |
| project_mcp_tools_fromsrc/mcp_projection.rs:495 | fn | 7 | 1 | 10 | 1 | 3.2 | |
| shape_mcp_tool_surfacesrc/mcp_projection.rs:818 | fn | 47 | 6 | 3 | 0 | 1.9 | |
| McpExposurePolicy::defaultsrc/mcp_projection.rs:629 | trait impl | 10 | 1 | 5 | 0 | 1.9 | |
| project_mcp_tool_surface_fromsrc/mcp_projection.rs:796 | fn | 20 | 2 | 7 | 2 | 1.5 | |
| ResolvedField::to_propertysrc/mcp_projection.rs:80 | method | 26 | 5 | 1 | 2 | 1.4 | |
| ProjectionIndex::buildsrc/mcp_projection.rs:197 | method | 46 | 9 | 1 | 1 | 1.3 | |
| project_onesrc/mcp_projection.rs:433 | fn | 42 | 2 | 1 | 8 | 1.3 | |
| toolsrc/mcp_projection.rs:1035 | fn | 3 | 1 | 5 | 0 | 1.3 | |
| McpExposurePolicy::from_lookupsrc/mcp_projection.rs:654 | method | 22 | 7 | 5 | 3 | 1.3 | |
| action_ofsrc/mcp_projection.rs:159 | fn | 3 | 1 | 1 | 0 | 1.1 | |
| projected_mcp_tool_for_name_insrc/mcp_projection.rs:554 | fn | 7 | 1 | 2 | 1 | 1.1 | |
| input_schema_from_resolvedsrc/mcp_projection.rs:336 | fn | 16 | 3 | 2 | 1 | 1 | |
| resolve_tiersrc/mcp_projection.rs:361 | fn | 35 | 12 | 3 | 5 | 1 | |
| tool_titlesrc/mcp_projection.rs:169 | fn | 17 | 8 | 1 | 0 | 0.9 | |
| build_input_schemasrc/mcp_projection.rs:871 | fn | 23 | 2 | 1 | 2 | 0.9 | |
| propertysrc/mcp_projection.rs:1039 | fn | 3 | 1 | 3 | 0 | 0.9 | |
| McpToolSurface::reportsrc/mcp_projection.rs:730 | method | 24 | 3 | 3 | 0 | 0.9 | |
| split_listsrc/mcp_projection.rs:641 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| ProjectionIndex::schema_forsrc/mcp_projection.rs:244 | method | 3 | 1 | 2 | 0 | 0.8 | |
| contains_wordsrc/mcp_projection.rs:163 | fn | 4 | 1 | 1 | 1 | 0.8 | |
| resolve_fieldsrc/mcp_projection.rs:259 | fn | 60 | 7 | 1 | 6 | 0.7 | |
| resolve_input_fieldssrc/mcp_projection.rs:321 | fn | 13 | 1 | 1 | 3 | 0.6 | |
| build_annotationssrc/mcp_projection.rs:397 | fn | 19 | 4 | 1 | 2 | 0.6 | |
| connection_prosesrc/mcp_projection.rs:417 | fn | 15 | 3 | 1 | 0 | 0.6 | |
| McpToolSurface::inventorysrc/mcp_projection.rs:756 | method | 37 | 1 | 1 | 0 | 0.6 | |
| ProjectionIndex::route_payload_fieldsrc/mcp_projection.rs:248 | method | 3 | 1 | 1 | 0 | 0.6 | |
| ProjectionIndex::cli_paramsrc/mcp_projection.rs:252 | method | 5 | 1 | 1 | 0 | 0.6 | |
| FieldSource::labelsrc/mcp_projection.rs:48 | method | 9 | 5 | 0 | 0 | 0.5 | |
| FieldSource::is_authoredsrc/mcp_projection.rs:60 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ProjectedMcpTool::metasrc/mcp_projection.rs:136 | method | 14 | 1 | 0 | 0 | 0.5 | |
| WithholdReason::labelsrc/mcp_projection.rs:582 | method | 10 | 6 | 0 | 0 | 0.5 | |
| McpExposurePolicy::rejectsrc/mcp_projection.rs:685 | method | 19 | 9 | 0 | 0 | 0.5 | |
| McpExposurePolicy::describesrc/mcp_projection.rs:705 | method | 10 | 1 | 0 | 0 | 0.5 | |
| FixtureApp::app_namesrc/mcp_projection.rs:978 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FixtureApp::app_connection_specssrc/mcp_projection.rs:982 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FixtureApp::app_connection_extrassrc/mcp_projection.rs:986 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FixtureApp::app_route_handler_specssrc/mcp_projection.rs:990 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FixtureApp::app_mcp_toolssrc/mcp_projection.rs:994 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FixtureApp::app_connection_schemassrc/mcp_projection.rs:998 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FixtureApp::app_routessrc/mcp_projection.rs:1002 | trait impl | 13 | 1 | 0 | 0 | 0.5 | |
| FixtureApp::app_cli_commandssrc/mcp_projection.rs:1016 | trait impl | 17 | 1 | 0 | 3 | 0.5 | |
| every_connection_projects_and_curated_names_winsrc/mcp_projection.rs:1044 | fn | 13 | 1 | 0 | 2 | 0.5 | |
| declared_field_schemas_beat_every_derivationsrc/mcp_projection.rs:1059 | fn | 13 | 1 | 0 | 3 | 0.5 | |
| undeclared_fields_fall_through_cli_then_conventionsrc/mcp_projection.rs:1074 | fn | 16 | 1 | 0 | 3 | 0.5 | |
| route_default_payload_types_and_exemplifies_fieldssrc/mcp_projection.rs:1092 | fn | 11 | 1 | 0 | 3 | 0.5 | |
| nothing_is_typed_string_by_blanket_default_anymoresrc/mcp_projection.rs:1105 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| tiers_come_from_declared_effects_fused_with_the_action_verbsrc/mcp_projection.rs:1116 | fn | 23 | 1 | 0 | 2 | 0.5 | |
| tier_resolution_reports_source_precedence_without_guessingsrc/mcp_projection.rs:1141 | fn | 35 | 1 | 0 | 3 | 0.5 | |
| default_policy_withholds_unknown_and_bare_tools_and_says_sosrc/mcp_projection.rs:1178 | fn | 16 | 1 | 0 | 3 | 0.5 | |
| tier_filter_can_shrink_the_surface_to_readssrc/mcp_projection.rs:1196 | fn | 12 | 2 | 0 | 2 | 0.5 | |
| a_cap_reports_every_tool_it_cutsrc/mcp_projection.rs:1210 | fn | 14 | 4 | 0 | 3 | 0.5 | |
| app_filters_bind_curated_tools_toosrc/mcp_projection.rs:1226 | fn | 12 | 2 | 0 | 2 | 0.5 | |
| inventory_lists_withheld_tools_so_nothing_disappears_silentlysrc/mcp_projection.rs:1240 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| a_lost_name_race_is_reported_rather_than_vanishingsrc/mcp_projection.rs:1249 | fn | 37 | 3 | 0 | 4 | 0.5 | |
| ClashApp::app_namesrc/mcp_projection.rs:1260 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ClashApp::app_connection_specssrc/mcp_projection.rs:1263 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| tool_call_resolution_sees_withheld_toolssrc/mcp_projection.rs:1288 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| context_free_schema_types_by_convention_and_admits_what_it_cannot_typesrc/mcp_projection.rs:1302 | fn | 12 | 1 | 0 | 1 | 0.5 | |
| tool_titles_read_as_prosesrc/mcp_projection.rs:1316 | fn | 5 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.