@youware/agent-errors
v0.1.1
Published
Error contracts and reporting SDK for YouWare agent products
Keywords
Readme
@youware/agent-errors
Contracts and reporting SDK for YouWare agent products. It has no UI framework dependency and can be used by browser, server, and agent runtimes.
pnpm add @youware/agent-errorsCreate a reporter with a product-owned authenticated AgentErrorTransport, then capture terminal failures users actually experience:
submission_failed— a submission did not create a Root Agent Turn;root_turn_failed— a Root Agent Turn finished failed;interaction_failed— another user operation ended unsuccessfully, such as upload, send, connector, artifact, API, or stream delivery;client_runtime_failed— a browser or render crash interrupted the experience.
Do not capture recovered intermediate failures or user cancellations. Browser transports must send through the product's authenticated backend; never embed an incident-platform credential in the browser.
