Metadata-Version: 2.4
Name: flowmesh-hook
Version: 0.1.1
Summary: FlowMesh-specific plugin extension surface (bindings, resource enums, supplier resolver, usage row)
License-Expression: Apache-2.0
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: lumid-hooks>=0.1.0
Dynamic: license-file

# FlowMesh Hook

FlowMesh-specific plugin extension surface. Carries the pieces FlowMesh adds
on top of [`lumid-hooks`](https://github.com/mlsys-io/lumid.hooks):

- `HookBindings` — concrete dataclass with FlowMesh's six fields (the five
  shared from `lumid-hooks` plus `supplier_resolvers`).
- `ResourceKind` / `ResourceAction` — FlowMesh resource and action enums.
- `SupplierResolver` / `WorkerView` — supplier attribution at dispatch time.
- `UsageRow` / `FlowMeshUsageSink` — FlowMesh's usage row shape and the
  parametrized sink alias.

Shared protocols (`IdentityProvider`, `SubmissionGuard`, `PermissionChecker`,
`ResourceRegistrar`, `UsageSink`) and shared types (`PrincipalContext`,
`ResourceRef`) live in `lumid-hooks` and should be imported from there.

The package depends only on `lumid-hooks` (transitively `pydantic`); it does
not pull in the server or worker stack, so plugins can `pip install
flowmesh-hook` without the heavy core.
