@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.
Files changed (2) hide show
  1. package/README.md +20 -20
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,29 +3,29 @@
3
3
  [![npm version](https://badge.fury.io/js/@robosystems%2Fcore.svg)](https://www.npmjs.com/package/@robosystems/core)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
5
 
6
- Part of RoboSystems, the open-source knowledge graph for finance. Shared React core for the RoboSystems apps: authentication, platform contexts, task monitoring, and the common UI component set used by robosystems-app, roboledger-app, and roboinvestor-app. Built for the Next.js App Router (client/server components and Server Actions) and consumed as a versioned npm package.
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
- ## Features
8
+ ## What it does
9
9
 
10
- - **Authentication** — sign-in/sign-up forms, `AuthProvider`/`AuthGuard`, JWT and SSO token handling
11
- - **Contexts** — graph, entity, organization, service-offerings, and sidebar state
12
- - **Task monitoring** — SSE-based operation monitoring with a polling fallback for long-running jobs
13
- - **UI components** — layout, chat, forms, settings, API keys, and 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, dust, sphere orbs, galaxies, a grid floor and the `node-card` / `node-icon` styles, in each app's own colours
16
- - **Hooks & utilities** — user, limits, toast, and media-query hooks plus cookie persistence helpers
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
- ## Installation
18
+ ## Install
19
19
 
20
20
  ```bash
21
21
  npm install @robosystems/core
22
22
  ```
23
23
 
24
- `react`, `react-dom`, `next`, `react-icons`, and `@robosystems/client` are peer dependencies provided by the consuming app. See [CLAUDE.md](CLAUDE.md) for app wiring (Tailwind content scan, vitest inlining), packaging notes, and the release flow.
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 mirroring the folder structure:
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
- ## Resources
38
+ ## Versioning
39
39
 
40
- - [RoboSystems Platform](https://robosystems.ai)
41
- - [GitHub Repository](https://github.com/RoboFinSystems/robosystems-core)
42
- - [API Reference](https://robosystems.ai/docs/api)
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robosystems/core",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "Shared React core for the RoboSystems apps",
5
5
  "license": "MIT",
6
6
  "private": false,