@uns-kit/cli 2.0.38 → 2.0.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uns-kit/cli",
3
- "version": "2.0.38",
3
+ "version": "2.0.39",
4
4
  "description": "Command line scaffolding tool for UNS applications",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -26,13 +26,13 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "azure-devops-node-api": "^15.1.1",
29
- "@uns-kit/core": "2.0.38"
29
+ "@uns-kit/core": "2.0.39"
30
30
  },
31
31
  "unsKitPackages": {
32
- "@uns-kit/core": "2.0.38",
33
- "@uns-kit/api": "2.0.38",
34
- "@uns-kit/cron": "2.0.38",
35
- "@uns-kit/temporal": "2.0.38"
32
+ "@uns-kit/core": "2.0.39",
33
+ "@uns-kit/api": "2.0.39",
34
+ "@uns-kit/cron": "2.0.39",
35
+ "@uns-kit/temporal": "2.0.39"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "tsc -p tsconfig.build.json",
@@ -25,11 +25,10 @@ Update `config.json` with your broker, UNS URLs, and credentials. The generated
25
25
 
26
26
  ## Validity / Liveliness
27
27
 
28
- UNS attributes can declare how the controller decides whether they are live or stale. These fields are optional and default to `"interval"` with the controller default (~120s) if omitted.
28
+ UNS attributes can declare how the controller decides whether they are live or stale; in most apps this is primarily used to drive UI liveliness/activity indicators. In app-level modeling we use two modes only:
29
29
 
30
- - `validityMode`: `"interval" | "lifecycle" | "static"`
31
- - `expectedIntervalMs`: required for `"interval"` mode (controller marks stale after ~2x this interval)
32
- - `lifecycleEndValue`: required for `"lifecycle"` mode (end-state marker, e.g. `"EXITED"`)
30
+ - `interval`: continuously refreshed values (stale after ~2× `expectedIntervalMs`)
31
+ - `lifecycle`: event-driven activity that stays active until a defined end value (`lifecycleEndValue`)
33
32
 
34
33
  Example:
35
34