@equationalapplications/expo-llm-wiki 4.13.0 → 4.14.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 +12 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -220,6 +220,18 @@ export function UserProfile({ userId }: { userId: string }) {
|
|
|
220
220
|
}
|
|
221
221
|
```
|
|
222
222
|
|
|
223
|
+
For live background-job status (e.g. a loading spinner while a document ingests or the librarian runs):
|
|
224
|
+
|
|
225
|
+
```typescript
|
|
226
|
+
import { useEntityStatus } from '@equationalapplications/expo-llm-wiki';
|
|
227
|
+
|
|
228
|
+
export function EntityLoadingSpinner({ entityId }: { entityId: string }) {
|
|
229
|
+
const { ingesting, librarian, heal } = useEntityStatus(entityId);
|
|
230
|
+
if (!ingesting && !librarian && !heal) return null;
|
|
231
|
+
return <Spinner label={ingesting ? 'Ingesting…' : librarian ? 'Organizing…' : 'Healing…'} />;
|
|
232
|
+
}
|
|
233
|
+
```
|
|
234
|
+
|
|
223
235
|
## Component Lifecycle
|
|
224
236
|
|
|
225
237
|
```mermaid
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equationalapplications/expo-llm-wiki",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.0",
|
|
4
4
|
"description": "Local-first LLM memory for Expo and React Native. Combines the core semantic search and extraction engine with expo-sqlite and ready-to-use React hooks.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"registry": "https://registry.npmjs.org"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@equationalapplications/
|
|
59
|
-
"@equationalapplications/
|
|
58
|
+
"@equationalapplications/react-llm-wiki": "4.14.0",
|
|
59
|
+
"@equationalapplications/core-llm-wiki": "4.14.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"expo-sqlite": "^14.0.0 || ^15.0.0 || ^55.0.0 || ^56.0.0",
|