added a first pass at websocket IO

This commit is contained in:
Jacob Dubin
2026-04-11 21:50:26 -05:00
parent d7ea8eebab
commit e2da1cfcfe
13 changed files with 583 additions and 28 deletions

View File

@@ -6,5 +6,7 @@ Current fixture groups:
- `http/`
Basic `X-Amz-Target` request and response examples for startup flows.
- `websocket/`
Sanitized Neo-Hub turn-flow examples used to replay `LISTEN`, `CONTEXT`, `CLIENT_NLU`, `CLIENT_ASR`, and synthetic `EOS` / `SKILL_ACTION` behavior against the .NET implementation.
Expand this folder whenever new robot traffic is captured and cleaned.

View File

@@ -0,0 +1,42 @@
{
"name": "neo-hub client asr joke flow",
"session": {
"hostName": "neo-hub.jibo.com",
"path": "/listen",
"kind": "neo-hub-listen",
"token": "fixture-joke-token"
},
"steps": [
{
"text": {
"type": "LISTEN",
"transID": "fixture-trans-joke",
"data": {
"text": "tell me a joke",
"rules": [
"wake-word"
]
}
},
"expectedReplyTypes": [
"LISTEN",
"EOS",
"SKILL_ACTION"
]
},
{
"text": {
"type": "CLIENT_ASR",
"transID": "fixture-trans-joke",
"data": {
"text": "tell me a joke"
}
},
"expectedReplyTypes": [
"LISTEN",
"EOS",
"SKILL_ACTION"
]
}
]
}

View File

@@ -0,0 +1,54 @@
{
"name": "neo-hub context client nlu flow",
"session": {
"hostName": "neo-hub.jibo.com",
"path": "/listen",
"kind": "neo-hub-listen",
"token": "fixture-nlu-token"
},
"steps": [
{
"text": {
"type": "LISTEN",
"transID": "fixture-trans-nlu",
"data": {
"text": "hello jibo",
"rules": [
"wake-word"
]
}
},
"expectedReplyTypes": [
"LISTEN",
"EOS",
"SKILL_ACTION"
]
},
{
"text": {
"type": "CONTEXT",
"transID": "fixture-trans-nlu",
"data": {
"topic": "conversation",
"screen": "home"
}
},
"expectedReplyTypes": [
"OPENJIBO_CONTEXT_ACK"
]
},
{
"text": {
"type": "CLIENT_NLU",
"transID": "fixture-trans-nlu",
"data": {
"intent": "joke"
}
},
"expectedReplyTypes": [
"LISTEN",
"EOS"
]
}
]
}