@chatsystem/client 1.2.4 → 1.2.5
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 +12 -0
- package/dist/index.cjs +175 -76
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +56 -0
- package/dist/index.mjs +4992 -4792
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -69,6 +69,18 @@ The value is scoped to that widget instance. Credentials, query strings,
|
|
|
69
69
|
fragments, and non-local plain HTTP origins are rejected. Localhost HTTP remains
|
|
70
70
|
available for development.
|
|
71
71
|
|
|
72
|
+
### First-party server-boundary adapter
|
|
73
|
+
|
|
74
|
+
`runtimeAdapter` is an advanced integration boundary for ChatSystem-owned
|
|
75
|
+
embedded surfaces such as the shareable acquisition demo. It may replace only
|
|
76
|
+
settings loading and text-prompt transport when that surface has its own
|
|
77
|
+
admission or quota endpoint. The `App` remains the authority for settings
|
|
78
|
+
hydration, messages, streaming, Markdown, suggestions, loading and scroll.
|
|
79
|
+
|
|
80
|
+
Normal customer installations must omit this property and continue through the
|
|
81
|
+
standard public installation endpoints. New presentation behavior belongs in
|
|
82
|
+
the client itself; it must never be reimplemented in a host-specific adapter.
|
|
83
|
+
|
|
72
84
|
## Bundled JavaScript
|
|
73
85
|
|
|
74
86
|
```html
|