@xapp/stentor-actions-on-google 1.86.5 → 1.86.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -2
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
##
|
|
1
|
+
## @xapp/stentor-actions-on-google
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Stentor channel implementation for Google's Actions on Google / Google Assistant platform. It provides request/response translators between the Actions on Google webhook payloads and Stentor's internal `Request`/`Response` models, detects device `capabilities` (audio playback, screen output, web browser support) from the incoming request, and exposes an `ActionsOnGoogle(nlu)` factory that builds a Stentor `Channel` wired up to a given `NLUService`.
|
|
4
4
|
|
|
5
|
+
### Usage
|
|
5
6
|
|
|
7
|
+
```ts
|
|
8
|
+
import { ActionsOnGoogle } from "@xapp/stentor-actions-on-google";
|
|
6
9
|
|
|
10
|
+
const channel = ActionsOnGoogle(myNluService);
|
|
11
|
+
// channel.test(), channel.request, channel.response, channel.capabilities
|
|
12
|
+
```
|
|
7
13
|
|
|
14
|
+
### Documentation
|
|
8
15
|
|
|
16
|
+
- [Actions on Google / Google Assistant Conversational Actions](https://developers.google.com/assistant/conversational/overview)
|
|
17
|
+
- [actions-on-google npm package](https://www.npmjs.com/package/actions-on-google)
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.86.
|
|
7
|
+
"version": "1.86.7",
|
|
8
8
|
"description": "Actions on Google channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"chai": "4.5.0",
|
|
23
23
|
"mocha": "11.8.0",
|
|
24
24
|
"sinon": "21.0.0",
|
|
25
|
-
"stentor-constants": "1.74.
|
|
26
|
-
"stentor-guards": "1.74.
|
|
27
|
-
"stentor-interaction-model": "1.74.
|
|
28
|
-
"stentor-media": "1.74.
|
|
29
|
-
"stentor-models": "1.
|
|
30
|
-
"stentor-request": "1.74.
|
|
31
|
-
"stentor-response": "1.74.
|
|
32
|
-
"stentor-utils": "1.
|
|
25
|
+
"stentor-constants": "1.74.7",
|
|
26
|
+
"stentor-guards": "1.74.7",
|
|
27
|
+
"stentor-interaction-model": "1.74.11",
|
|
28
|
+
"stentor-media": "1.74.14",
|
|
29
|
+
"stentor-models": "1.81.0",
|
|
30
|
+
"stentor-request": "1.74.11",
|
|
31
|
+
"stentor-response": "1.74.14",
|
|
32
|
+
"stentor-utils": "1.76.2",
|
|
33
33
|
"ts-node": "10.9.2",
|
|
34
34
|
"typescript": "5.9.3"
|
|
35
35
|
},
|