@fuzdev/fuz_app 0.180.0 → 0.182.0
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.
- package/dist/actions/CLAUDE.md +38 -20
- package/dist/actions/action_rpc.d.ts +25 -6
- package/dist/actions/action_rpc.d.ts.map +1 -1
- package/dist/actions/action_rpc.js +56 -48
- package/dist/actions/action_types.d.ts +31 -13
- package/dist/actions/action_types.d.ts.map +1 -1
- package/dist/actions/action_types.js +1 -1
- package/dist/actions/notification_sender.d.ts +83 -0
- package/dist/actions/notification_sender.d.ts.map +1 -0
- package/dist/actions/notification_sender.js +85 -0
- package/dist/actions/perform_action.d.ts +13 -4
- package/dist/actions/perform_action.d.ts.map +1 -1
- package/dist/actions/perform_action.js +27 -18
- package/dist/actions/register_action_ws.d.ts +20 -2
- package/dist/actions/register_action_ws.d.ts.map +1 -1
- package/dist/actions/register_action_ws.js +17 -5
- package/dist/actions/ws_socket_session.d.ts +3 -0
- package/dist/actions/ws_socket_session.d.ts.map +1 -1
- package/dist/actions/ws_socket_session.js +3 -2
- package/dist/auth/CLAUDE.md +84 -59
- package/dist/auth/account_actions.d.ts.map +1 -1
- package/dist/auth/account_actions.js +30 -3
- package/dist/auth/account_queries.d.ts +213 -2
- package/dist/auth/account_queries.d.ts.map +1 -1
- package/dist/auth/account_queries.js +255 -2
- package/dist/auth/account_route_schema.d.ts +26 -16
- package/dist/auth/account_route_schema.d.ts.map +1 -1
- package/dist/auth/account_route_schema.js +10 -24
- package/dist/auth/account_routes.d.ts +5 -7
- package/dist/auth/account_routes.d.ts.map +1 -1
- package/dist/auth/account_routes.js +110 -89
- package/dist/auth/admin_actions.d.ts.map +1 -1
- package/dist/auth/admin_actions.js +117 -25
- package/dist/auth/api_token_queries.d.ts +29 -12
- package/dist/auth/api_token_queries.d.ts.map +1 -1
- package/dist/auth/api_token_queries.js +42 -27
- package/dist/auth/audit_log_route_schema.d.ts +1 -1
- package/dist/auth/audit_log_route_schema.d.ts.map +1 -1
- package/dist/auth/audit_log_routes.d.ts +1 -1
- package/dist/auth/audit_log_routes.d.ts.map +1 -1
- package/dist/auth/audit_log_routes.js +10 -12
- package/dist/auth/audit_log_schema.js +4 -4
- package/dist/auth/bearer_auth.d.ts +4 -3
- package/dist/auth/bearer_auth.d.ts.map +1 -1
- package/dist/auth/bearer_auth.js +37 -32
- package/dist/auth/bootstrap_account.d.ts +65 -37
- package/dist/auth/bootstrap_account.d.ts.map +1 -1
- package/dist/auth/bootstrap_account.js +115 -66
- package/dist/auth/bootstrap_route_schema.d.ts +6 -2
- package/dist/auth/bootstrap_route_schema.d.ts.map +1 -1
- package/dist/auth/bootstrap_route_schema.js +7 -2
- package/dist/auth/bootstrap_routes.d.ts +50 -33
- package/dist/auth/bootstrap_routes.d.ts.map +1 -1
- package/dist/auth/bootstrap_routes.js +109 -87
- package/dist/auth/bootstrap_token_store.d.ts +60 -0
- package/dist/auth/bootstrap_token_store.d.ts.map +1 -0
- package/dist/auth/bootstrap_token_store.js +39 -0
- package/dist/auth/credential_headers.d.ts +71 -0
- package/dist/auth/credential_headers.d.ts.map +1 -0
- package/dist/auth/credential_headers.js +100 -0
- package/dist/auth/daemon_token.d.ts +13 -1
- package/dist/auth/daemon_token.d.ts.map +1 -1
- package/dist/auth/daemon_token.js +14 -2
- package/dist/auth/daemon_token_middleware.d.ts +10 -11
- package/dist/auth/daemon_token_middleware.d.ts.map +1 -1
- package/dist/auth/daemon_token_middleware.js +39 -30
- package/dist/auth/deps.d.ts +10 -11
- package/dist/auth/deps.d.ts.map +1 -1
- package/dist/auth/invite_queries.d.ts +18 -0
- package/dist/auth/invite_queries.d.ts.map +1 -1
- package/dist/auth/invite_queries.js +24 -0
- package/dist/auth/request_context.d.ts +97 -76
- package/dist/auth/request_context.d.ts.map +1 -1
- package/dist/auth/request_context.js +93 -104
- package/dist/auth/resolved_auth.d.ts +10 -5
- package/dist/auth/resolved_auth.d.ts.map +1 -1
- package/dist/auth/resolved_auth.js +2 -2
- package/dist/auth/role_grant_offer_action_specs.d.ts +2 -2
- package/dist/auth/role_grant_offer_action_specs.d.ts.map +1 -1
- package/dist/auth/role_grant_offer_action_specs.js +5 -3
- package/dist/auth/role_grant_offer_actions.d.ts +7 -11
- package/dist/auth/role_grant_offer_actions.d.ts.map +1 -1
- package/dist/auth/role_grant_offer_actions.js +97 -106
- package/dist/auth/role_grant_offer_ddl.d.ts +7 -1
- package/dist/auth/role_grant_offer_ddl.d.ts.map +1 -1
- package/dist/auth/role_grant_offer_ddl.js +9 -2
- package/dist/auth/role_grant_offer_notifications.d.ts +87 -38
- package/dist/auth/role_grant_offer_notifications.d.ts.map +1 -1
- package/dist/auth/role_grant_offer_notifications.js +75 -22
- package/dist/auth/role_grant_offer_queries.d.ts +143 -9
- package/dist/auth/role_grant_offer_queries.d.ts.map +1 -1
- package/dist/auth/role_grant_offer_queries.js +266 -66
- package/dist/auth/role_grant_offer_schema.js +1 -1
- package/dist/auth/role_grant_queries.d.ts +57 -10
- package/dist/auth/role_grant_queries.d.ts.map +1 -1
- package/dist/auth/role_grant_queries.js +81 -22
- package/dist/auth/role_grant_sql.d.ts +21 -0
- package/dist/auth/role_grant_sql.d.ts.map +1 -1
- package/dist/auth/role_grant_sql.js +21 -0
- package/dist/auth/self_service_role_actions.d.ts.map +1 -1
- package/dist/auth/self_service_role_actions.js +9 -2
- package/dist/auth/session_cookie.d.ts +105 -25
- package/dist/auth/session_cookie.d.ts.map +1 -1
- package/dist/auth/session_cookie.js +124 -15
- package/dist/auth/session_middleware.d.ts +83 -54
- package/dist/auth/session_middleware.d.ts.map +1 -1
- package/dist/auth/session_middleware.js +92 -66
- package/dist/auth/session_queries.d.ts +95 -14
- package/dist/auth/session_queries.d.ts.map +1 -1
- package/dist/auth/session_queries.js +98 -19
- package/dist/auth/signup_route_schema.d.ts +5 -5
- package/dist/auth/signup_route_schema.d.ts.map +1 -1
- package/dist/auth/signup_route_schema.js +4 -4
- package/dist/auth/signup_routes.d.ts.map +1 -1
- package/dist/auth/signup_routes.js +17 -14
- package/dist/auth/standard_rpc_actions.d.ts +6 -19
- package/dist/auth/standard_rpc_actions.d.ts.map +1 -1
- package/dist/auth/standard_rpc_actions.js +5 -6
- package/dist/auth/token_scope.d.ts +6 -8
- package/dist/auth/token_scope.d.ts.map +1 -1
- package/dist/auth/token_scope.js +6 -9
- package/dist/dev/setup.d.ts +6 -1
- package/dist/dev/setup.d.ts.map +1 -1
- package/dist/dev/setup.js +42 -34
- package/dist/hono_context.d.ts +21 -0
- package/dist/hono_context.d.ts.map +1 -1
- package/dist/hono_context.js +17 -0
- package/dist/http/CLAUDE.md +156 -48
- package/dist/http/auth_shape.d.ts +4 -4
- package/dist/http/common_routes.js +1 -1
- package/dist/http/db_routes.d.ts +4 -3
- package/dist/http/db_routes.d.ts.map +1 -1
- package/dist/http/db_routes.js +14 -14
- package/dist/http/dev_route_error_check.d.ts +6 -3
- package/dist/http/dev_route_error_check.d.ts.map +1 -1
- package/dist/http/dev_route_error_check.js +6 -3
- package/dist/http/dev_set_cookie_check.d.ts +53 -0
- package/dist/http/dev_set_cookie_check.d.ts.map +1 -0
- package/dist/http/dev_set_cookie_check.js +80 -0
- package/dist/http/error_schemas.d.ts +45 -22
- package/dist/http/error_schemas.d.ts.map +1 -1
- package/dist/http/error_schemas.js +53 -26
- package/dist/http/header_lines.d.ts +42 -0
- package/dist/http/header_lines.d.ts.map +1 -0
- package/dist/http/header_lines.js +80 -0
- package/dist/http/host.d.ts +12 -9
- package/dist/http/host.d.ts.map +1 -1
- package/dist/http/host.js +25 -20
- package/dist/http/origin.d.ts +7 -22
- package/dist/http/origin.d.ts.map +1 -1
- package/dist/http/origin.js +11 -25
- package/dist/http/proxy.d.ts +1 -0
- package/dist/http/proxy.d.ts.map +1 -1
- package/dist/http/proxy.js +3 -0
- package/dist/http/request_headers.d.ts +95 -0
- package/dist/http/request_headers.d.ts.map +1 -0
- package/dist/http/request_headers.js +110 -0
- package/dist/http/request_target.d.ts +134 -0
- package/dist/http/request_target.d.ts.map +1 -0
- package/dist/http/request_target.js +193 -0
- package/dist/http/route_error_check.d.ts +4 -11
- package/dist/http/route_error_check.d.ts.map +1 -1
- package/dist/http/route_error_check.js +4 -21
- package/dist/http/route_result.d.ts +127 -23
- package/dist/http/route_result.d.ts.map +1 -1
- package/dist/http/route_result.js +97 -19
- package/dist/http/route_spec.d.ts +299 -83
- package/dist/http/route_spec.d.ts.map +1 -1
- package/dist/http/route_spec.js +548 -71
- package/dist/http/simple_request.d.ts +19 -14
- package/dist/http/simple_request.d.ts.map +1 -1
- package/dist/http/simple_request.js +17 -29
- package/dist/http/surface.d.ts +2 -0
- package/dist/http/surface.d.ts.map +1 -1
- package/dist/http/surface.js +4 -1
- package/dist/realtime/outbound_budget.d.ts +1 -2
- package/dist/realtime/outbound_budget.d.ts.map +1 -1
- package/dist/realtime/outbound_budget.js +1 -2
- package/dist/realtime/sse.d.ts +47 -17
- package/dist/realtime/sse.d.ts.map +1 -1
- package/dist/realtime/sse.js +115 -93
- package/dist/realtime/sse_constants.d.ts +7 -1
- package/dist/realtime/sse_constants.d.ts.map +1 -1
- package/dist/realtime/sse_constants.js +12 -1
- package/dist/realtime/sse_registry.d.ts +3 -3
- package/dist/realtime/sse_registry.js +3 -3
- package/dist/runtime/deps.d.ts +20 -4
- package/dist/runtime/deps.d.ts.map +1 -1
- package/dist/runtime/mock.d.ts +7 -1
- package/dist/runtime/mock.d.ts.map +1 -1
- package/dist/runtime/mock.js +33 -3
- package/dist/runtime/node.d.ts.map +1 -1
- package/dist/runtime/node.js +2 -1
- package/dist/runtime/secure_file.d.ts +71 -10
- package/dist/runtime/secure_file.d.ts.map +1 -1
- package/dist/runtime/secure_file.js +91 -11
- package/dist/server/app_backend.d.ts +0 -8
- package/dist/server/app_backend.d.ts.map +1 -1
- package/dist/server/app_backend.js +4 -4
- package/dist/server/app_server.d.ts +54 -33
- package/dist/server/app_server.d.ts.map +1 -1
- package/dist/server/app_server.js +69 -41
- package/dist/server/serve_fact_route.d.ts +3 -3
- package/dist/server/serve_fact_route.d.ts.map +1 -1
- package/dist/server/serve_fact_route.js +59 -55
- package/dist/server/static.d.ts +20 -0
- package/dist/server/static.d.ts.map +1 -1
- package/dist/server/static.js +56 -8
- package/dist/server/unmatched_route.d.ts +42 -0
- package/dist/server/unmatched_route.d.ts.map +1 -0
- package/dist/server/unmatched_route.js +64 -0
- package/dist/testing/CLAUDE.md +406 -1202
- package/dist/testing/app_server.d.ts +3 -1
- package/dist/testing/app_server.d.ts.map +1 -1
- package/dist/testing/app_server.js +5 -9
- package/dist/testing/auth_apps.d.ts.map +1 -1
- package/dist/testing/auth_apps.js +3 -2
- package/dist/testing/cross_backend/account_lifecycle.d.ts +11 -4
- package/dist/testing/cross_backend/account_lifecycle.d.ts.map +1 -1
- package/dist/testing/cross_backend/account_lifecycle.js +320 -6
- package/dist/testing/cross_backend/build_test_backend_paths.d.ts +4 -1
- package/dist/testing/cross_backend/build_test_backend_paths.d.ts.map +1 -1
- package/dist/testing/cross_backend/build_test_backend_paths.js +1 -1
- package/dist/testing/cross_backend/capabilities.d.ts +68 -5
- package/dist/testing/cross_backend/capabilities.d.ts.map +1 -1
- package/dist/testing/cross_backend/capabilities.js +20 -4
- package/dist/testing/cross_backend/cell_gated_create.js +1 -1
- package/dist/testing/cross_backend/conformance_case.d.ts +63 -21
- package/dist/testing/cross_backend/conformance_case.d.ts.map +1 -1
- package/dist/testing/cross_backend/conformance_table.d.ts +54 -12
- package/dist/testing/cross_backend/conformance_table.d.ts.map +1 -1
- package/dist/testing/cross_backend/conformance_table.js +179 -23
- package/dist/testing/cross_backend/cookie_attributes.js +1 -1
- package/dist/testing/cross_backend/create_dual_spawn_global_setup.d.ts +7 -1
- package/dist/testing/cross_backend/create_dual_spawn_global_setup.d.ts.map +1 -1
- package/dist/testing/cross_backend/create_dual_spawn_global_setup.js +3 -3
- package/dist/testing/cross_backend/credential_conformance.d.ts +196 -0
- package/dist/testing/cross_backend/credential_conformance.d.ts.map +1 -0
- package/dist/testing/cross_backend/credential_conformance.js +296 -0
- package/dist/testing/cross_backend/credential_conformance.json +1284 -0
- package/dist/testing/cross_backend/credential_conformance_wire.d.ts +40 -0
- package/dist/testing/cross_backend/credential_conformance_wire.d.ts.map +1 -0
- package/dist/testing/cross_backend/credential_conformance_wire.js +293 -0
- package/dist/testing/cross_backend/credential_header_robustness.d.ts +1 -3
- package/dist/testing/cross_backend/credential_header_robustness.d.ts.map +1 -1
- package/dist/testing/cross_backend/credential_header_robustness.js +24 -55
- package/dist/testing/cross_backend/credential_wire.d.ts +112 -0
- package/dist/testing/cross_backend/credential_wire.d.ts.map +1 -0
- package/dist/testing/cross_backend/credential_wire.js +188 -0
- package/dist/testing/cross_backend/default_backend_configs.d.ts.map +1 -1
- package/dist/testing/cross_backend/default_backend_configs.js +22 -2
- package/dist/testing/cross_backend/default_spine_surface.d.ts +1 -26
- package/dist/testing/cross_backend/default_spine_surface.d.ts.map +1 -1
- package/dist/testing/cross_backend/default_spine_surface.js +3 -7
- package/dist/testing/cross_backend/differential.d.ts +1 -1
- package/dist/testing/cross_backend/differential.d.ts.map +1 -1
- package/dist/testing/cross_backend/differential.js +3 -2
- package/dist/testing/cross_backend/differential_normalize.d.ts +23 -6
- package/dist/testing/cross_backend/differential_normalize.d.ts.map +1 -1
- package/dist/testing/cross_backend/differential_normalize.js +11 -5
- package/dist/testing/cross_backend/full_spine_mount.d.ts +4 -10
- package/dist/testing/cross_backend/full_spine_mount.d.ts.map +1 -1
- package/dist/testing/cross_backend/full_spine_mount.js +11 -4
- package/dist/testing/cross_backend/identity_parity.d.ts.map +1 -1
- package/dist/testing/cross_backend/identity_parity.js +4 -0
- package/dist/testing/cross_backend/in_process_setup.d.ts.map +1 -1
- package/dist/testing/cross_backend/in_process_setup.js +78 -4
- package/dist/testing/cross_backend/login_security.d.ts.map +1 -1
- package/dist/testing/cross_backend/login_security.js +13 -10
- package/dist/testing/cross_backend/peer_ping_ws.d.ts +1 -1
- package/dist/testing/cross_backend/peer_ping_ws.js +2 -2
- package/dist/testing/cross_backend/request_header_conformance.d.ts +174 -0
- package/dist/testing/cross_backend/request_header_conformance.d.ts.map +1 -0
- package/dist/testing/cross_backend/request_header_conformance.js +196 -0
- package/dist/testing/cross_backend/request_header_conformance.json +1158 -0
- package/dist/testing/cross_backend/request_header_conformance_wire.d.ts +39 -0
- package/dist/testing/cross_backend/request_header_conformance_wire.d.ts.map +1 -0
- package/dist/testing/cross_backend/request_header_conformance_wire.js +284 -0
- package/dist/testing/cross_backend/request_target_conformance.d.ts +298 -0
- package/dist/testing/cross_backend/request_target_conformance.d.ts.map +1 -0
- package/dist/testing/cross_backend/request_target_conformance.js +186 -0
- package/dist/testing/cross_backend/request_target_conformance.json +3765 -0
- package/dist/testing/cross_backend/request_target_conformance_wire.d.ts +32 -0
- package/dist/testing/cross_backend/request_target_conformance_wire.d.ts.map +1 -0
- package/dist/testing/cross_backend/request_target_conformance_wire.js +278 -0
- package/dist/testing/cross_backend/role_grant_offer_lifecycle.d.ts.map +1 -1
- package/dist/testing/cross_backend/role_grant_offer_lifecycle.js +173 -1
- package/dist/testing/cross_backend/role_grant_offer_notification_ws.d.ts +5 -4
- package/dist/testing/cross_backend/role_grant_offer_notification_ws.d.ts.map +1 -1
- package/dist/testing/cross_backend/role_grant_offer_notification_ws.js +185 -31
- package/dist/testing/cross_backend/rpc_adversarial.d.ts +6 -4
- package/dist/testing/cross_backend/rpc_adversarial.d.ts.map +1 -1
- package/dist/testing/cross_backend/rpc_adversarial.js +5 -2
- package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts +6 -7
- package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts.map +1 -1
- package/dist/testing/cross_backend/rust_spine_consumer_surface.js +4 -5
- package/dist/testing/cross_backend/session_cap.d.ts.map +1 -1
- package/dist/testing/cross_backend/session_cap.js +82 -34
- package/dist/testing/cross_backend/session_cookie_effect.d.ts +43 -0
- package/dist/testing/cross_backend/session_cookie_effect.d.ts.map +1 -0
- package/dist/testing/cross_backend/session_cookie_effect.js +103 -0
- package/dist/testing/cross_backend/session_login.d.ts +24 -0
- package/dist/testing/cross_backend/session_login.d.ts.map +1 -0
- package/dist/testing/cross_backend/session_login.js +31 -0
- package/dist/testing/cross_backend/setup.d.ts +117 -0
- package/dist/testing/cross_backend/setup.d.ts.map +1 -1
- package/dist/testing/cross_backend/setup.js +193 -9
- package/dist/testing/cross_backend/simple_request.d.ts.map +1 -1
- package/dist/testing/cross_backend/simple_request.js +5 -0
- package/dist/testing/cross_backend/spine_suites.d.ts +9 -1
- package/dist/testing/cross_backend/spine_suites.d.ts.map +1 -1
- package/dist/testing/cross_backend/spine_suites.js +88 -5
- package/dist/testing/cross_backend/spine_surface_constants.d.ts +1 -1
- package/dist/testing/cross_backend/spine_surface_constants.d.ts.map +1 -1
- package/dist/testing/cross_backend/spine_surface_constants.js +1 -0
- package/dist/testing/cross_backend/sse_round_trip.d.ts +8 -5
- package/dist/testing/cross_backend/sse_round_trip.d.ts.map +1 -1
- package/dist/testing/cross_backend/sse_round_trip.js +205 -64
- package/dist/testing/cross_backend/testing_backdoor.d.ts.map +1 -1
- package/dist/testing/cross_backend/testing_backdoor.js +5 -2
- package/dist/testing/cross_backend/testing_credential_read.d.ts +165 -0
- package/dist/testing/cross_backend/testing_credential_read.d.ts.map +1 -0
- package/dist/testing/cross_backend/testing_credential_read.js +175 -0
- package/dist/testing/cross_backend/testing_reset_actions.d.ts +19 -0
- package/dist/testing/cross_backend/testing_reset_actions.d.ts.map +1 -1
- package/dist/testing/cross_backend/testing_reset_actions.js +22 -6
- package/dist/testing/cross_backend/token_lifetime.d.ts.map +1 -1
- package/dist/testing/cross_backend/token_lifetime.js +58 -2
- package/dist/testing/cross_backend/transport_composition.d.ts +2 -4
- package/dist/testing/cross_backend/transport_composition.d.ts.map +1 -1
- package/dist/testing/cross_backend/transport_composition.js +13 -10
- package/dist/testing/cross_backend/ts_spine_backend_config.d.ts.map +1 -1
- package/dist/testing/cross_backend/ts_spine_backend_config.js +5 -3
- package/dist/testing/cross_backend/ws_endpoint.d.ts +11 -1
- package/dist/testing/cross_backend/ws_endpoint.d.ts.map +1 -1
- package/dist/testing/cross_backend/ws_endpoint.js +19 -2
- package/dist/testing/cross_backend/ws_role_gated.d.ts.map +1 -1
- package/dist/testing/cross_backend/ws_role_gated.js +2 -3
- package/dist/testing/cross_backend/ws_round_trip.d.ts.map +1 -1
- package/dist/testing/cross_backend/ws_round_trip.js +28 -12
- package/dist/testing/cross_backend/xfail.d.ts +44 -11
- package/dist/testing/cross_backend/xfail.d.ts.map +1 -1
- package/dist/testing/cross_backend/xfail.js +68 -23
- package/dist/testing/data_exposure.d.ts.map +1 -1
- package/dist/testing/data_exposure.js +4 -3
- package/dist/testing/integration.d.ts +1 -2
- package/dist/testing/integration.d.ts.map +1 -1
- package/dist/testing/integration.js +14 -8
- package/dist/testing/integration_helpers.d.ts +50 -3
- package/dist/testing/integration_helpers.d.ts.map +1 -1
- package/dist/testing/integration_helpers.js +87 -9
- package/dist/testing/middleware.d.ts +3 -1
- package/dist/testing/middleware.d.ts.map +1 -1
- package/dist/testing/middleware.js +14 -7
- package/dist/testing/resolved_auth.d.ts +3 -1
- package/dist/testing/resolved_auth.d.ts.map +1 -1
- package/dist/testing/resolved_auth.js +4 -4
- package/dist/testing/round_trip.d.ts +6 -2
- package/dist/testing/round_trip.d.ts.map +1 -1
- package/dist/testing/round_trip.js +17 -6
- package/dist/testing/rpc_envelope_cases.d.ts.map +1 -1
- package/dist/testing/rpc_envelope_cases.js +7 -0
- package/dist/testing/rpc_helpers.d.ts +4 -2
- package/dist/testing/rpc_helpers.d.ts.map +1 -1
- package/dist/testing/rpc_helpers.js +6 -1
- package/dist/testing/rpc_round_trip.d.ts +13 -2
- package/dist/testing/rpc_round_trip.d.ts.map +1 -1
- package/dist/testing/rpc_round_trip.js +25 -6
- package/dist/testing/schema_generators.d.ts +2 -2
- package/dist/testing/schema_generators.d.ts.map +1 -1
- package/dist/testing/schema_generators.js +4 -4
- package/dist/testing/stubs.d.ts +2 -2
- package/dist/testing/stubs.d.ts.map +1 -1
- package/dist/testing/stubs.js +13 -10
- package/dist/testing/transports/fetch_transport.d.ts +6 -3
- package/dist/testing/transports/fetch_transport.d.ts.map +1 -1
- package/dist/testing/transports/fetch_transport.js +31 -19
- package/dist/testing/transports/raw_http.d.ts +61 -1
- package/dist/testing/transports/raw_http.d.ts.map +1 -1
- package/dist/testing/transports/raw_http.js +61 -1
- package/dist/testing/transports/ws_raw_client.d.ts +20 -0
- package/dist/testing/transports/ws_raw_client.d.ts.map +1 -1
- package/dist/testing/transports/ws_raw_client.js +10 -4
- package/dist/testing/transports/ws_transport.d.ts +21 -1
- package/dist/testing/transports/ws_transport.d.ts.map +1 -1
- package/dist/testing/transports/ws_transport.js +58 -20
- package/dist/testing/ws_round_trip.d.ts.map +1 -1
- package/dist/testing/ws_round_trip.js +8 -4
- package/package.json +1 -1
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
* schema declared `acting?: ActingActor` (reference equality with the
|
|
16
16
|
* canonical `ActingActor` schema) or the auth requires role_grants
|
|
17
17
|
* (`role` / `keeper`), `apply_authorization_phase` resolves the actor
|
|
18
|
-
* against the resolved account
|
|
18
|
+
* against the resolved account plus the validated `acting` value via
|
|
19
19
|
* `resolve_acting_actor`, builds the `{account, actor, role_grants}`
|
|
20
20
|
* context via `build_request_context`, and sets it on
|
|
21
21
|
* `REQUEST_CONTEXT_KEY` before auth guards fire. Authenticated routes
|
|
22
|
-
* that don't need an actor still get an account-only context
|
|
23
|
-
*
|
|
22
|
+
* that don't need an actor still get an account-only context, so handler
|
|
23
|
+
* signatures stay uniform. The account is the row the credential leg
|
|
24
|
+
* read (`ResolvedAuth.account`) — the phase does not read it again.
|
|
24
25
|
*
|
|
25
26
|
* Account-grain operations (logout, password_change, account_verify,
|
|
26
27
|
* etc.) declare neither `acting` nor role_grant-requiring auth, so no actor
|
|
@@ -29,9 +30,9 @@
|
|
|
29
30
|
* which is what makes multi-actor logout work without first picking a
|
|
30
31
|
* persona.
|
|
31
32
|
*
|
|
32
|
-
* `build_request_context` loads
|
|
33
|
-
* the
|
|
34
|
-
* reloads role_grants on an existing context.
|
|
33
|
+
* `build_request_context` loads the acting actor's role_grants onto the
|
|
34
|
+
* account and the actor `resolve_acting_actor` read off that account.
|
|
35
|
+
* `refresh_role_grants` reloads role_grants on an existing context.
|
|
35
36
|
*
|
|
36
37
|
* @module
|
|
37
38
|
*/
|
|
@@ -39,9 +40,10 @@ import type { Context, MiddlewareHandler } from 'hono';
|
|
|
39
40
|
import type { Logger } from '@fuzdev/fuz_util/log.ts';
|
|
40
41
|
import { type Account, type Actor, type RoleGrant } from './account_schema.js';
|
|
41
42
|
import type { QueryDeps } from '../db/query_deps.js';
|
|
43
|
+
import { type ResolvedAuth } from './resolved_auth.js';
|
|
42
44
|
import type { RouteSpec } from '../http/route_spec.js';
|
|
43
45
|
import { type RouteAuth } from '../http/auth_shape.js';
|
|
44
|
-
import { ERROR_ACTOR_REQUIRED, ERROR_ACTOR_NOT_ON_ACCOUNT, ERROR_NO_ACTORS_ON_ACCOUNT
|
|
46
|
+
import { ERROR_AUTHENTICATION_REQUIRED, ERROR_ACTOR_REQUIRED, ERROR_ACTOR_NOT_ON_ACCOUNT, ERROR_NO_ACTORS_ON_ACCOUNT } from '../http/error_schemas.js';
|
|
45
47
|
/**
|
|
46
48
|
* The resolved identity context for an authenticated request.
|
|
47
49
|
*
|
|
@@ -53,8 +55,9 @@ import { ERROR_ACTOR_REQUIRED, ERROR_ACTOR_NOT_ON_ACCOUNT, ERROR_NO_ACTORS_ON_AC
|
|
|
53
55
|
* `actor: null` as "no role_grants" so callers don't have to narrow.
|
|
54
56
|
*
|
|
55
57
|
* Multi-actor invariant: when populated, `actor.account_id === account.id`.
|
|
56
|
-
* `
|
|
57
|
-
*
|
|
58
|
+
* `resolve_acting_actor` picks the actor from the account's own active
|
|
59
|
+
* actors, and the dispatcher's authorization phase rejects with
|
|
60
|
+
* `actor_not_on_account` before reaching the handler.
|
|
58
61
|
*/
|
|
59
62
|
export interface RequestContext {
|
|
60
63
|
account: Account;
|
|
@@ -96,6 +99,24 @@ export declare const require_request_context: (c: Context) => RequestContext;
|
|
|
96
99
|
export interface RequestActorContext extends RequestContext {
|
|
97
100
|
actor: Actor;
|
|
98
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* The request context a handler of an auth shape is guaranteed — the one
|
|
104
|
+
* narrowing both handler kinds share, so a route's `route.auth`
|
|
105
|
+
* (`TypedRouteContext`) and an action's `ctx.auth` (`HandlerForSpec`) can't
|
|
106
|
+
* drift:
|
|
107
|
+
*
|
|
108
|
+
* - `actor: 'required'` → `RequestActorContext`
|
|
109
|
+
* - `account: 'required'` (with no actor) → `RequestContext`
|
|
110
|
+
* - anything else → `RequestContext | null`
|
|
111
|
+
*
|
|
112
|
+
* The bracketed form `[T] extends ['required']` keeps the conditional from
|
|
113
|
+
* distributing, so a degraded `AuthAxisState` union (a shape typed without
|
|
114
|
+
* keeping its literals) falls through to the loosest tier rather than the
|
|
115
|
+
* narrowest.
|
|
116
|
+
*/
|
|
117
|
+
export type RequestContextForAuth<TAuth extends Pick<RouteAuth, 'account' | 'actor'>> = [
|
|
118
|
+
TAuth['actor']
|
|
119
|
+
] extends ['required'] ? RequestActorContext : [TAuth['account']] extends ['required'] ? RequestContext : RequestContext | null;
|
|
99
120
|
/**
|
|
100
121
|
* Whether the request context holds an active role_grant for `role` at `scope_id`.
|
|
101
122
|
*
|
|
@@ -145,15 +166,18 @@ export declare const has_scoped_role: (ctx: RequestContext | null, role: string,
|
|
|
145
166
|
*/
|
|
146
167
|
export declare const has_any_scoped_role: (ctx: RequestContext | null, roles: ReadonlyArray<string>, scope_id: string | null, now?: Date) => boolean;
|
|
147
168
|
/**
|
|
148
|
-
* Result of `resolve_acting_actor` — either
|
|
149
|
-
* error the caller maps to an HTTP response.
|
|
169
|
+
* Result of `resolve_acting_actor` — either the actor, as read, or a
|
|
170
|
+
* structured error the caller maps to an HTTP response.
|
|
150
171
|
*/
|
|
151
172
|
export type ResolveActingActorResult = {
|
|
152
173
|
ok: true;
|
|
153
|
-
|
|
174
|
+
actor: Actor;
|
|
154
175
|
} | {
|
|
155
176
|
ok: false;
|
|
156
177
|
reason: 'no_actors';
|
|
178
|
+
} | {
|
|
179
|
+
ok: false;
|
|
180
|
+
reason: 'account_removed';
|
|
157
181
|
} | {
|
|
158
182
|
ok: false;
|
|
159
183
|
reason: 'actor_required';
|
|
@@ -173,9 +197,10 @@ export type ResolveActingActorResult = {
|
|
|
173
197
|
* (from the request payload). Applies the uniform resolution rules:
|
|
174
198
|
*
|
|
175
199
|
* - `acting_actor_id` omitted + 1 actor → use it.
|
|
176
|
-
* -
|
|
200
|
+
* - 0 actors → `no_actors` when the account is still live (defensive —
|
|
177
201
|
* signup / bootstrap always create an actor in the same tx, so this
|
|
178
|
-
* is a server error)
|
|
202
|
+
* is a server error), `account_removed` when it is tombstoned or gone:
|
|
203
|
+
* removed since its credential was read, its actors with it.
|
|
179
204
|
* - `acting_actor_id` omitted + multiple actors → `actor_required` with
|
|
180
205
|
* the available list so the client can prompt; never pick silently.
|
|
181
206
|
* - `acting_actor_id` present + matches an actor on the account → use it.
|
|
@@ -183,6 +208,10 @@ export type ResolveActingActorResult = {
|
|
|
183
208
|
* The available list is intentionally not echoed in this branch (treat
|
|
184
209
|
* as opaque rejection).
|
|
185
210
|
*
|
|
211
|
+
* The actor comes back as the row the account's actor list read, so the
|
|
212
|
+
* caller builds on it without reading it again — one read, as on the Rust
|
|
213
|
+
* spine, which leaves no window for the actor to vanish between two.
|
|
214
|
+
*
|
|
186
215
|
* `acting_actor_id` is compared lowercased, the form actor ids are stored and
|
|
187
216
|
* read back in, so a caller passing an id that skipped the `Uuid` schema
|
|
188
217
|
* still matches its actor whatever its case.
|
|
@@ -265,10 +294,10 @@ export declare const create_request_context_middleware: (deps: QueryDeps, option
|
|
|
265
294
|
*/
|
|
266
295
|
export declare const token_scope_surface_denial: (c: Context, capability: string) => Response | null;
|
|
267
296
|
/**
|
|
268
|
-
* The account
|
|
269
|
-
* the credential (`reads_credential`) — may act on
|
|
270
|
-
* caller **and for a scope-narrowed API token**.
|
|
271
|
-
* anonymous-admitting disposition — the downgrade the Rust
|
|
297
|
+
* The account a public route — one that answers anonymous callers and reads
|
|
298
|
+
* the credential (`reads_credential`) — may act on, as the credential leg read
|
|
299
|
+
* it: `null` for the anonymous caller **and for a scope-narrowed API token**.
|
|
300
|
+
* Rule 3 in its anonymous-admitting disposition — the downgrade the Rust
|
|
272
301
|
* `AuthGate::public_request_context` applies.
|
|
273
302
|
*
|
|
274
303
|
* A narrowed token reaches no non-RPC surface that reads account data
|
|
@@ -276,17 +305,19 @@ export declare const token_scope_surface_denial: (c: Context, capability: string
|
|
|
276
305
|
* that is a 403 (`auth.required_scope`); on one that answers them, a 403
|
|
277
306
|
* would enforce nothing — the holder drops the `Authorization` header and
|
|
278
307
|
* reads the anonymous answer anyway — so the narrowed token *is* the
|
|
279
|
-
* anonymous caller there.
|
|
280
|
-
*
|
|
281
|
-
*
|
|
308
|
+
* anonymous caller there. A `reads_credential` handler reads the account
|
|
309
|
+
* through this, never off `route.credential` directly, so the downgrade is
|
|
310
|
+
* one decision rather than an `&&` hand-rolled per handler.
|
|
282
311
|
*
|
|
283
312
|
* The RPC endpoint is the exception: its dispatcher gates each method against
|
|
284
313
|
* the scope, so it reads the full credential.
|
|
285
314
|
*
|
|
286
|
-
* @param
|
|
287
|
-
* @returns the account
|
|
315
|
+
* @param route - the handler's `RouteContext`, or anything carrying its `credential`
|
|
316
|
+
* @returns the account the credential resolved, or `null` for an anonymous caller or a narrowed token
|
|
288
317
|
*/
|
|
289
|
-
export declare const
|
|
318
|
+
export declare const get_public_account: (route: {
|
|
319
|
+
readonly credential: ResolvedAuth | null;
|
|
320
|
+
}) => Account | null;
|
|
290
321
|
/**
|
|
291
322
|
* Create middleware refusing a route to a credential whose scope does not admit
|
|
292
323
|
* `capability`.
|
|
@@ -378,44 +409,26 @@ export declare const require_credential_types: (credential_types: ReadonlyArray<
|
|
|
378
409
|
*/
|
|
379
410
|
export declare const refresh_role_grants: (ctx: RequestContext, deps: QueryDeps) => Promise<RequestContext>;
|
|
380
411
|
/**
|
|
381
|
-
* Build
|
|
382
|
-
*
|
|
383
|
-
*
|
|
384
|
-
* Loads `account` + the named `actor` + the actor's active role_grants.
|
|
385
|
-
* Verifies the `actor.account_id === account.id` binding so downstream
|
|
386
|
-
* handlers can trust `ctx.actor.account_id === ctx.account.id`. Returns
|
|
387
|
-
* `null` when the account is missing, the actor is missing, or the
|
|
388
|
-
* actor doesn't belong to the supplied account.
|
|
389
|
-
*
|
|
390
|
-
* Called by the route-spec / RPC dispatcher's authorization phase for
|
|
391
|
-
* routes that need an acting actor; account-grain routes use
|
|
392
|
-
* `build_account_context` instead.
|
|
393
|
-
*
|
|
394
|
-
* @param deps - query dependencies
|
|
395
|
-
* @param account_id - the account to build context for
|
|
396
|
-
* @param actor_id - the actor this request acts as
|
|
397
|
-
* @returns a request context, or `null` if account/actor not found or mismatched
|
|
398
|
-
*/
|
|
399
|
-
export declare const build_request_context: (deps: QueryDeps, account_id: string, actor_id: string) => Promise<RequestActorContext | null>;
|
|
400
|
-
/**
|
|
401
|
-
* Build an account-only `RequestContext` (no actor, no role_grants) from
|
|
402
|
-
* an account id.
|
|
412
|
+
* Build an actor-bound `RequestContext` from the account the credential
|
|
413
|
+
* resolved and the actor `resolve_acting_actor` read off it, loading the
|
|
414
|
+
* actor's active role_grants.
|
|
403
415
|
*
|
|
404
|
-
*
|
|
405
|
-
*
|
|
406
|
-
*
|
|
407
|
-
*
|
|
408
|
-
*
|
|
416
|
+
* Reads only the grants: the account is the credential leg's row
|
|
417
|
+
* (`ResolvedAuth.account`) and the actor the account's own actor list read,
|
|
418
|
+
* so neither is read twice in a request and there is no torn read between
|
|
419
|
+
* the reads — a delete landing after them is the handler's to meet, as on
|
|
420
|
+
* the Rust spine.
|
|
409
421
|
*
|
|
410
|
-
*
|
|
411
|
-
*
|
|
412
|
-
*
|
|
422
|
+
* Called by the dispatcher's authorization phase for routes that need an
|
|
423
|
+
* acting actor; account-grain routes get `{account, actor: null,
|
|
424
|
+
* role_grants: []}` with no read at all.
|
|
413
425
|
*
|
|
414
426
|
* @param deps - query dependencies
|
|
415
|
-
* @param
|
|
416
|
-
* @
|
|
427
|
+
* @param account - the account the credential resolved
|
|
428
|
+
* @param actor - the acting actor, one of `account`'s active actors
|
|
429
|
+
* @returns the actor-bound request context
|
|
417
430
|
*/
|
|
418
|
-
export declare const
|
|
431
|
+
export declare const build_request_context: (deps: QueryDeps, account: Account, actor: Actor) => Promise<RequestActorContext>;
|
|
419
432
|
/**
|
|
420
433
|
* Resolution-failure shape returned by `apply_authorization_phase`. Each
|
|
421
434
|
* transport binds this to the appropriate wire shape — REST emits the body
|
|
@@ -436,9 +449,9 @@ export type AuthorizationFailureBody = {
|
|
|
436
449
|
} | {
|
|
437
450
|
error: typeof ERROR_ACTOR_NOT_ON_ACCOUNT;
|
|
438
451
|
} | {
|
|
439
|
-
error: typeof
|
|
452
|
+
error: typeof ERROR_AUTHENTICATION_REQUIRED;
|
|
440
453
|
} | {
|
|
441
|
-
error: typeof
|
|
454
|
+
error: typeof ERROR_NO_ACTORS_ON_ACCOUNT;
|
|
442
455
|
};
|
|
443
456
|
/**
|
|
444
457
|
* Result of the authorization phase. Pure data — the auth domain stops
|
|
@@ -451,18 +464,19 @@ export type AuthorizationFailureBody = {
|
|
|
451
464
|
* access on an `'optional'` axis. Public and unauthenticated collapse
|
|
452
465
|
* to the same null `request_context`; every transport already treated
|
|
453
466
|
* them identically.
|
|
454
|
-
* - **`{ok: false, status, body}`** — 400/500 failure. `status` is
|
|
455
|
-
* narrowed to the
|
|
456
|
-
*
|
|
457
|
-
*
|
|
458
|
-
*
|
|
467
|
+
* - **`{ok: false, status, body}`** — 400/401/500 failure. `status` is
|
|
468
|
+
* narrowed to the values the auth phase emits, so Hono's `c.json` status
|
|
469
|
+
* overload accepts the literals directly. The 401 is the dead credential's
|
|
470
|
+
* `authentication_required`: the account was removed since the credential
|
|
471
|
+
* leg read it. The one 500 is `no_actors_on_account`: a live account listed
|
|
472
|
+
* no active actor.
|
|
459
473
|
*/
|
|
460
474
|
export type AuthorizationResult = {
|
|
461
475
|
ok: true;
|
|
462
476
|
request_context: RequestContext | null;
|
|
463
477
|
} | {
|
|
464
478
|
ok: false;
|
|
465
|
-
status: 400 | 500;
|
|
479
|
+
status: 400 | 401 | 500;
|
|
466
480
|
body: AuthorizationFailureBody;
|
|
467
481
|
};
|
|
468
482
|
/**
|
|
@@ -473,33 +487,39 @@ export type AuthorizationResult = {
|
|
|
473
487
|
* input validation 400.
|
|
474
488
|
*
|
|
475
489
|
* Pure data — the function does not touch a Hono context. Each transport
|
|
476
|
-
* passes
|
|
490
|
+
* passes the account its credential resolved (`ResolvedAuth.account`) and
|
|
477
491
|
* binds the returned `AuthorizationResult` to its wire shape. The REST
|
|
478
492
|
* pipeline additionally writes `REQUEST_CONTEXT_KEY` on `c` for downstream
|
|
479
493
|
* `require_role` / `require_credential_types` middleware that still reads
|
|
480
494
|
* the resolved context off the Hono context.
|
|
481
495
|
*
|
|
496
|
+
* The account is never read here: the context is built on the credential
|
|
497
|
+
* leg's row, so a request reads its account once, as on the Rust spine,
|
|
498
|
+
* whose `apply_authorization_phase` takes the resolved account the same way.
|
|
499
|
+
*
|
|
482
500
|
* Branching by `auth.account` × `auth.actor`:
|
|
483
501
|
*
|
|
484
502
|
* - Both `'none'` → `{ok: true, request_context: null}`. Public actions
|
|
485
503
|
* never see a `RequestContext`.
|
|
486
|
-
* - `
|
|
504
|
+
* - `account == null` on any non-public route → same null
|
|
487
505
|
* `request_context`. The `'required'` callers were already rejected at
|
|
488
506
|
* the pre-authorization gate in the dispatcher; only genuine anonymous
|
|
489
507
|
* access on an `'optional'` axis lands here.
|
|
490
|
-
* - `actor === 'none'` →
|
|
491
|
-
*
|
|
508
|
+
* - `actor === 'none'` → an account-only context, `{account, actor: null,
|
|
509
|
+
* role_grants: []}`.
|
|
492
510
|
* - `actor === 'required'` → resolves the actor from `acting_value` (or
|
|
493
|
-
* single-actor account); failures map to 400 / 500.
|
|
511
|
+
* single-actor account); failures map to 400 / 401 / 500.
|
|
494
512
|
* - `actor === 'optional'` → same as `'required'` except multi-actor
|
|
495
513
|
* accounts without an `acting` value fall back to account-only context
|
|
496
514
|
* (no `actor_required` 400). Bad `acting` ids still 400.
|
|
497
515
|
*
|
|
498
|
-
*
|
|
499
|
-
*
|
|
500
|
-
*
|
|
516
|
+
* An account removed since the credential leg read it takes its actors with
|
|
517
|
+
* it: an actor-grain route then finds none, and answers the dead credential's
|
|
518
|
+
* 401 `ERROR_AUTHENTICATION_REQUIRED`, as a request that arrived after the
|
|
519
|
+
* removal does. The one 500 is `ERROR_NO_ACTORS_ON_ACCOUNT`: a live account
|
|
520
|
+
* with no active actor, a signup invariant violation.
|
|
501
521
|
*/
|
|
502
|
-
export declare const apply_authorization_phase: (deps: QueryDeps,
|
|
522
|
+
export declare const apply_authorization_phase: (deps: QueryDeps, account: Account | null, auth: RouteAuth, acting_value: string | undefined) => Promise<AuthorizationResult>;
|
|
503
523
|
/**
|
|
504
524
|
* Run the authorization phase on a Hono request: resolve the acting actor from
|
|
505
525
|
* `acting` against the authenticated account, and set the resulting
|
|
@@ -522,8 +542,9 @@ export declare const apply_authorization_phase: (deps: QueryDeps, account_id: st
|
|
|
522
542
|
* @param deps - query deps for actor resolution
|
|
523
543
|
* @param auth - the route's auth shape
|
|
524
544
|
* @param acting - the `acting` selector, already through `parse_acting`; `undefined` when absent
|
|
525
|
-
* @returns the refusal to answer (`400` actor selection, `
|
|
526
|
-
*
|
|
545
|
+
* @returns the refusal to answer (`400` actor selection, `401` an account
|
|
546
|
+
* removed since its credential was read, `500` a live account with no active
|
|
547
|
+
* actor), or nothing when the request may proceed
|
|
527
548
|
*/
|
|
528
549
|
export declare const run_authorization_phase: (c: Context, deps: QueryDeps, auth: RouteAuth, acting: string | undefined) => Promise<Response | void>;
|
|
529
550
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request_context.d.ts","sourceRoot":"","sources":["../../src/lib/auth/request_context.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"request_context.d.ts","sourceRoot":"","sources":["../../src/lib/auth/request_context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EACN,KAAK,OAAO,EACZ,KAAK,KAAK,EAEV,KAAK,SAAS,EACd,MAAM,qBAAqB,CAAC;AAI7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AASrD,OAAO,EAA0C,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAM/F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAA6C,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElG,OAAO,EACN,6BAA6B,EAG7B,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC1B,MAAM,0BAA0B,CAAC;AAGlC;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,cAAc;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,0DAA0D;AAC1D,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AAErD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,GAAG,OAAO,KAAG,cAAc,GAAG,IAEjE,CAAC;AAEF;;;;;;;;;;;GA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