@asyra/ui-context 0.5.1 → 0.5.2

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 +41 -5
  2. package/package.json +13 -7
package/README.md CHANGED
@@ -1,13 +1,49 @@
1
1
  # `@asyra/ui-context`
2
2
 
3
- Framework and app state projection for UI consumers without transferring
4
- canonical state ownership to presentation code.
3
+ Optional derived UI-property registration and aggregation runtime.
4
+
5
+ ## Requirements
6
+
7
+ - Node.js 24.x
8
+ - Yarn 4.3.1 for this repository's maintained workflows
9
+
10
+ ## Install
11
+
12
+ ```bash
13
+ npm install @asyra/ui-context
14
+ ```
5
15
 
6
16
  ```ts
7
17
  import uiContext from '@asyra/ui-context'
8
18
  ```
9
19
 
10
- ## Release support
20
+ Use only the package root and the explicitly documented public subpaths.
21
+
22
+ ## Owns
23
+
24
+ - derived property definitions, compute callbacks, managed observables, aggregate/mixed/empty semantics, and cleanup
25
+
26
+ ## Does not own
27
+
28
+ - canonical model state, mirror stores, automatic controls, field mappings, App command policy, or polling-based recompute
29
+
30
+ ## Start here
31
+
32
+ Use it when panels and controls need reusable derived values. A custom App may derive directly from public owner subscriptions.
33
+
34
+ ## Lifecycle and composition
35
+
36
+ Registration creates one managed derived source; canonical dependency changes request recompute and only the final derived value is published. Compute failure is a UI derivation failure and cannot replace or roll back canonical state.
37
+
38
+ ## Learn more
39
+
40
+ - [Complete package guide](https://github.com/karote00/asyra/blob/main/docs/public/reference/packages/ui-context.md)
41
+ - [Framework release support](https://github.com/karote00/asyra/blob/main/docs/ai/framework/RELEASE_SUPPORT.md)
42
+
43
+ ## Support and policy
11
44
 
12
- The `0.2.5` ESM artifact supports Node.js 24.x. Use only package-root exports.
13
- See the [Framework release support contract](../../docs/ai/framework/RELEASE_SUPPORT.md).
45
+ This repository does not accept external issues or contributions. You may use,
46
+ inspect, and fork the package under the [MIT License](https://github.com/karote00/asyra/blob/main/LICENSE).
47
+ Follow the [security policy](https://github.com/karote00/asyra/blob/main/SECURITY.md) for
48
+ security-sensitive reports and the [root policy](https://github.com/karote00/asyra) for the
49
+ current support boundary.
package/package.json CHANGED
@@ -1,9 +1,15 @@
1
1
  {
2
2
  "name": "@asyra/ui-context",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Manages and optimizes data from data contexts for UI consumption, ensuring efficient rendering and framework flexibility.",
5
5
  "author": "Asa Tsai",
6
6
  "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/karote00/asyra.git",
10
+ "directory": "packages/ui-context"
11
+ },
12
+ "homepage": "https://asyra-framework.vercel.app",
7
13
  "type": "module",
8
14
  "engines": {
9
15
  "node": "24.x"
@@ -37,15 +43,15 @@
37
43
  },
38
44
  "devDependencies": {
39
45
  "@types/lodash": "^4",
40
- "@vitest/coverage-v8": "^2.1.8",
46
+ "@vitest/coverage-v8": "^3.2.6",
41
47
  "typescript": "^5.7.2",
42
- "vitest": "^2.1.8"
48
+ "vitest": "^3.2.6"
43
49
  },
44
50
  "dependencies": {
45
- "@asyra/scene-tree": "0.5.1",
46
- "@asyra/selection": "0.5.0",
47
- "@asyra/utils": "0.5.0",
48
- "lodash": "^4.17.21",
51
+ "@asyra/scene-tree": "workspace:*",
52
+ "@asyra/selection": "workspace:*",
53
+ "@asyra/utils": "workspace:*",
54
+ "lodash": "^4.18.1",
49
55
  "rxjs": "^7.8.1"
50
56
  }
51
57
  }