@instafy/provider-contract
v0.1.1
Published
Neutral provider discovery and invocation contract shared between Instafy and external providers.
Readme
@instafy/provider-contract
Small neutral contract package for local or external providers.
It intentionally contains only:
- provider discovery metadata
- tool/resource envelope types
- shared runtime, execution, event, and artifact envelope types
- tiny provider summary normalization and lookup helpers
It must stay independent from Instafy frontend, project policy, assistant definitions, and UI.
This package is intended to be published independently so external provider repos like Knosh can validate against the host-facing contract without depending on a local sibling Instafy checkout.
It is not a callback framework. The intended generalization is:
- provider runtime context
- execution context
- typed provider events
- artifact references
That lets external providers and host apps share one neutral event/artifact loop without coupling Instafy UI or provider-specific lifecycle code into the package.
