@agents24/chat-react 0.5.23 → 0.5.24

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "contractHash": "0394b689ce7604b444b11c8792050fae0c1da4233d6b318d22832c3b89516a4a",
2
+ "contractHash": "010b6a4647e7b995ac3a63399d94b2c9fcdfc58ba67026e89577e4a23560b90d",
3
3
  "contractVersion": "0.3.0",
4
4
  "corpus": "conformance/v1/corpus.json",
5
5
  "generatedBy": "@agents24/sdk-contract",
@@ -15,11 +15,11 @@
15
15
  "reactDom": ">=19 <20"
16
16
  },
17
17
  "@agents24/client": {
18
- "contract": "0394b689ce7604b444b11c8792050fae0c1da4233d6b318d22832c3b89516a4a",
18
+ "contract": "010b6a4647e7b995ac3a63399d94b2c9fcdfc58ba67026e89577e4a23560b90d",
19
19
  "runtime": "run-stream.v3"
20
20
  },
21
21
  "@agents24/node": {
22
- "contract": "0394b689ce7604b444b11c8792050fae0c1da4233d6b318d22832c3b89516a4a",
22
+ "contract": "010b6a4647e7b995ac3a63399d94b2c9fcdfc58ba67026e89577e4a23560b90d",
23
23
  "node": "^22.0.0 || ^24.0.0"
24
24
  },
25
25
  "@agents24/react": {
@@ -27,11 +27,11 @@
27
27
  "react": ">=19 <20"
28
28
  },
29
29
  "@talmudpedia/runtime-sdk": {
30
- "contract": "0394b689ce7604b444b11c8792050fae0c1da4233d6b318d22832c3b89516a4a",
30
+ "contract": "010b6a4647e7b995ac3a63399d94b2c9fcdfc58ba67026e89577e4a23560b90d",
31
31
  "protocolOwner": "@agents24/client"
32
32
  },
33
33
  "agents24": {
34
- "contract": "0394b689ce7604b444b11c8792050fae0c1da4233d6b318d22832c3b89516a4a",
34
+ "contract": "010b6a4647e7b995ac3a63399d94b2c9fcdfc58ba67026e89577e4a23560b90d",
35
35
  "python": ">=3.10"
36
36
  }
37
37
  },
@@ -38,6 +38,7 @@ __export(src_exports, {
38
38
  module.exports = __toCommonJS(src_exports);
39
39
 
40
40
  // scaffold/src/app.tsx
41
+ var import_browser = require("@agents24/client/browser");
41
42
  var import_runtime3 = require("@agents24/chat-react/runtime");
42
43
  var import_react2 = require("@agents24/react");
43
44
 
@@ -2311,6 +2312,7 @@ var GUEST_CHAT_IDENTITY = { state: "guest" };
2311
2312
  // scaffold/src/app.tsx
2312
2313
  var import_jsx_runtime25 = require("react/jsx-runtime");
2313
2314
  var createBrowserAbortController = () => new AbortController();
2315
+ var browserVisibility = (0, import_browser.createBrowserVisibility)();
2314
2316
  function RuntimeChat({
2315
2317
  components,
2316
2318
  identity = GUEST_CHAT_IDENTITY,
@@ -2324,7 +2326,7 @@ function RuntimeChat({
2324
2326
  }
2325
2327
  function App(props) {
2326
2328
  const identity = props.identity || GUEST_CHAT_IDENTITY;
2327
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react2.Agents24Provider, { client: props.client, createAbortController: createBrowserAbortController, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(RuntimeChat, { ...props }, identity.state) });
2329
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react2.Agents24Provider, { client: props.client, createAbortController: createBrowserAbortController, visibility: browserVisibility, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(RuntimeChat, { ...props }, identity.state) });
2328
2330
  }
2329
2331
 
2330
2332
  // scaffold/src/index.tsx