@webless/agent 0.9.3 → 0.10.1
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 +1 -1
- package/dist/{chunk-JIM5AOVC.js → chunk-ZYTNNMZS.js} +350 -226
- package/dist/chunk-ZYTNNMZS.js.map +1 -0
- package/dist/embed.cjs +353 -228
- package/dist/embed.cjs.map +1 -1
- package/dist/embed.css +403 -153
- package/dist/embed.css.map +1 -1
- package/dist/embed.d.cts +2 -2
- package/dist/embed.d.ts +2 -2
- package/dist/embed.js +2 -1
- package/dist/embed.js.map +1 -1
- package/dist/{panel-controller-D_XIQa1U.d.cts → panel-controller-rxR75tRa.d.cts} +5 -1
- package/dist/{panel-controller-D_XIQa1U.d.ts → panel-controller-rxR75tRa.d.ts} +5 -1
- package/dist/presentation.cjs.map +1 -1
- package/dist/presentation.js.map +1 -1
- package/dist/react.cjs +354 -230
- package/dist/react.cjs.map +1 -1
- package/dist/react.css +403 -153
- package/dist/react.css.map +1 -1
- package/dist/react.d.cts +3 -2
- package/dist/react.d.ts +3 -2
- package/dist/react.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-JIM5AOVC.js.map +0 -1
package/README.md
CHANGED
|
@@ -95,4 +95,4 @@ Use `presentTranscriptToolResult` from `@webless/agent/presentation` on the serv
|
|
|
95
95
|
|
|
96
96
|
### Custom composer submit handlers
|
|
97
97
|
|
|
98
|
-
When using `AgentRail` directly, forward both arguments from `onSubmit(message, options)` to the chat controller. `message` is the visitor-visible text; `options.runtimeText` carries form submissions and
|
|
98
|
+
When using `AgentRail` directly, forward both arguments from `onSubmit(message, options)` to the chat controller. `message` is the visitor-visible text; `options.runtimeText` carries form submissions and other runtime-only context such as booking payloads. A form submission uses a short confirmation in `message` while `runtimeText` carries the field values. When a visitor chats without submitting an optional details form, forward `options.declinedComposerFormId` and send only their chat text to the runtime—do not inject skip instructions into the visitor turn.
|