@uns-kit/core 0.0.18 → 0.0.19

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 +11 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -16,6 +16,7 @@ npm install @uns-kit/core
16
16
  - **MQTT helpers** – resilient publishers, topic builders, throttled queues, and handover support.
17
17
  - **Configuration utilities** – Zod-powered config schema generation and secret resolution helpers.
18
18
  - **gRPC gateway helpers** – infrastructure to bridge Python workers into the UNS message fabric.
19
+ - **GraphQL tooling** – utilities such as `refresh-uns` that rebuild UNS topic/tag unions from your environment.
19
20
 
20
21
  ## Usage
21
22
 
@@ -29,6 +30,16 @@ const process = new UnsProxyProcess("mqtt-broker.svc:1883", { processName: "my-r
29
30
 
30
31
  See the individual plugin packages (`@uns-kit/cron`, `@uns-kit/api`, `@uns-kit/temporal`) for examples on extending the process with runtime capabilities.
31
32
 
33
+ ### Refresh UNS topic/tag unions
34
+
35
+ The package ships a CLI tool that regenerates strongly-typed UNS topics and tags based on the live GraphQL schema:
36
+
37
+ ```bash
38
+ pnpm run refresh-uns
39
+ ```
40
+
41
+ When configured via `uns-kit configure-codegen`, this script lives in your project `package.json` and writes into `src/uns/`.
42
+
32
43
  ## Development
33
44
 
34
45
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uns-kit/core",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "Core utilities and runtime building blocks for UNS-based realtime transformers.",
5
5
  "type": "module",
6
6
  "license": "MIT",