@equationalapplications/react-llm-wiki 4.22.0 → 4.23.0

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
@@ -47,6 +47,7 @@ const wiki = createWiki(adapter, {
47
47
  // Your LLM
48
48
  return 'Model output';
49
49
  },
50
+ maxOutputTokens: 4096, // optional — your model's output ceiling; lets maintenance passes size their LLM calls
50
51
  embed: async (text: string) => {
51
52
  // Your embedding service
52
53
  const res = await fetch('https://your-app.example.com/api/embed', {
package/dist/index.d.mts CHANGED
@@ -1,12 +1,11 @@
1
1
  import { WikiMemory, ReadOptions, MemoryBundle, WikiEvent, MemoryDump, EntityStatus, OntologyManifest, OntologyMode, WikiFact, WikiEdge, GraphTraversalOptions } from '@equationalapplications/core-llm-wiki';
2
2
  export * from '@equationalapplications/core-llm-wiki';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { ReactNode } from 'react';
3
+ import React, { ReactNode } from 'react';
5
4
 
6
5
  declare function WikiProvider({ wiki, children }: {
7
6
  wiki: WikiMemory;
8
7
  children: ReactNode;
9
- }): react_jsx_runtime.JSX.Element;
8
+ }): React.JSX.Element;
10
9
  declare function useWiki(): WikiMemory;
11
10
 
12
11
  declare function useMemoryRead(entityId: string | string[], query: string, options?: ReadOptions): {
package/dist/index.d.ts CHANGED
@@ -1,12 +1,11 @@
1
1
  import { WikiMemory, ReadOptions, MemoryBundle, WikiEvent, MemoryDump, EntityStatus, OntologyManifest, OntologyMode, WikiFact, WikiEdge, GraphTraversalOptions } from '@equationalapplications/core-llm-wiki';
2
2
  export * from '@equationalapplications/core-llm-wiki';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { ReactNode } from 'react';
3
+ import React, { ReactNode } from 'react';
5
4
 
6
5
  declare function WikiProvider({ wiki, children }: {
7
6
  wiki: WikiMemory;
8
7
  children: ReactNode;
9
- }): react_jsx_runtime.JSX.Element;
8
+ }): React.JSX.Element;
10
9
  declare function useWiki(): WikiMemory;
11
10
 
12
11
  declare function useMemoryRead(entityId: string | string[], query: string, options?: ReadOptions): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equationalapplications/react-llm-wiki",
3
- "version": "4.22.0",
3
+ "version": "4.23.0",
4
4
  "description": "In-browser LLM memory for React web apps. Bring your own SQLite adapter (e.g., sql.js WebAssembly) for a complete, zero-server RAG experience.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -56,7 +56,7 @@
56
56
  "registry": "https://registry.npmjs.org"
57
57
  },
58
58
  "dependencies": {
59
- "@equationalapplications/core-llm-wiki": "4.22.0"
59
+ "@equationalapplications/core-llm-wiki": "4.23.0"
60
60
  },
61
61
  "engines": {
62
62
  "node": ">=20"
@@ -65,15 +65,15 @@
65
65
  "react": ">=17"
66
66
  },
67
67
  "devDependencies": {
68
- "@testing-library/react": "^16.0.0",
69
- "@types/react": "^19.0.0",
70
- "@types/react-dom": "^19.0.0",
71
- "@vitejs/plugin-react": "^6.0.1",
72
- "jsdom": "^29.0.0",
73
- "react": "19.2.5",
74
- "react-dom": "19.2.5",
75
- "tsup": "^8.0.0",
76
- "typescript": "^5.4.0",
68
+ "@testing-library/react": "^16.3.2",
69
+ "@types/react": "^19.2.18",
70
+ "@types/react-dom": "^19.2.4",
71
+ "@vitejs/plugin-react": "^6.0.5",
72
+ "jsdom": "^29.1.1",
73
+ "react": "19.2.8",
74
+ "react-dom": "19.2.8",
75
+ "tsup": "^8.5.1",
76
+ "typescript": "^5.9.3",
77
77
  "vitest": "4.1.5"
78
78
  },
79
79
  "scripts": {