@robosystems/core 0.22.0 → 0.22.1
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 +20 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,29 +3,29 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@robosystems/core)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
**The shared frontend core of [RoboSystems](https://github.com/RoboFinSystems/robosystems), the open-source knowledge graph for finance.** `@robosystems/core` holds what [robosystems-app](https://github.com/RoboFinSystems/robosystems-app), [roboledger-app](https://github.com/RoboFinSystems/roboledger-app) and [roboinvestor-app](https://github.com/RoboFinSystems/roboinvestor-app) share: sign-in, the platform contexts, task monitoring and the UI component set. It is built for the Next.js App Router (client and server components, Server Actions) and ships as a versioned npm package.
|
|
7
7
|
|
|
8
|
-
##
|
|
8
|
+
## What it does
|
|
9
9
|
|
|
10
|
-
- **Authentication
|
|
11
|
-
- **Contexts
|
|
12
|
-
- **Task monitoring
|
|
13
|
-
- **UI components
|
|
14
|
-
- **Docs rendering
|
|
15
|
-
- **Graph stage
|
|
16
|
-
- **Hooks
|
|
10
|
+
- **Authentication**: sign-in and sign-up forms, `AuthProvider` and `AuthGuard`, JWT and SSO token handling
|
|
11
|
+
- **Contexts**: graph, entity, organization, service-offering and sidebar state
|
|
12
|
+
- **Task monitoring**: SSE-based monitoring of long-running operations, with a polling fallback
|
|
13
|
+
- **UI components**: layout, chat, forms, settings, API keys, the shared Tailwind theme and the owned UI primitives (`@robosystems/core/ui`)
|
|
14
|
+
- **Docs rendering**: the docs catalog loader (`@robosystems/core/docs/catalog`) and the markdown renderer (`@robosystems/core/docs/DocsMarkdown`), server-side, for each app's `/docs`
|
|
15
|
+
- **Graph stage**: the landing pages' backdrop (`@robosystems/core/graph-stage`), a live clustered graph with dust, sphere orbs, galaxies, a grid floor and the `node-card` / `node-icon` styles, in each app's own colours
|
|
16
|
+
- **Hooks and utilities**: user, limits, toast and media-query hooks, and cookie persistence helpers
|
|
17
17
|
|
|
18
|
-
##
|
|
18
|
+
## Install
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
21
|
npm install @robosystems/core
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
`react`, `react-dom`, `next`, `react-icons
|
|
24
|
+
Needs Node.js 24 or later. `react`, `react-dom`, `next`, `react-icons` and `@robosystems/client` are peer dependencies the consuming app provides. [CLAUDE.md](CLAUDE.md) covers the app wiring (the Tailwind content scan, vitest inlining), packaging and the release flow.
|
|
25
25
|
|
|
26
26
|
## Usage
|
|
27
27
|
|
|
28
|
-
Import from the root barrel or from subpaths
|
|
28
|
+
Import from the root barrel, or from subpaths that mirror the folder structure:
|
|
29
29
|
|
|
30
30
|
```tsx
|
|
31
31
|
import { AuthProvider, useGraphContext } from '@robosystems/core'
|
|
@@ -35,18 +35,18 @@ import { useToast } from '@robosystems/core/hooks/use-toast'
|
|
|
35
35
|
import { getDocsCatalog } from '@robosystems/core/docs/catalog'
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
##
|
|
38
|
+
## Versioning
|
|
39
39
|
|
|
40
|
-
- [
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
Pre-1.0: the API can change in a minor release, named in the [release notes](https://github.com/RoboFinSystems/robosystems-core/releases). The three apps move to a new version together, with [`@robosystems/report-components`](https://github.com/RoboFinSystems/robosystems-report-components) bumped in the same change.
|
|
41
|
+
|
|
42
|
+
## Documentation
|
|
43
|
+
|
|
44
|
+
- **Technical docs**: [robosystems.ai/docs/technical](https://robosystems.ai/docs/technical). For this package: [Local Development](https://robosystems.ai/docs/technical/local-development) · [Authentication & API Keys](https://robosystems.ai/docs/technical/authentication-and-api-keys)
|
|
45
|
+
- **Related**: [RoboSystems](https://github.com/RoboFinSystems/robosystems) · [robosystems-app](https://github.com/RoboFinSystems/robosystems-app) · [roboledger-app](https://github.com/RoboFinSystems/roboledger-app) · [roboinvestor-app](https://github.com/RoboFinSystems/roboinvestor-app) · [TypeScript client](https://github.com/RoboFinSystems/robosystems-typescript-client)
|
|
43
46
|
|
|
44
47
|
## Support
|
|
45
48
|
|
|
46
|
-
- [Issues](https://github.com/RoboFinSystems/robosystems-core/issues)
|
|
47
|
-
- [Documentation](https://robosystems.ai/docs/technical)
|
|
48
|
-
- [Projects](https://github.com/orgs/RoboFinSystems/projects)
|
|
49
|
-
- [Discussions](https://github.com/orgs/RoboFinSystems/discussions)
|
|
49
|
+
- [Issues](https://github.com/RoboFinSystems/robosystems-core/issues) · [Discussions](https://github.com/orgs/RoboFinSystems/discussions) · [Projects](https://github.com/orgs/RoboFinSystems/projects)
|
|
50
50
|
|
|
51
51
|
## License
|
|
52
52
|
|