@aintela/chat 0.4.11 → 0.4.13

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
@@ -26,6 +26,15 @@ npm install
26
26
  cd examples/demo && npm install && npm run dev # http://localhost:5174
27
27
  ```
28
28
 
29
+ **Previewing the phantom ghost without a server.** The flat scenario passes `promptGhostDebugKey="|"`
30
+ (an `AiChat` / `AiChatProvider` prop, development only): typing `|` in the composer is swallowed and paints the
31
+ `@ …` ghost at the caret — location on the first press, person on the next — with mid-sentence detected from the
32
+ caret, so the mid-sentence card can be looked at by putting the caret inside a sentence. Tab accepts, Esc dismisses,
33
+ and the next keystroke's analyze clears it as it would a real one. Leave the prop unset in production.
34
+
35
+ ```bash
36
+ ```
37
+
29
38
  The demo aliases the package to the root `src/` during development so HMR works
30
39
  across the package boundary. To validate the built bundle the way a real
31
40
  consumer would: