@api-emulator/sierra
v0.2.2
Published
Sierra provides AI customer-service agent SDK surfaces for mobile chat embeds, voice SVP transport probes, and conversation fixtures.
Readme
@api-emulator/sierra
Sierra provides AI customer-service agent SDK surfaces for mobile chat embeds, voice SVP transport probes, and conversation fixtures.
Use this emulator for local tests, CI, and offline agent runs. It keeps your tests separate from the production API.
Start the emulator
- Install the package.
npm install @api-emulator/sierra- From this registry, start the emulator.
npx -p api-emulator api --plugin ./providers/@sierra/api-emulator.mjs --service sierraThe emulator uses the local URL that api-emulator prints. Set your client base URL to this local URL.
Supported API
GET /agent/:token/mobileGET /chat/voice/svp/:tokenGET /inspect/contractGET /inspect/stateGET /sierra/inspect/contractGET /sierra/inspect/state
Coverage
- Level:
smoke-only - Meaning: A smoke test starts the emulator and checks its main behavior.
- Evidence: a direct smoke test exists, but a conformance manifest does not exist.
Credentials
You do not need production credentials. Use fixed local credentials if your client requires them.
Test data
Add repeatable test data to the provider configuration.
sierra:
# Add provider-specific seed state here.