handhold-sdk 1.5.1 → 1.6.0
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/dist/handhold.esm.js +1 -1
- package/dist/handhold.min.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +7 -0
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -85,6 +85,13 @@ declare module 'handhold-sdk' {
|
|
|
85
85
|
* be broken down by customer (see setAnalyticsContext). Default: on.
|
|
86
86
|
*/
|
|
87
87
|
analytics?: boolean | { enabled?: boolean; companyId?: string | number | null };
|
|
88
|
+
/**
|
|
89
|
+
* "Do it for me": show the agent what the app answered after each action
|
|
90
|
+
* (request status, the server's error message, toasts and field errors), so a
|
|
91
|
+
* rejected save is noticed and the person is asked when only they can fix it.
|
|
92
|
+
* Request bodies and headers are never read. Default: on.
|
|
93
|
+
*/
|
|
94
|
+
agentAppFeedback?: boolean | { readBodies?: boolean; watchMessages?: boolean };
|
|
88
95
|
/**
|
|
89
96
|
* "Sign in with ChatGPT" for "Do it for me" — the agent runs on the person's
|
|
90
97
|
* own ChatGPT plan. Off unless set. Hosted apps need OpenAI's approval, which
|