@theoremjs/react 0.3.5-next.1004.gd674e6b → 0.3.5-next.1005.geaafb0b

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.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -108,6 +108,7 @@ export const theorem = createTheoremHandler({
108
108
  profile: support,
109
109
  provider: { vault: { main: process.env.GEMINI_API_KEY } },
110
110
  conversationStore: createMemoryConversationStore(),
111
+ operationRetentionMs: 24 * 60 * 60 * 1000, // a day: how long a finished call's result is kept
111
112
  });
112
113
  ```
113
114
 
@@ -327,7 +328,10 @@ A `host` profile does not run a model. The page calls the tools of the profile d
327
328
  ```ts
328
329
  import { createTheoremHostHandler } from '@theoremjs/web/server';
329
330
 
330
- export const host = createTheoremHostHandler({ profile: opsConsole }); // mount at /api/host
331
+ export const host = createTheoremHostHandler({
332
+ profile: opsConsole,
333
+ operationRetentionMs: 24 * 60 * 60 * 1000,
334
+ }); // mount at /api/host
331
335
  ```
332
336
 
333
337
  ```tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theoremjs/react",
3
- "version": "0.3.5-next.1004.gd674e6b",
3
+ "version": "0.3.5-next.1005.geaafb0b",
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.5-next.1004.gd674e6b",
64
- "@theoremjs/web": "^0.3.5-next.1004.gd674e6b"
63
+ "@theoremjs/agents": "^0.3.5-next.1005.geaafb0b",
64
+ "@theoremjs/web": "^0.3.5-next.1005.geaafb0b"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "@astryxdesign/core": {