MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / api.test.ts

File api.test.ts

web/src/app/components/onboarding/api.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Contract guard for the message/review projection. The v1 wire splits
2// message state into delivery_status (delivery rollup) + review_status
3// (the review/HITL lifecycle: pending_review | sent | review_*). The app
4// once read the now-removed hitl_status/`status === "pending_approval"`

Callers

nothing calls this directly

Calls 4

listAgentMessagesFunction · 0.90
listPendingMessagesFunction · 0.90
okJsonFunction · 0.85
notFoundFunction · 0.85

Tested by

no test coverage detected