The PEDM hook, PEDM shell extension, PEDM shared library and
mcp-proxy declared an empty `[lints]` table, which opted them out of
the workspace lints even though they ship in the Agent and Jetsocat.
Inherit the workspace lints and address the warnings:
- Narrow unreachable `pub` items in the PEDM hook to `pub(crate)`.
- Split unsafe blocks so each holds one operation, and document the
remaining unsafe blocks.
- Replace `as _` casts with `cast_signed`, `cast_unsigned`,
`u32::from` and explicit pointer casts.
- Return errors from build scripts instead of unwrapping.
- Drop the redundant `unsafe impl Send` and `Sync` for
`NamedPipeStream`, which `NamedPipeClient` already provides.
- Allow `inline_always` and `transmute_ptr_to_ptr` in the shell
extension, where the windows-core `#[implement]` and `#[interface]`
macros generate them.
- Expect the truncating JSON-RPC id cast in mcp-proxy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The PEDM hook, PEDM shell extension, PEDM shared library and mcp-proxy declared an empty
[lints]table, which opted them out of the workspace lints even though they ship in the Agent and Jetsocat. Inherit the workspace lints and address the warnings:pubitems in the PEDM hook topub(crate).as _casts withcast_signed,cast_unsigned,u32::fromand explicit pointer casts.unsafe impl SendandSyncforNamedPipeStream, whichNamedPipeClientalready provides.inline_alwaysandtransmute_ptr_to_ptrin the shell extension, where the windows-core#[implement]and#[interface]macros generate them.