@inploi/plugin-chatbot 14.18.1 → 14.19.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/README.md CHANGED
@@ -6,6 +6,16 @@ the shared alert and country lookup helpers from the SDK at runtime.
6
6
  Register `chatbotPlugin({ theme: { hue: 260, mode: 'light' } })`, then pass the
7
7
  result of `fetchFlowByJobId` or `fetchFlowById` to `open`.
8
8
 
9
+ Application analytics uses the same `FLOW_NODE` path summary as the Candidate Agent
10
+ (`FlowPathProperties` in `@inploi/sdk`, recorded by `@inploi/flows/path`). It sends
11
+ once on a changed session's minimise, submit or finish, redirect click, restart/cancel,
12
+ or page exit; repeated pauses without progress send nothing. Hidden and pagehide
13
+ requests use keepalive. The existing IndexedDB application record keeps the path and
14
+ whether it is unsent across reloads, without a database migration.
15
+ Steps contain question keys, input types, positions, timings and refusal counts,
16
+ never answer text, filenames or file bytes. There are no per-question requests;
17
+ a typical session adds one summary on submit or abandonment, plus any pauses with new progress.
18
+
9
19
  `fetchFlowByJobId` retains optional API context in `jobContext`; flow nodes read it
10
20
  merged beneath the host's `context`, recursively, including `job.custom_data`.
11
21
  Explicit host values win, and undefined host values preserve served values.