@theoremjs/react 0.3.4-next.711.g78e504a → 0.3.4-next.717.gd16ffc6

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
@@ -371,6 +371,8 @@ Three more props give the call values from the page. The profile declares each o
371
371
 
372
372
  `stated` is a fourth prop, for a page you trust as yourself. It says the `path` and `conditions` that choose the call's prompt lines, and the server reads it only with `pageStatesTurn` set. A change during a call takes the call up again, as a slot does. `TheoremChat` takes the same prop, on each turn.
373
373
 
374
+ `model` and `effort` pick the call's model when the profile sets `allowModelSelect`. They are read when the call starts.
375
+
374
376
  ```tsx
375
377
  <LiveRunner
376
378
  iface={iface}
@@ -79,6 +79,8 @@ export function useLiveRunnerModel(iface, connection, options = {}) {
79
79
  const { clientRef, ensureClient, clearClient } = useLiveSessionClient({
80
80
  slots: options.slots,
81
81
  stated: options.stated,
82
+ model: options.model,
83
+ effort: options.effort,
82
84
  context: options.context,
83
85
  pageTools: options.pageTools,
84
86
  voiceAvailable,
@@ -54,6 +54,8 @@ export function useLiveSessionClient(bindings) {
54
54
  ...connection,
55
55
  slots: b.slots,
56
56
  stated: b.stated,
57
+ model: b.model,
58
+ effort: b.effort,
57
59
  context: b.context,
58
60
  voiceIngress: b.voiceAvailable,
59
61
  onConnectPhase: (phase) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theoremjs/react",
3
- "version": "0.3.4-next.711.g78e504a",
3
+ "version": "0.3.4-next.717.gd16ffc6",
4
4
  "description": "React bindings for Theorem: headless hooks + transport, an Astryx chat UI, and a Web-standard server handler.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -60,8 +60,8 @@
60
60
  "@stylexjs/stylex": "0.19.0",
61
61
  "react": "^19.0.0",
62
62
  "react-dom": "^19.0.0",
63
- "@theoremjs/agents": "^0.3.4-next.711.g78e504a",
64
- "@theoremjs/web": "^0.3.4-next.711.g78e504a"
63
+ "@theoremjs/agents": "^0.3.4-next.717.gd16ffc6",
64
+ "@theoremjs/web": "^0.3.4-next.717.gd16ffc6"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "@astryxdesign/core": {