periplus-map 0.4.2__tar.gz → 0.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {periplus_map-0.4.2 → periplus_map-0.5.2}/PKG-INFO +29 -29
- {periplus_map-0.4.2 → periplus_map-0.5.2}/README.md +26 -24
- {periplus_map-0.4.2 → periplus_map-0.5.2}/pyproject.toml +5 -7
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/cli.py +17 -3
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/contract/schema/map.schema.json +9 -1
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/contract/schema/navigation.schema.json +24 -2
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/contract/schema/pack-file.schema.json +21 -2
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/engine/packload.py +121 -27
- periplus_map-0.5.2/src/periplus/engine/pattern.py +62 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/engine/rules.py +62 -16
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/navigate/export.py +16 -3
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/navigate/find.py +2 -3
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/navigate/mapfile.py +6 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/navigate/path.py +2 -3
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/navigate/show.py +2 -2
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/navigate/slice.py +16 -4
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/navigate/types.py +2 -3
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/navigate/walk.py +2 -3
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/call/call.yaml +4 -2
- periplus_map-0.5.2/src/periplus/packs/drupal_basic@0.3.0/call/runtime_argument.yaml +284 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_basic@0.3.0/call/runtime_argument_in_function.yaml +294 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/pack.yaml +23 -17
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/route/route_call.yaml +3 -2
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/template/template.yaml +48 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/template/template_route_link.yaml +27 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/url/url.yaml +16 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_js_basic@0.0.1/attachment/attachment_in_php_array.yaml +11 -12
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_js_basic@0.0.1/behavior/behavior.yaml +9 -9
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_js_basic@0.0.1/pack.yaml +22 -14
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_js_basic@0.0.1/setting/setting_in_php.yaml +23 -27
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/base_field/base_field.yaml +18 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/base_field/base_field_of.yaml +15 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/base_field/base_field_targets.yaml +16 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/base_field/field_name.yaml +15 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/entity_handler/handler.yaml +21 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/entity_handler/has_handler.yaml +6 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/job_enqueue/enqueues_job.yaml +7 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/job_enqueue/job_create.yaml +23 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/pack.yaml +10 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/permission_check/checks_permission.yaml +7 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/permission_check/has_permission_call.yaml +14 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/php_field/field_get_call.yaml +12 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/php_field/field_magic_property.yaml +12 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_more@0.1.0/php_field/uses_field.yaml +7 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/drupal_call/drupal_base_binding.yaml +20 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/drupal_call/drupal_call.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/drupal_call/drupal_call_base_variable.yaml +41 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/drupal_call/drupal_call_base_variable_function.yaml +43 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/drupal_call/drupal_call_client_fetch.yaml +38 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/drupal_call/drupal_call_client_fetch_function.yaml +40 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/drupal_call/drupal_call_draft_validation.yaml +23 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/drupal_call/drupal_call_inline_env.yaml +37 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/drupal_call/drupal_call_inline_env_function.yaml +40 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/drupal_call/drupal_call_translate_path.yaml +23 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/drupal_call/function_calls_endpoint.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/call_endpoint_method_base_variable.yaml +42 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/call_endpoint_method_base_variable_get.yaml +41 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/call_endpoint_method_client_fetch.yaml +38 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/call_endpoint_method_client_fetch_get.yaml +38 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/endpoint.yaml +13 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/endpoint_method.yaml +17 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/endpoint_method_first.yaml +48 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/endpoint_method_listed.yaml +81 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/endpoint_method_second.yaml +47 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/endpoint_method_third.yaml +30 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/endpoint_rest_canonical.yaml +60 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/endpoint_rest_create.yaml +60 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/endpoint_rest_resource.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/endpoint_routing.yaml +57 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/rest_disabled.yaml +9 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/rest_module_absent.yaml +12 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/endpoint/rest_resource_inert.yaml +13 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/entity_type_config/entity_type_config.yaml +7 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/entity_type_config/entity_type_config_bundle.yaml +30 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/entity_type_config/entity_type_config_file.yaml +26 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/entity_type_config/entity_type_config_revalidator.yaml +30 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/entity_type_config/entity_type_config_site_resolver.yaml +30 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/entity_type_config/entity_type_config_sites.yaml +31 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/function_uses_jsonapi_resource.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/jsonapi_resource.yaml +11 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/resource_call_constant.yaml +28 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/resource_call_constant_function.yaml +32 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/resource_call_literal.yaml +25 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/resource_call_literal_function.yaml +29 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/resource_call_path.yaml +25 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/resource_call_path_function.yaml +29 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/resource_constant_binding.yaml +19 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/resource_node_literal.yaml +22 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/resource_node_path.yaml +22 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/resource_to_bundle.yaml +23 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/resource_to_entity_type.yaml +23 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/jsonapi_resource/resource_to_extras_config.yaml +23 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/oauth_scope/oauth_scope_in_string.yaml +40 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/oauth_scope/oauth_scope_role.yaml +28 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/pack.yaml +42 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/preview_url_generator/preview_url_generator.yaml +9 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/preview_url_generator/preview_url_generator_annotation.yaml +42 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/revalidator/revalidator.yaml +9 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/revalidator/revalidator_annotation.yaml +42 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/settings/settings_previewer.yaml +27 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/settings/settings_url_generator.yaml +27 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/site/site.yaml +7 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/site/site_config.yaml +34 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/site/site_preview_handler.yaml +30 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/site/site_revalidate_handler.yaml +30 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/site_previewer/site_previewer.yaml +9 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/site_previewer/site_previewer_annotation.yaml +42 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/site_resolver/site_resolver.yaml +9 -0
- periplus_map-0.5.2/src/periplus/packs/drupal_next@0.1.0/site_resolver/site_resolver_annotation.yaml +42 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/go_basic@0.0.3/pack.yaml +2 -2
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/js_basic@0.0.1/pack.yaml +2 -2
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/layout/layout.yaml +11 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/layout/layout_file.yaml +36 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/middleware/middleware.yaml +11 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/middleware/middleware_file.yaml +36 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/pack.yaml +49 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/page/page.yaml +11 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/page/page_file.yaml +36 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/page_link/page_link.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/page_link/page_link_href.yaml +25 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/page_link/page_link_redirect.yaml +25 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/page_link/page_link_router.yaml +25 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_call/function_calls_route.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_call/route_call.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_call/route_call_fetch.yaml +37 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_call/route_call_fetch_function.yaml +28 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_call/route_name_assignment.yaml +26 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_call/route_name_attribute.yaml +27 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_call/route_name_ternary.yaml +26 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_call/route_names.yaml +6 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_handler/route_handler.yaml +11 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_handler/route_handler_file.yaml +36 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_method/route_method.yaml +11 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_method/route_method_destructured.yaml +60 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/route_method/route_method_export.yaml +44 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/special_file/special_file.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/special_file/special_file_name.yaml +18 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/url_name_route/url_name_assign_first.yaml +19 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/url_name_route/url_name_assign_second.yaml +19 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/url_name_route/url_name_route.yaml +6 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/url_name_route/url_prop_literal.yaml +19 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/url_name_route/url_through_name.yaml +14 -0
- periplus_map-0.5.2/src/periplus/packs/nextjs@0.2.0/url_name_route/url_through_prop.yaml +15 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php_basic@0.2.0/edges/edge_kinds.yaml +2 -2
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php_basic@0.2.0/edges/find_structure.yaml +38 -12
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php_basic@0.2.0/pack.yaml +6 -3
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php_basic@0.2.0/types/find_declarations.yaml +4 -3
- periplus_map-0.5.2/src/periplus/packs/php_basic@0.2.0/types/find_runtime_calls.yaml +106 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/client_directive/client_directive.yaml +25 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/component/component.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/component/component_arrow.yaml +31 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/component/component_declaration.yaml +31 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/component/component_wrapped.yaml +31 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/component/declares_component.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/component_render/component_render.yaml +30 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/component_render/renders_component.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/hook/declares_hook.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/hook/hook.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/hook/hook_arrow.yaml +31 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/hook/hook_declaration.yaml +31 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/hook_use/hook_use.yaml +30 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/hook_use/uses_hook.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/pack.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/url_prop/url_prop.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/url_prop/url_prop_fetch.yaml +12 -0
- periplus_map-0.5.2/src/periplus/packs/react@0.1.0/url_prop/url_prop_variable.yaml +12 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/twig_tweak_basic@0.0.1/pack.yaml +4 -2
- periplus_map-0.5.2/src/periplus/packs/twig_tweak_basic@0.0.1/rules/block.yaml +35 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/twig_tweak_basic@0.0.1/rules/entity.yaml +28 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/twig_tweak_basic@0.0.1/rules/field.yaml +15 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/twig_tweak_basic@0.0.1/rules/menu.yaml +15 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/binding/import_default_alias.yaml +21 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/binding/import_default_relative.yaml +26 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/binding/import_name_alias.yaml +24 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/binding/import_name_relative.yaml +29 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/binding/import_renamed_alias.yaml +24 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/binding/import_renamed_relative.yaml +29 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/binding/same_file_const.yaml +20 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/binding/same_file_function.yaml +19 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/call/function_call.yaml +30 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/call/function_calls_function.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/function/callable.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/function/declares_callable.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/function/function.yaml +8 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/function/function_arrow.yaml +32 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/function/function_declaration.yaml +32 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/function/function_hook_const.yaml +32 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/import/import.yaml +9 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/import/import_alias.yaml +31 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/import/import_relative.yaml +45 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/module/module.yaml +7 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/module/module_file.yaml +18 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/pack.yaml +87 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/package/package.yaml +11 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/package/package_import.yaml +26 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/test_mark/test_module.yaml +14 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/test_mark/tooling_module.yaml +14 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/url_name/url_name.yaml +12 -0
- periplus_map-0.5.2/src/periplus/packs/typescript@0.1.0/url_name/url_name_fetch_local.yaml +12 -0
- periplus_map-0.5.2/src/periplus/skills/periplus-describe/SKILL.md +40 -0
- periplus_map-0.5.2/src/periplus/skills/periplus-describe/evals/evals.json +24 -0
- periplus_map-0.5.2/src/periplus/skills/periplus-gaps/SKILL.md +143 -0
- periplus_map-0.5.2/src/periplus/skills/periplus-gaps/evals/evals.json +36 -0
- periplus_map-0.5.2/src/periplus/skills/periplus-gaps/scripts/gap_read.py +331 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/skills/periplus-map/SKILL.md +7 -7
- periplus_map-0.5.2/src/periplus/skills/periplus-map/evals/evals.json +25 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/skills/periplus-rutter/SKILL.md +31 -27
- periplus_map-0.5.2/src/periplus/skills/periplus-rutter/evals/evals.json +35 -0
- periplus_map-0.4.2/src/periplus/engine/pattern.py +0 -28
- periplus_map-0.4.2/src/periplus/packs/twig_tweak_basic@0.0.1/rules/block.yaml +0 -20
- periplus_map-0.4.2/src/periplus/skills/periplus-gaps/SKILL.md +0 -282
- {periplus_map-0.4.2 → periplus_map-0.5.2}/.gitignore +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/LICENSE +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/NOTICE +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/__init__.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/checkmap.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/contract/schema/pack-manifest.schema.json +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/contract/schema/project-settings.schema.json +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/contract/spec/engine.md +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/contract/spec/rules.md +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/detect.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/engine/__init__.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/engine/check.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/engine/emit.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/engine/select.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/engine/source.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/engine/tree.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/errors.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/init.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/layout.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/manifest.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/map.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/mapshared.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/navigate/__init__.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/navigate/ids.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/navigate/listing.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/advancedqueue_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/advancedqueue_basic@0.0.1/queue_job_type/queue_job_type.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/advancedqueue_basic@0.0.1/queue_job_type/queue_job_type_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/advancedqueue_basic@0.0.1/queue_job_type/queue_job_type_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/ai_basic@0.0.1/ai_agent/ai_agent.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/ai_basic@0.0.1/ai_agent/ai_agent_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/ai_basic@0.0.1/ai_function_call/ai_function_call.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/ai_basic@0.0.1/ai_function_call/ai_function_call_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/ai_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/config_pages_basic@0.0.1/bundle/config_pages_bundle_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/config_pages_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/crop_basic@0.0.1/bundle/crop_bundle_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/crop_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_placement.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_placement_code.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_placement_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin_altered.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin_content.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin_derived.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_plugin_deriver.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_type.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_type_code.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/block/block_type_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/cache/cache.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/cache/cache_backend.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/component/sdc.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/component/sdc_definition.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/component/sdc_use.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/config/config_object.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/display/display.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/display/display_code.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/display/display_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/entity/entity.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/entity/entity_class.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/entity/entity_save.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/entity/entity_type_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/entity/entity_type_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/field/field_instance_code.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/field/field_instance_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/field/field_storage.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/field/field_storage_code.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/field/field_storage_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/form/form.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/form/form_class.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/form/form_id.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/form/form_methods.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/hook/hook.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/hook/hook_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/module/module.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/module/module_info.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/plugin/plugin.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/plugin/plugin_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/recommendations/recommendations.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/service/service.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/service/service_autowire.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/service/service_definition.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal@0.1.0/service/service_use.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/action/action.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/action/action_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/action/action_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/block/block_placement.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/block/block_placement_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/block_plugin/block_plugin.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/block_plugin/block_plugin_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/block_plugin/block_plugin_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/block_type/block_type.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/block_type/block_type_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/boundary/boundary_types.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/bundle/bundle.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/bundle/bundle_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/component/component.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/config/config_object.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/constraint/constraint.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/constraint/constraint_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/constraint/constraint_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/display/display.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/display/display_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/display/display_mode_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/entity_type/config_entity_type_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/entity_type/config_entity_type_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/entity_type/content_entity_type_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/entity_type/content_entity_type_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/entity_type/entity_type.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/field/field_instance_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/field/field_storage.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/field/field_storage_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/field_formatter/field_formatter.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/field_formatter/field_formatter_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/field_formatter/field_formatter_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/field_type/field_type_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/field_type/field_type_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/field_widget/field_widget_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/field_widget/field_widget_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/form/form_id.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/hook/hook.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/hook/hook_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/hook/hook_theme_include.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/library/library.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/library/library_definition.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/local_action/local_action.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/local_action/local_action_definition.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/mail/mail.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/mail/mail_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/media_source/media_source.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/media_source/media_source_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/media_source/media_source_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/menu_link/menu_link.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/menu_link/menu_link_definition.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/module/module.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/module/module_info.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/permission/permission.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/permission/permission_definition.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/queue_worker/queue_worker.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/queue_worker/queue_worker_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/queue_worker/queue_worker_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/rest_resource/rest_resource.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/rest_resource/rest_resource_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/rest_resource/rest_resource_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/role/role.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/role/role_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/route/route.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/route/route_definition.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/route/route_options.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/route/route_requirements.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/service/service.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/service/service_definition.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/theme/theme.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/theme/theme_info.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/theme_hook/template_suggestion.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/theme_hook/theme_hook.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/theme_hook/theme_hook_render.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/views_plugin/views_field_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/views_plugin/views_filter_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/views_plugin/views_plugin.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_basic@0.3.0/views_plugin/views_style_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_js_basic@0.0.1/attachment/attachment.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_js_basic@0.0.1/attachment/attachment_in_php.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_js_basic@0.0.1/attachment/attachment_in_twig.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_js_basic@0.0.1/attachment/php_function_holder.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_js_basic@0.0.1/setting/setting.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drupal_js_basic@0.0.1/setting/setting_in_js.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drush_basic@0.0.1/command/command.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drush_basic@0.0.1/command/command_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drush_basic@0.0.1/command/command_attribute.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/drush_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/eck_basic@0.0.1/bundle/eck_bundle_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/eck_basic@0.0.1/entity_type/eck_entity_type_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/eck_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/go@0.0.2/interfaces/satisfies.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/go@0.0.2/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/go@0.0.2/types/find_declarations.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/go@0.0.2/types/node_types.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/go_basic@0.0.3/rules/calls.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/go_basic@0.0.3/rules/declarations.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/go_basic@0.0.3/rules/imports.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/go_basic@0.0.3/types/node_types.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/js_basic@0.0.1/function/function.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/laravel_basic@0.0.5/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/laravel_basic@0.0.5/rules/classes.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/laravel_basic@0.0.5/rules/config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/laravel_basic@0.0.5/rules/routes.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/laravel_basic@0.0.5/rules/types.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/laravel_basic@0.0.5/rules/views.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/paragraphs_basic@0.0.1/bundle/paragraph_bundle_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/paragraphs_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php@0.1.0/edges/edge_kinds.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php@0.1.0/edges/find_calls.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php@0.1.0/edges/find_imports.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php@0.1.0/edges/find_member_access.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php@0.1.0/edges/find_structure.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php@0.1.0/embedded/embedded_regions.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php@0.1.0/imports/imports.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php@0.1.0/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php@0.1.0/resolution/excluded_tokens.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php@0.1.0/resolution/resolution.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php@0.1.0/types/find_declarations.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php@0.1.0/types/node_types.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php_basic@0.2.0/imports/imports.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/php_basic@0.2.0/types/node_types.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/profile_basic@0.0.1/bundle/profile_bundle_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/profile_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/salesforce_basic@0.0.1/event/salesforce_event.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/salesforce_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/salesforce_basic@0.0.1/salesforce_mapping/salesforce_mapping.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/salesforce_basic@0.0.1/salesforce_mapping/salesforce_mapping_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/salesforce_basic@0.0.1/salesforce_mapping_field/salesforce_mapping_field.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/salesforce_basic@0.0.1/salesforce_mapping_field/salesforce_mapping_field_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/twig@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/twig@0.0.1/types/template.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/twig_basic@0.1.0/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/webform_basic@0.0.1/bundle/webform_submission_bundle_config.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/webform_basic@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/webform_basic@0.0.1/webform_handler/webform_handler.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/webform_basic@0.0.1/webform_handler/webform_handler_annotation.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/yaml@0.0.1/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/yaml@0.0.1/types/find_mapping_entry.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/yaml@0.0.1/types/yaml_types.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs/yaml_basic@0.1.0/pack.yaml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/packs.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/preflight.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/py.typed +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/report.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/resolution.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/settings.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/settings.stub.yml +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/skills/periplus-map/references/descriptions.schema.json +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/skills_install.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/spec.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/update.py +0 -0
- {periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/validate.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: periplus-map
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: A schema-first, deterministic codebase mapper, configurable to any stack.
|
|
5
5
|
Project-URL: Homepage, https://github.com/camoa/periplus
|
|
6
6
|
Project-URL: Repository, https://github.com/camoa/periplus
|
|
@@ -24,6 +24,8 @@ Requires-Python: >=3.11
|
|
|
24
24
|
Requires-Dist: jsonschema==4.26.0
|
|
25
25
|
Requires-Dist: platformdirs==4.11.5
|
|
26
26
|
Requires-Dist: ruamel-yaml==0.19.1
|
|
27
|
+
Requires-Dist: tree-sitter-go==0.25.0
|
|
28
|
+
Requires-Dist: tree-sitter-javascript==0.25.0
|
|
27
29
|
Requires-Dist: tree-sitter-php==0.24.1
|
|
28
30
|
Requires-Dist: tree-sitter==0.26.0
|
|
29
31
|
Provides-Extra: dev
|
|
@@ -32,10 +34,6 @@ Requires-Dist: pytest-xdist==3.8.0; extra == 'dev'
|
|
|
32
34
|
Requires-Dist: pytest==9.1.1; extra == 'dev'
|
|
33
35
|
Requires-Dist: ruff==0.15.0; extra == 'dev'
|
|
34
36
|
Requires-Dist: types-jsonschema==4.26.0.20260518; extra == 'dev'
|
|
35
|
-
Provides-Extra: go
|
|
36
|
-
Requires-Dist: tree-sitter-go==0.25.0; extra == 'go'
|
|
37
|
-
Provides-Extra: js
|
|
38
|
-
Requires-Dist: tree-sitter-javascript==0.25.0; extra == 'js'
|
|
39
37
|
Description-Content-Type: text/markdown
|
|
40
38
|
|
|
41
39
|
<div align="center">
|
|
@@ -48,11 +46,11 @@ Description-Content-Type: text/markdown
|
|
|
48
46
|
[](LICENSE)
|
|
49
47
|
[](https://github.com/camoa/periplus/tags)
|
|
50
48
|
[](pyproject.toml)
|
|
51
|
-
<sub>The CI workflow, `.github/workflows/checks.yml`, installs the package with its `dev
|
|
52
|
-
|
|
49
|
+
<sub>The CI workflow, `.github/workflows/checks.yml`, installs the package with its `dev`
|
|
50
|
+
extra for the tests. It runs pytest on Python 3.11 to 3.14, ruff and mypy, and validates
|
|
53
51
|
every bundled pack. It does not run the acceptance scripts, and it never maps a Go project.</sub>
|
|
54
52
|
|
|
55
|
-
Status: **beta**, version 0.
|
|
53
|
+
Status: **beta**, version 0.5.2.
|
|
56
54
|
|
|
57
55
|
</div>
|
|
58
56
|
|
|
@@ -97,15 +95,13 @@ Install it from PyPI:
|
|
|
97
95
|
|
|
98
96
|
```
|
|
99
97
|
uv tool install periplus-map # or: pip install periplus-map
|
|
100
|
-
uv tool install 'periplus-map[go,js]' # adds the grammars that go_basic and js_basic need
|
|
101
|
-
pip install 'periplus-map[go,js]' # the same with pip
|
|
102
98
|
periplus --version
|
|
103
99
|
```
|
|
104
100
|
|
|
105
101
|
To install a tagged version from the repository:
|
|
106
102
|
|
|
107
103
|
```
|
|
108
|
-
uv tool install git+https://github.com/camoa/periplus@v0.
|
|
104
|
+
uv tool install git+https://github.com/camoa/periplus@v0.5.2
|
|
109
105
|
```
|
|
110
106
|
|
|
111
107
|
To install from a local copy of this repository:
|
|
@@ -120,7 +116,7 @@ ships into `~/.claude/skills`. Run it again after an update to replace the older
|
|
|
120
116
|
#### Use the skills with other agents
|
|
121
117
|
|
|
122
118
|
The skills follow the [Agent Skills](https://agentskills.io) format: a folder with a `SKILL.md`
|
|
123
|
-
file. After `periplus skills install`, the folders `periplus-gaps`, `periplus-map` and
|
|
119
|
+
file. After `periplus skills install`, the folders `periplus-describe`, `periplus-gaps`, `periplus-map` and
|
|
124
120
|
`periplus-rutter` are in `~/.claude/skills`. Copy them to the folder the agent reads, and copy them
|
|
125
121
|
again after each update. The folder `~/.agents/skills` serves four agents at once:
|
|
126
122
|
|
|
@@ -136,9 +132,9 @@ mkdir -p ~/.agents/skills && rsync -a --delete ~/.claude/skills/periplus-* ~/.ag
|
|
|
136
132
|
To upgrade an install from PyPI, use the tool you installed with:
|
|
137
133
|
|
|
138
134
|
```
|
|
139
|
-
uv tool upgrade periplus-map
|
|
135
|
+
uv tool upgrade periplus-map
|
|
140
136
|
pipx upgrade periplus-map
|
|
141
|
-
pip install -U
|
|
137
|
+
pip install -U periplus-map
|
|
142
138
|
```
|
|
143
139
|
|
|
144
140
|
Then run `periplus skills install` again, and repeat the copy above for any other agent. Read the
|
|
@@ -150,11 +146,11 @@ local directory is rebuilt when `pyproject.toml` changes or a file under `src/pe
|
|
|
150
146
|
`uv tool install --reinstall /path/to/periplus` for the form that always rebuilds. The command
|
|
151
147
|
`periplus status` prints a `rutters:` digest of the bundled rutters, so you can compare two installs.
|
|
152
148
|
|
|
153
|
-
The distribution name is `periplus-map`. Its
|
|
149
|
+
The distribution name is `periplus-map`. Its seven runtime dependencies are pinned exactly. One
|
|
154
150
|
package that `jsonschema` brings is compiled, so your platform needs a prebuilt wheel or Rust.
|
|
155
151
|
|
|
156
152
|
To work on Periplus itself, run `uv sync --frozen --all-extras` in the repository. This installs
|
|
157
|
-
the development tools
|
|
153
|
+
the development tools into `.venv`.
|
|
158
154
|
|
|
159
155
|
### 2. Pin a rutter
|
|
160
156
|
|
|
@@ -263,27 +259,32 @@ are copied into a project's `.periplus/packs`. The tables group them by language
|
|
|
263
259
|
| Rutter | Version | What it finds |
|
|
264
260
|
|---|---|---|
|
|
265
261
|
| `php_basic` | 0.2.0 | PHP classes, interfaces, traits, enums, functions and methods. Inheritance, interfaces, traits, containment, properties and parameters with their types, and call sites. Plain and static calls, and method calls through a typed or assigned property; a call to a PHP builtin function makes nothing. Reads a parse tree. |
|
|
266
|
-
| `js_basic` | 0.0.1 | JavaScript scripts, and the functions that have a name of their own, each under its script's path. It reads `.js` files only and maps no calls. Reads a parse tree.
|
|
267
|
-
| `go_basic` | 0.0.3 | Go functions, methods, structs and interfaces, each under its package's import path. Calls written `f(x)` inside one package, and `pkg.F(x)` through an import, to another package of the module or to an unresolved function outside it. It skips test files and `vendor`, and needs the module path in the settings as `values.module`. Reads a parse tree.
|
|
262
|
+
| `js_basic` | 0.0.1 | JavaScript scripts, and the functions that have a name of their own, each under its script's path. It reads `.js` files only and maps no calls. Reads a parse tree. |
|
|
263
|
+
| `go_basic` | 0.0.3 | Go functions, methods, structs and interfaces, each under its package's import path. Calls written `f(x)` inside one package, and `pkg.F(x)` through an import, to another package of the module or to an unresolved function outside it. It skips test files and `vendor`, and needs the module path in the settings as `values.module`. Reads a parse tree. |
|
|
268
264
|
| `yaml_basic` | 0.1.0 | Claims `.yml` and `.yaml` files for rutters that depend on it. No rules of its own. |
|
|
269
265
|
| `twig_basic` | 0.1.0 | Claims `.twig` files for rutters that depend on it. No rules of its own. |
|
|
266
|
+
| `typescript` | 0.1.0 | TypeScript modules, imports, packages and functions in `.ts` and `.tsx` files, and calls from one function to a function the file binds by name. It reads the files as text; the project sets the folder the `@/` alias points at as `typescript_alias_root`. |
|
|
267
|
+
| `react` | 0.1.0 | React components and hooks, named by convention, the components a function renders, the hooks it uses, and the `use client` or `use server` directive. It reads the files as text. |
|
|
268
|
+
| `nextjs` | 0.2.0 | Next.js App Router pages, layouts, route handlers with their HTTP methods, middleware and special files under `app`. A `fetch` of a route, a link to a page, and a name or prop that holds a route URL. It reads the files as text. |
|
|
270
269
|
|
|
271
270
|
</details>
|
|
272
271
|
|
|
273
272
|
<details>
|
|
274
|
-
<summary><strong>Drupal:
|
|
273
|
+
<summary><strong>Drupal: 3 core rutters and 12 contributed-module rutters</strong></summary>
|
|
275
274
|
|
|
276
|
-
The
|
|
275
|
+
The three core rutters come first. Each contributed module has a rutter of its own, pinned
|
|
277
276
|
beside `drupal_basic` when the site uses that module.
|
|
278
277
|
|
|
279
278
|
| Rutter | Version | What it finds |
|
|
280
279
|
|---|---|---|
|
|
281
280
|
| `drupal_basic` | 0.3.0 | Configuration, modules, themes, services, routes, permissions, libraries, templates, hooks, entity types, fields, displays and plugins. The services and entity types that `\Drupal::service('x')`, `$container->get('x')`, `\Drupal::entityQuery('x')` and an entity type manager's `getStorage('x')` name in PHP functions and methods. Hooks from `Hook` attribute methods, and from procedural functions named by their file's name, such as `mymod_cron` in `mymod.module`. Depends on `php_basic`, `yaml_basic` and `twig_basic`. |
|
|
282
281
|
| `drupal_js_basic` | 0.0.1 | Drupal behaviors and the behaviors they attach, `drupalSettings` keys that PHP attaches and behaviors read, and the libraries that PHP and templates attach. Depends on `js_basic` and `drupal_basic`. |
|
|
282
|
+
| `drupal_more` | 0.1.0 | Base fields an entity class defines and the entity type a reference field targets, the PHP class or trait that reads or writes a field by name, the handler classes an entity annotation names, `Job::create('type')` calls, and `->hasPermission('literal')` checks. Depends on `drupal_basic` and `advancedqueue_basic`. |
|
|
283
283
|
| `ai_basic` | 0.0.1 | The AI module's agent plugins and function call plugins, by attribute, each joined to its class. |
|
|
284
284
|
| `advancedqueue_basic` | 0.0.1 | The Advanced Queue module's job type plugins, by attribute or annotation, each joined to its class. |
|
|
285
285
|
| `config_pages_basic` | 0.0.1 | Each Config Pages type, from its config file, as a bundle of the entity type `config_pages`. |
|
|
286
286
|
| `crop_basic` | 0.0.1 | Each Crop API crop type, from its config file, as a bundle of the entity type `crop`. |
|
|
287
|
+
| `drupal_next` | 0.1.0 | The next module's sites, per-bundle settings and four plugin kinds, the site's preview and revalidate handlers in the Next.js app, Drupal endpoints with their HTTP methods from routing files and REST resources, the TypeScript calls to an endpoint, JSON:API resources and OAuth scopes. Depends on `drupal_basic`, `php_basic`, `typescript`, `react` and `nextjs`. |
|
|
287
288
|
| `drush_basic` | 0.0.1 | Drush commands in the custom modules, from the `Command` attribute or the `@command` tag, each joined to its method and class. |
|
|
288
289
|
| `eck_basic` | 0.0.1 | Each Entity Construction Kit entity type, and each of its bundles, from their config files. |
|
|
289
290
|
| `paragraphs_basic` | 0.0.1 | Each paragraph type, from its config file, as a bundle of the entity type `paragraph`. |
|
|
@@ -335,7 +336,7 @@ The bundled rutters are in `src/periplus/packs`. The examples are in
|
|
|
335
336
|
`yaml_basic`, `twig_basic`, the examples and the reference packs, opens with a list of its known
|
|
336
337
|
gaps.
|
|
337
338
|
|
|
338
|
-
To map a Go module,
|
|
339
|
+
To map a Go module, run Periplus at the module's root. Give the module
|
|
339
340
|
path in the settings, because Periplus does not read `go.mod`:
|
|
340
341
|
|
|
341
342
|
```yaml
|
|
@@ -350,10 +351,9 @@ To map a Laravel application, pin `php_basic@0.2.0` and `laravel_basic@0.0.5` an
|
|
|
350
351
|
at the application's root. The default Laravel folders need no settings. To move the templates,
|
|
351
352
|
set `views_root` under `folders`; a template is named by its path below `views_root`.
|
|
352
353
|
|
|
353
|
-
New in this release:
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
named group.
|
|
354
|
+
New in this release: one install serves every bundled rutter. The Go and JavaScript grammars
|
|
355
|
+
are dependencies of the package, so `go_basic`, `js_basic` and `drupal_js_basic` map without a
|
|
356
|
+
second install, and the `go` and `js` extras are gone.
|
|
357
357
|
|
|
358
358
|
## Write a rutter
|
|
359
359
|
|
|
@@ -503,8 +503,8 @@ from this file and compares the map with the lines above.
|
|
|
503
503
|
| [`docs/map-report-guide.md`](docs/map-report-guide.md) | Reading the map report: each part in the order to read it, what it means, and what to do when it is not empty. |
|
|
504
504
|
|
|
505
505
|
A parse-tree rutter pins its grammar under `grammar` in `pack.yaml`, as `php_basic` does.
|
|
506
|
-
Periplus installs the PHP
|
|
507
|
-
|
|
506
|
+
Periplus installs the PHP, Go and JavaScript grammars. Another language needs its
|
|
507
|
+
`tree-sitter-<language>` package installed beside Periplus, or the map stops at exit 28.
|
|
508
508
|
|
|
509
509
|
An AI that writes a rutter reads `periplus spec` first, then the guide pages in the order above.
|
|
510
510
|
Then it runs the loop. The map's `referenced` and `unresolved` nodes say which rule to write next.
|
|
@@ -590,8 +590,8 @@ installed version, and `periplus <command> --help` gives each command's options.
|
|
|
590
590
|
- **`periplus map` stops at exit 28: a grammar mismatch.** A rutter's `grammar` in `pack.yaml`
|
|
591
591
|
pins a parser runtime or a grammar version other than the one installed, or one that is not
|
|
592
592
|
installed. The message names the rutter, the package, the version pinned and the version
|
|
593
|
-
found.
|
|
594
|
-
|
|
593
|
+
found. For a language other than PHP, Go and JavaScript, install its `tree-sitter-<language>`
|
|
594
|
+
package at the pinned version. The check runs before any
|
|
595
595
|
source file is opened.
|
|
596
596
|
- **A navigation command stops at exit 29, 30 or 31.** It found no map, the file is not a map,
|
|
597
597
|
or the id names no node. The [navigation guide](docs/navigation.md) gives the remedy for each.
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
[](https://github.com/camoa/periplus/tags)
|
|
10
10
|
[](pyproject.toml)
|
|
11
|
-
<sub>The CI workflow, `.github/workflows/checks.yml`, installs the package with its `dev
|
|
12
|
-
|
|
11
|
+
<sub>The CI workflow, `.github/workflows/checks.yml`, installs the package with its `dev`
|
|
12
|
+
extra for the tests. It runs pytest on Python 3.11 to 3.14, ruff and mypy, and validates
|
|
13
13
|
every bundled pack. It does not run the acceptance scripts, and it never maps a Go project.</sub>
|
|
14
14
|
|
|
15
|
-
Status: **beta**, version 0.
|
|
15
|
+
Status: **beta**, version 0.5.2.
|
|
16
16
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -57,15 +57,13 @@ Install it from PyPI:
|
|
|
57
57
|
|
|
58
58
|
```
|
|
59
59
|
uv tool install periplus-map # or: pip install periplus-map
|
|
60
|
-
uv tool install 'periplus-map[go,js]' # adds the grammars that go_basic and js_basic need
|
|
61
|
-
pip install 'periplus-map[go,js]' # the same with pip
|
|
62
60
|
periplus --version
|
|
63
61
|
```
|
|
64
62
|
|
|
65
63
|
To install a tagged version from the repository:
|
|
66
64
|
|
|
67
65
|
```
|
|
68
|
-
uv tool install git+https://github.com/camoa/periplus@v0.
|
|
66
|
+
uv tool install git+https://github.com/camoa/periplus@v0.5.2
|
|
69
67
|
```
|
|
70
68
|
|
|
71
69
|
To install from a local copy of this repository:
|
|
@@ -80,7 +78,7 @@ ships into `~/.claude/skills`. Run it again after an update to replace the older
|
|
|
80
78
|
#### Use the skills with other agents
|
|
81
79
|
|
|
82
80
|
The skills follow the [Agent Skills](https://agentskills.io) format: a folder with a `SKILL.md`
|
|
83
|
-
file. After `periplus skills install`, the folders `periplus-gaps`, `periplus-map` and
|
|
81
|
+
file. After `periplus skills install`, the folders `periplus-describe`, `periplus-gaps`, `periplus-map` and
|
|
84
82
|
`periplus-rutter` are in `~/.claude/skills`. Copy them to the folder the agent reads, and copy them
|
|
85
83
|
again after each update. The folder `~/.agents/skills` serves four agents at once:
|
|
86
84
|
|
|
@@ -96,9 +94,9 @@ mkdir -p ~/.agents/skills && rsync -a --delete ~/.claude/skills/periplus-* ~/.ag
|
|
|
96
94
|
To upgrade an install from PyPI, use the tool you installed with:
|
|
97
95
|
|
|
98
96
|
```
|
|
99
|
-
uv tool upgrade periplus-map
|
|
97
|
+
uv tool upgrade periplus-map
|
|
100
98
|
pipx upgrade periplus-map
|
|
101
|
-
pip install -U
|
|
99
|
+
pip install -U periplus-map
|
|
102
100
|
```
|
|
103
101
|
|
|
104
102
|
Then run `periplus skills install` again, and repeat the copy above for any other agent. Read the
|
|
@@ -110,11 +108,11 @@ local directory is rebuilt when `pyproject.toml` changes or a file under `src/pe
|
|
|
110
108
|
`uv tool install --reinstall /path/to/periplus` for the form that always rebuilds. The command
|
|
111
109
|
`periplus status` prints a `rutters:` digest of the bundled rutters, so you can compare two installs.
|
|
112
110
|
|
|
113
|
-
The distribution name is `periplus-map`. Its
|
|
111
|
+
The distribution name is `periplus-map`. Its seven runtime dependencies are pinned exactly. One
|
|
114
112
|
package that `jsonschema` brings is compiled, so your platform needs a prebuilt wheel or Rust.
|
|
115
113
|
|
|
116
114
|
To work on Periplus itself, run `uv sync --frozen --all-extras` in the repository. This installs
|
|
117
|
-
the development tools
|
|
115
|
+
the development tools into `.venv`.
|
|
118
116
|
|
|
119
117
|
### 2. Pin a rutter
|
|
120
118
|
|
|
@@ -223,27 +221,32 @@ are copied into a project's `.periplus/packs`. The tables group them by language
|
|
|
223
221
|
| Rutter | Version | What it finds |
|
|
224
222
|
|---|---|---|
|
|
225
223
|
| `php_basic` | 0.2.0 | PHP classes, interfaces, traits, enums, functions and methods. Inheritance, interfaces, traits, containment, properties and parameters with their types, and call sites. Plain and static calls, and method calls through a typed or assigned property; a call to a PHP builtin function makes nothing. Reads a parse tree. |
|
|
226
|
-
| `js_basic` | 0.0.1 | JavaScript scripts, and the functions that have a name of their own, each under its script's path. It reads `.js` files only and maps no calls. Reads a parse tree.
|
|
227
|
-
| `go_basic` | 0.0.3 | Go functions, methods, structs and interfaces, each under its package's import path. Calls written `f(x)` inside one package, and `pkg.F(x)` through an import, to another package of the module or to an unresolved function outside it. It skips test files and `vendor`, and needs the module path in the settings as `values.module`. Reads a parse tree.
|
|
224
|
+
| `js_basic` | 0.0.1 | JavaScript scripts, and the functions that have a name of their own, each under its script's path. It reads `.js` files only and maps no calls. Reads a parse tree. |
|
|
225
|
+
| `go_basic` | 0.0.3 | Go functions, methods, structs and interfaces, each under its package's import path. Calls written `f(x)` inside one package, and `pkg.F(x)` through an import, to another package of the module or to an unresolved function outside it. It skips test files and `vendor`, and needs the module path in the settings as `values.module`. Reads a parse tree. |
|
|
228
226
|
| `yaml_basic` | 0.1.0 | Claims `.yml` and `.yaml` files for rutters that depend on it. No rules of its own. |
|
|
229
227
|
| `twig_basic` | 0.1.0 | Claims `.twig` files for rutters that depend on it. No rules of its own. |
|
|
228
|
+
| `typescript` | 0.1.0 | TypeScript modules, imports, packages and functions in `.ts` and `.tsx` files, and calls from one function to a function the file binds by name. It reads the files as text; the project sets the folder the `@/` alias points at as `typescript_alias_root`. |
|
|
229
|
+
| `react` | 0.1.0 | React components and hooks, named by convention, the components a function renders, the hooks it uses, and the `use client` or `use server` directive. It reads the files as text. |
|
|
230
|
+
| `nextjs` | 0.2.0 | Next.js App Router pages, layouts, route handlers with their HTTP methods, middleware and special files under `app`. A `fetch` of a route, a link to a page, and a name or prop that holds a route URL. It reads the files as text. |
|
|
230
231
|
|
|
231
232
|
</details>
|
|
232
233
|
|
|
233
234
|
<details>
|
|
234
|
-
<summary><strong>Drupal:
|
|
235
|
+
<summary><strong>Drupal: 3 core rutters and 12 contributed-module rutters</strong></summary>
|
|
235
236
|
|
|
236
|
-
The
|
|
237
|
+
The three core rutters come first. Each contributed module has a rutter of its own, pinned
|
|
237
238
|
beside `drupal_basic` when the site uses that module.
|
|
238
239
|
|
|
239
240
|
| Rutter | Version | What it finds |
|
|
240
241
|
|---|---|---|
|
|
241
242
|
| `drupal_basic` | 0.3.0 | Configuration, modules, themes, services, routes, permissions, libraries, templates, hooks, entity types, fields, displays and plugins. The services and entity types that `\Drupal::service('x')`, `$container->get('x')`, `\Drupal::entityQuery('x')` and an entity type manager's `getStorage('x')` name in PHP functions and methods. Hooks from `Hook` attribute methods, and from procedural functions named by their file's name, such as `mymod_cron` in `mymod.module`. Depends on `php_basic`, `yaml_basic` and `twig_basic`. |
|
|
242
243
|
| `drupal_js_basic` | 0.0.1 | Drupal behaviors and the behaviors they attach, `drupalSettings` keys that PHP attaches and behaviors read, and the libraries that PHP and templates attach. Depends on `js_basic` and `drupal_basic`. |
|
|
244
|
+
| `drupal_more` | 0.1.0 | Base fields an entity class defines and the entity type a reference field targets, the PHP class or trait that reads or writes a field by name, the handler classes an entity annotation names, `Job::create('type')` calls, and `->hasPermission('literal')` checks. Depends on `drupal_basic` and `advancedqueue_basic`. |
|
|
243
245
|
| `ai_basic` | 0.0.1 | The AI module's agent plugins and function call plugins, by attribute, each joined to its class. |
|
|
244
246
|
| `advancedqueue_basic` | 0.0.1 | The Advanced Queue module's job type plugins, by attribute or annotation, each joined to its class. |
|
|
245
247
|
| `config_pages_basic` | 0.0.1 | Each Config Pages type, from its config file, as a bundle of the entity type `config_pages`. |
|
|
246
248
|
| `crop_basic` | 0.0.1 | Each Crop API crop type, from its config file, as a bundle of the entity type `crop`. |
|
|
249
|
+
| `drupal_next` | 0.1.0 | The next module's sites, per-bundle settings and four plugin kinds, the site's preview and revalidate handlers in the Next.js app, Drupal endpoints with their HTTP methods from routing files and REST resources, the TypeScript calls to an endpoint, JSON:API resources and OAuth scopes. Depends on `drupal_basic`, `php_basic`, `typescript`, `react` and `nextjs`. |
|
|
247
250
|
| `drush_basic` | 0.0.1 | Drush commands in the custom modules, from the `Command` attribute or the `@command` tag, each joined to its method and class. |
|
|
248
251
|
| `eck_basic` | 0.0.1 | Each Entity Construction Kit entity type, and each of its bundles, from their config files. |
|
|
249
252
|
| `paragraphs_basic` | 0.0.1 | Each paragraph type, from its config file, as a bundle of the entity type `paragraph`. |
|
|
@@ -295,7 +298,7 @@ The bundled rutters are in `src/periplus/packs`. The examples are in
|
|
|
295
298
|
`yaml_basic`, `twig_basic`, the examples and the reference packs, opens with a list of its known
|
|
296
299
|
gaps.
|
|
297
300
|
|
|
298
|
-
To map a Go module,
|
|
301
|
+
To map a Go module, run Periplus at the module's root. Give the module
|
|
299
302
|
path in the settings, because Periplus does not read `go.mod`:
|
|
300
303
|
|
|
301
304
|
```yaml
|
|
@@ -310,10 +313,9 @@ To map a Laravel application, pin `php_basic@0.2.0` and `laravel_basic@0.0.5` an
|
|
|
310
313
|
at the application's root. The default Laravel folders need no settings. To move the templates,
|
|
311
314
|
set `views_root` under `folders`; a template is named by its path below `views_root`.
|
|
312
315
|
|
|
313
|
-
New in this release:
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
named group.
|
|
316
|
+
New in this release: one install serves every bundled rutter. The Go and JavaScript grammars
|
|
317
|
+
are dependencies of the package, so `go_basic`, `js_basic` and `drupal_js_basic` map without a
|
|
318
|
+
second install, and the `go` and `js` extras are gone.
|
|
317
319
|
|
|
318
320
|
## Write a rutter
|
|
319
321
|
|
|
@@ -463,8 +465,8 @@ from this file and compares the map with the lines above.
|
|
|
463
465
|
| [`docs/map-report-guide.md`](docs/map-report-guide.md) | Reading the map report: each part in the order to read it, what it means, and what to do when it is not empty. |
|
|
464
466
|
|
|
465
467
|
A parse-tree rutter pins its grammar under `grammar` in `pack.yaml`, as `php_basic` does.
|
|
466
|
-
Periplus installs the PHP
|
|
467
|
-
|
|
468
|
+
Periplus installs the PHP, Go and JavaScript grammars. Another language needs its
|
|
469
|
+
`tree-sitter-<language>` package installed beside Periplus, or the map stops at exit 28.
|
|
468
470
|
|
|
469
471
|
An AI that writes a rutter reads `periplus spec` first, then the guide pages in the order above.
|
|
470
472
|
Then it runs the loop. The map's `referenced` and `unresolved` nodes say which rule to write next.
|
|
@@ -550,8 +552,8 @@ installed version, and `periplus <command> --help` gives each command's options.
|
|
|
550
552
|
- **`periplus map` stops at exit 28: a grammar mismatch.** A rutter's `grammar` in `pack.yaml`
|
|
551
553
|
pins a parser runtime or a grammar version other than the one installed, or one that is not
|
|
552
554
|
installed. The message names the rutter, the package, the version pinned and the version
|
|
553
|
-
found.
|
|
554
|
-
|
|
555
|
+
found. For a language other than PHP, Go and JavaScript, install its `tree-sitter-<language>`
|
|
556
|
+
package at the pinned version. The check runs before any
|
|
555
557
|
source file is opened.
|
|
556
558
|
- **A navigation command stops at exit 29, 30 or 31.** It found no map, the file is not a map,
|
|
557
559
|
or the id names no node. The [navigation guide](docs/navigation.md) gives the remedy for each.
|
|
@@ -25,7 +25,7 @@ classifiers = [
|
|
|
25
25
|
# Declared here and nowhere else. src/periplus/__init__.py reads it back at runtime through
|
|
26
26
|
# importlib.metadata.version(), so the number is written once and `periplus --version` prints
|
|
27
27
|
# what this file says by construction rather than by two places agreeing.
|
|
28
|
-
version = "0.
|
|
28
|
+
version = "0.5.2"
|
|
29
29
|
|
|
30
30
|
# Five runtime distributions. The count is still a decision, not an accident, and this comment
|
|
31
31
|
# said "two runtime distributions, zero transitive" until `periplus validate` needed a validator.
|
|
@@ -48,9 +48,12 @@ dependencies = [
|
|
|
48
48
|
"ruamel.yaml==0.19.1",
|
|
49
49
|
"platformdirs==4.11.5",
|
|
50
50
|
"jsonschema==4.26.0",
|
|
51
|
-
# The fourth
|
|
51
|
+
# The fourth: the parser runtime. Then the grammars the bundled packs php_basic, go_basic and
|
|
52
|
+
# js_basic pin, so one install serves every bundled rutter.
|
|
52
53
|
"tree-sitter==0.26.0",
|
|
53
54
|
"tree-sitter-php==0.24.1",
|
|
55
|
+
"tree-sitter-go==0.25.0",
|
|
56
|
+
"tree-sitter-javascript==0.25.0",
|
|
54
57
|
]
|
|
55
58
|
|
|
56
59
|
[project.optional-dependencies]
|
|
@@ -63,11 +66,6 @@ dev = [
|
|
|
63
66
|
# jsonschema ships no py.typed, so mypy strict reports import-untyped without these stubs.
|
|
64
67
|
"types-jsonschema==4.26.0.20260518",
|
|
65
68
|
]
|
|
66
|
-
# The grammar the bundled pack go_basic pins. Optional, because only a Go project reads it.
|
|
67
|
-
go = ["tree-sitter-go==0.25.0"]
|
|
68
|
-
# The grammar the bundled pack js_basic pins. Optional, because only a project with JavaScript
|
|
69
|
-
# reads it.
|
|
70
|
-
js = ["tree-sitter-javascript==0.25.0"]
|
|
71
69
|
|
|
72
70
|
[project.scripts]
|
|
73
71
|
periplus = "periplus.cli:main"
|
|
@@ -344,6 +344,13 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
344
344
|
help="most items the slice may hold; 0 for no limit (default: 500)",
|
|
345
345
|
)
|
|
346
346
|
add_map(cut, "the map file to read")
|
|
347
|
+
cut.add_argument(
|
|
348
|
+
"--format",
|
|
349
|
+
# A literal for the reason `types`' is; a test asserts it equals `tuple(slice.RENDERERS)`.
|
|
350
|
+
choices=("text", "json"),
|
|
351
|
+
default="text",
|
|
352
|
+
help="how to print the report (default: text)",
|
|
353
|
+
)
|
|
347
354
|
export = subcommands.add_parser(
|
|
348
355
|
"export",
|
|
349
356
|
help="print the map as GraphML, DOT or Mermaid",
|
|
@@ -357,6 +364,13 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
357
364
|
help="the format to print",
|
|
358
365
|
)
|
|
359
366
|
add_map(export, "the map file to read")
|
|
367
|
+
export.add_argument(
|
|
368
|
+
"--report",
|
|
369
|
+
# A literal for the reason `types`' is; a test asserts it equals `tuple(export.RENDERERS)`.
|
|
370
|
+
choices=("text", "json"),
|
|
371
|
+
default="text",
|
|
372
|
+
help="how to print the warnings and problems to standard error (default: text)",
|
|
373
|
+
)
|
|
360
374
|
status = subcommands.add_parser(
|
|
361
375
|
"status",
|
|
362
376
|
help="report the settings, the pack search path and the directories on it",
|
|
@@ -652,18 +666,18 @@ def main(argv: Sequence[str] | None = None) -> int:
|
|
|
652
666
|
out=args.out,
|
|
653
667
|
map_path=args.map,
|
|
654
668
|
)
|
|
655
|
-
sys.stdout.write(SLICE_RENDERERS[
|
|
669
|
+
sys.stdout.write(SLICE_RENDERERS[args.format](sliced))
|
|
656
670
|
return sliced.exit_code
|
|
657
671
|
|
|
658
672
|
if args.command == "export":
|
|
659
|
-
from periplus.navigate.export import
|
|
673
|
+
from periplus.navigate.export import RENDERERS as EXPORT_RENDERERS
|
|
660
674
|
from periplus.navigate.export import run as run_export
|
|
661
675
|
|
|
662
676
|
exported = run_export(
|
|
663
677
|
start=Path.cwd(), env=os.environ, format=args.format, map_path=args.map
|
|
664
678
|
)
|
|
665
679
|
sys.stdout.write(exported.text)
|
|
666
|
-
sys.stderr.write(
|
|
680
|
+
sys.stderr.write(EXPORT_RENDERERS[args.report](exported))
|
|
667
681
|
return exported.exit_code
|
|
668
682
|
|
|
669
683
|
if args.command == "path":
|
|
@@ -69,7 +69,15 @@
|
|
|
69
69
|
"description": "Normally one. Sometimes several: Go assembles a package from declarations in any file, and Elixir writes one function as multiple clauses. Measured: one package node in gopkg.in/yaml.v2 carries 13 locations from 13 files. A node with zero locations is a boundary node the map never read."
|
|
70
70
|
},
|
|
71
71
|
|
|
72
|
-
"attributes": {
|
|
72
|
+
"attributes": {
|
|
73
|
+
"type": "object", "description": "Values a rule read or computed. No prose.",
|
|
74
|
+
"properties": {
|
|
75
|
+
"resolution": {
|
|
76
|
+
"enum": ["runtime"],
|
|
77
|
+
"description": "The unknown-boundary mark: a rule read this call site, its target or argument is built at run time, and no rule will ever draw the edge."
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
73
81
|
|
|
74
82
|
"provenance": {
|
|
75
83
|
"type": "array", "minItems": 1, "items": {"$ref": "#/$defs/provenance"},
|
{periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/contract/schema/navigation.schema.json
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://periplus.dev/schema/0/navigation.schema.json",
|
|
4
4
|
"title": "Periplus navigation result",
|
|
5
|
-
"description": "What `--format json` prints for the navigation commands: types, find, show, neighbors, affected and
|
|
5
|
+
"description": "What `--format json` prints for the navigation commands: types, find, show, neighbors, affected, path and slice, and what `export --report json` prints to standard error. Each command has one definition under $defs, and the root accepts any of them. A command that returns a list wraps it in the shared listing: items, total (every item there was), shown (how many items are here) and truncated (true when --limit cut the list). Output is deterministic: keys sorted, ASCII only.",
|
|
6
6
|
|
|
7
7
|
"anyOf": [
|
|
8
8
|
{"$ref": "#/$defs/types"},
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
{"$ref": "#/$defs/show"},
|
|
11
11
|
{"$ref": "#/$defs/neighbors"},
|
|
12
12
|
{"$ref": "#/$defs/affected"},
|
|
13
|
-
{"$ref": "#/$defs/path"}
|
|
13
|
+
{"$ref": "#/$defs/path"},
|
|
14
|
+
{"$ref": "#/$defs/slice"},
|
|
15
|
+
{"$ref": "#/$defs/export"}
|
|
14
16
|
],
|
|
15
17
|
|
|
16
18
|
"$defs": {
|
|
@@ -195,6 +197,26 @@
|
|
|
195
197
|
"warnings": {"$ref": "#/$defs/warnings"},
|
|
196
198
|
"problems": {"$ref": "#/$defs/problems"}
|
|
197
199
|
}
|
|
200
|
+
},
|
|
201
|
+
|
|
202
|
+
"slice": {
|
|
203
|
+
"type": "object", "additionalProperties": false, "required": ["out", "nodes", "edges", "warnings", "problems"],
|
|
204
|
+
"properties": {
|
|
205
|
+
"out": {"type": ["string", "null"]},
|
|
206
|
+
"nodes": {"type": "integer", "minimum": 0},
|
|
207
|
+
"edges": {"type": "integer", "minimum": 0},
|
|
208
|
+
"warnings": {"$ref": "#/$defs/warnings"},
|
|
209
|
+
"problems": {"$ref": "#/$defs/problems"}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
|
|
213
|
+
"export": {
|
|
214
|
+
"type": "object", "additionalProperties": false, "required": ["format", "warnings", "problems"],
|
|
215
|
+
"properties": {
|
|
216
|
+
"format": {"type": "string"},
|
|
217
|
+
"warnings": {"$ref": "#/$defs/warnings"},
|
|
218
|
+
"problems": {"$ref": "#/$defs/problems"}
|
|
219
|
+
}
|
|
198
220
|
}
|
|
199
221
|
}
|
|
200
222
|
}
|
{periplus_map-0.4.2 → periplus_map-0.5.2}/src/periplus/contract/schema/pack-file.schema.json
RENAMED
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"from": {
|
|
238
238
|
"oneOf": [
|
|
239
239
|
{"$ref": "#/$defs/listedSource"},
|
|
240
|
-
{"type": "object", "additionalProperties": false, "required": ["enclosing", "capture"], "properties": {"enclosing": {"type": "string"}, "capture": {"type": "string"}}}
|
|
240
|
+
{"type": "object", "additionalProperties": false, "required": ["enclosing", "capture"], "properties": {"enclosing": {"type": "string"}, "capture": {"type": "string"}, "excluding_own": {"type": "boolean", "description": "True leaves out a span that opens where the match starts: the span the match itself opens."}}}
|
|
241
241
|
]
|
|
242
242
|
},
|
|
243
243
|
"join": {"type": "string", "description": "With from: {enclosing: ...}, the text between two spans' captures."},
|
|
@@ -441,6 +441,7 @@
|
|
|
441
441
|
"properties": {
|
|
442
442
|
"edge": {"type": "string", "description": "Move to each node an edge of this declared kind runs to from the current node."},
|
|
443
443
|
"ancestors": {"type": "array", "items": {"type": "string"}, "minItems": 1, "description": "Run the steps after this one from the current node, else from the nearest node reached by edges of these declared kinds, breadth first, that gives a result: a member found on a class or else on its nearest ancestor."},
|
|
444
|
+
"try": {"items": {"type": "object", "minProperties": 1, "maxProperties": 1}, "description": "A list of follow steps of the kinds above, try included. The steps inside and after it run from the current node, and if they reach nothing the later steps run with the captures it had, so a lookup that may fail (a method on an ancestor the map does not hold) leaves the end to on_miss. An id_matches inside a try that reaches a node rebinds its captures. The engine, not this schema, refuses a value that is not a list or an empty list."},
|
|
444
445
|
"node": {"type": "string", "description": "Move to the node whose whole id this template gives, filled from the captures before it; nothing when no rule found such a node or an edge end."},
|
|
445
446
|
"id_matches": {"type": "string", "description": "RE2 searched in the current node's whole id; a node it does not fit gives nothing, and its named captures join the values."}
|
|
446
447
|
}
|
|
@@ -496,6 +497,10 @@
|
|
|
496
497
|
"type": "string",
|
|
497
498
|
"description": "Which child holds the body. Differs per construct, and getting it wrong makes a whole family of declarations invisible without an error."
|
|
498
499
|
},
|
|
500
|
+
"holder": {
|
|
501
|
+
"type": "string",
|
|
502
|
+
"description": "On a tree declaration rule: the grammar node type its nearest enclosing holder must be, such as function_definition; a match under a holder of another type, or under none, is passed and is no fire."
|
|
503
|
+
},
|
|
499
504
|
"filetype": {
|
|
500
505
|
"type": "string",
|
|
501
506
|
"description": "What kind of file this rule reads, named explicitly rather than left as a suffix on the glob. Required with `file`. It says which pack's grammar or loader handles the contents, so `.yml` and `.yaml` are one rule rather than two, and a glob can never accidentally match a file of another type that happens to share a name."
|
|
@@ -970,8 +975,17 @@
|
|
|
970
975
|
},
|
|
971
976
|
"template": {
|
|
972
977
|
"type": "string",
|
|
973
|
-
"description": "The value, filled from captures, path values and values."
|
|
978
|
+
"description": "The value, filled from captures, path values and values. On a declaration rule, constant text with no placeholder, set on the rule's node."
|
|
974
979
|
}
|
|
980
|
+
},
|
|
981
|
+
"if": {
|
|
982
|
+
"required": ["name"],
|
|
983
|
+
"properties": {"name": {"const": "resolution"}}
|
|
984
|
+
},
|
|
985
|
+
"then": {
|
|
986
|
+
"required": ["template"],
|
|
987
|
+
"properties": {"template": {"const": "runtime"}},
|
|
988
|
+
"description": "The resolution mark is runtime, the only value the map schema allows, on every kind of rule."
|
|
975
989
|
}
|
|
976
990
|
},
|
|
977
991
|
"binding": {
|
|
@@ -1098,6 +1112,11 @@
|
|
|
1098
1112
|
"minItems": 1,
|
|
1099
1113
|
"description": "The steps that turn the written name into a full one, in order; the first whose condition holds gives the name, and the name then takes on_miss. Without it the name is used as written."
|
|
1100
1114
|
},
|
|
1115
|
+
"fallback": {
|
|
1116
|
+
"items": {"$ref": "#/$defs/resolveStep"},
|
|
1117
|
+
"minItems": 1,
|
|
1118
|
+
"description": "Resolve steps run on the name as written, after the first name is settled by the grammar's identity resolve and this end's resolve. The end lands on the first mapped id of the first name under each candidate type, then of the fallback name under each; when none is mapped, on_miss applies under the first name. Under a grammar whose identity prefixes the namespace, fallback: [as_written] alone tries App\\helper, then helper. The engine, not this schema, refuses a value that is not a list, naming the rule and the key."
|
|
1119
|
+
},
|
|
1101
1120
|
"separator": {
|
|
1102
1121
|
"type": "string",
|
|
1103
1122
|
"description": "The separator bound_first_segment splits on and joins with, and prefix_with joins with."
|