@equationalapplications/react-llm-wiki 4.21.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 +2 -0
- package/dist/index.d.mts +2 -3
- package/dist/index.d.ts +2 -3
- package/package.json +11 -11
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', {
|
|
@@ -539,6 +540,7 @@ The flowchart shows:
|
|
|
539
540
|
| [@equationalapplications/prisma-outbox](https://github.com/equationalapplications/expo-llm-wiki/blob/main/packages/prisma-outbox/README.md) | Sync SQLite outbox events to Prisma |
|
|
540
541
|
| [@equationalapplications/core-llm-tools](https://github.com/equationalapplications/expo-llm-wiki/blob/main/packages/core-llm-tools/README.md) | Gemini tool schemas and capability injector |
|
|
541
542
|
| [@equationalapplications/core-okf](https://github.com/equationalapplications/expo-llm-wiki/blob/main/packages/okf/README.md) | Zero-dependency Open Knowledge Format (OKF) v0.1 primitives — parse and produce interoperable knowledge bundles. |
|
|
543
|
+
| [@equationalapplications/schema-org-llm-wiki](https://github.com/equationalapplications/expo-llm-wiki/blob/main/packages/schema-org/README.md) | Curated schema.org warm-agent ontology manifest |
|
|
542
544
|
|
|
543
545
|
## License
|
|
544
546
|
|
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
|
|
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
|
-
}):
|
|
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
|
|
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
|
-
}):
|
|
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.
|
|
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.
|
|
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.
|
|
69
|
-
"@types/react": "^19.
|
|
70
|
-
"@types/react-dom": "^19.
|
|
71
|
-
"@vitejs/plugin-react": "^6.0.
|
|
72
|
-
"jsdom": "^29.
|
|
73
|
-
"react": "19.2.
|
|
74
|
-
"react-dom": "19.2.
|
|
75
|
-
"tsup": "^8.
|
|
76
|
-
"typescript": "^5.
|
|
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": {
|