@asyra/core 0.5.2 → 0.5.3

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 (3) hide show
  1. package/CHANGELOG.md +141 -0
  2. package/README.md +50 -53
  3. package/package.json +3 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,141 @@
1
+ # @asyra/core
2
+
3
+ ## 0.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [c714696]
8
+ - @asyra/input-system@0.5.2
9
+
10
+ ## 0.5.2
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [889f7b4]
15
+ - @asyra/factory@0.5.1
16
+ - @asyra/props-manager@0.5.1
17
+ - @asyra/reactive-events@0.5.1
18
+ - @asyra/render@0.5.2
19
+ - @asyra/scene-tree@0.5.1
20
+ - @asyra/feature-system@0.5.1
21
+ - @asyra/input-system@0.5.1
22
+ - @asyra/ui-context@0.5.1
23
+
24
+ ## 0.5.1
25
+
26
+ ### Patch Changes
27
+
28
+ - 6559efc: Route app runtime and collaboration through Core, restore fast authoritative collaboration synchronization, and refresh the standalone Asyra Design template.
29
+
30
+ Initialize document connection state at `none`, publish only actual state changes, and notify every connection transition except the initial `none` to `connected` transition.
31
+
32
+ - Updated dependencies [6559efc]
33
+ - @asyra/render@0.5.1
34
+
35
+ ## 0.5.0
36
+
37
+ ### Minor Changes
38
+
39
+ - Exceptional synchronized minor release for the fixed 19-package Framework set.
40
+
41
+ ### Patch Changes
42
+
43
+ - Updated dependencies
44
+ - @asyra/factory@0.5.0
45
+ - @asyra/feature-system@0.5.0
46
+ - @asyra/input-system@0.5.0
47
+ - @asyra/persistence@0.5.0
48
+ - @asyra/props-manager@0.5.0
49
+ - @asyra/reactive-events@0.5.0
50
+ - @asyra/render@0.5.0
51
+ - @asyra/render-engine@0.5.0
52
+ - @asyra/scene-tree@0.5.0
53
+ - @asyra/selection@0.5.0
54
+ - @asyra/system-context@0.5.0
55
+ - @asyra/ui-context@0.5.0
56
+ - @asyra/utils@0.5.0
57
+
58
+ ## 0.2.5
59
+
60
+ ### Patch Changes
61
+
62
+ - Auto-patch all packages.
63
+ - Updated dependencies
64
+ - @asyra/factory@0.2.5
65
+ - @asyra/input-system@0.2.5
66
+ - @asyra/interaction-core@0.2.5
67
+ - @asyra/props-manager@0.2.5
68
+ - @asyra/reactive-events@0.2.5
69
+ - @asyra/render@0.2.5
70
+ - @asyra/scene-tree@0.2.5
71
+ - @asyra/selection@0.2.5
72
+ - @asyra/system-context@0.2.5
73
+ - @asyra/utils@0.2.5
74
+
75
+ ## 0.2.4
76
+
77
+ ### Patch Changes
78
+
79
+ - Auto-patch all packages.
80
+ - Updated dependencies
81
+ - @asyra/factory@0.2.4
82
+ - @asyra/input-system@0.2.4
83
+ - @asyra/interaction-core@0.2.4
84
+ - @asyra/props-manager@0.2.4
85
+ - @asyra/reactive-events@0.2.4
86
+ - @asyra/render@0.2.4
87
+ - @asyra/scene-tree@0.2.4
88
+ - @asyra/selection@0.2.4
89
+ - @asyra/system-context@0.2.4
90
+ - @asyra/utils@0.2.4
91
+
92
+ ## 0.2.3
93
+
94
+ ### Patch Changes
95
+
96
+ - Auto-patch all packages.
97
+ - Updated dependencies
98
+ - @asyra/factory@0.2.3
99
+ - @asyra/input-system@0.2.3
100
+ - @asyra/interaction-core@0.2.3
101
+ - @asyra/props-manager@0.2.3
102
+ - @asyra/reactive-events@0.2.3
103
+ - @asyra/render@0.2.3
104
+ - @asyra/scene-tree@0.2.3
105
+ - @asyra/selection@0.2.3
106
+ - @asyra/system-context@0.2.3
107
+ - @asyra/utils@0.2.3
108
+
109
+ ## 0.2.2
110
+
111
+ ### Patch Changes
112
+
113
+ - Auto-patch all packages.
114
+ - Updated dependencies
115
+ - @asyra/factory@0.2.2
116
+ - @asyra/input-system@0.2.2
117
+ - @asyra/interaction-core@0.2.2
118
+ - @asyra/props-manager@0.2.2
119
+ - @asyra/reactive-events@0.2.2
120
+ - @asyra/render@0.2.2
121
+ - @asyra/scene-tree@0.2.2
122
+ - @asyra/selection@0.2.2
123
+ - @asyra/system-context@0.2.2
124
+ - @asyra/utils@0.2.2
125
+
126
+ ## 0.2.1
127
+
128
+ ### Patch Changes
129
+
130
+ - Auto-patch all packages.
131
+ - Updated dependencies
132
+ - @asyra/factory@0.2.1
133
+ - @asyra/input-system@0.2.1
134
+ - @asyra/interaction-core@0.2.1
135
+ - @asyra/props-manager@0.2.1
136
+ - @asyra/reactive-events@0.2.1
137
+ - @asyra/render@0.2.1
138
+ - @asyra/scene-tree@0.2.1
139
+ - @asyra/selection@0.2.1
140
+ - @asyra/system-context@0.2.1
141
+ - @asyra/utils@0.2.1
package/README.md CHANGED
@@ -1,53 +1,50 @@
1
- # Core
2
-
3
- `@asyra/core` coordinates framework lifecycle, persistence, app load hooks,
4
- package validation, and canonical state apply.
5
-
6
- ## App-owned load migration
7
-
8
- Register synchronous app migrations with `core.registerLoadHook(...)`. Hooks
9
- run from a registration snapshot taken at load start on that Core instance; a
10
- hook registered during execution begins with the next load. The first hook
11
- receives the unnormalized raw document as `unknown`, so app code narrows version eligibility.
12
- Every successful hook must return a `VersionedLoadDocument`; package fields stay
13
- raw until the complete chain reaches package-owner validation.
14
-
15
- The app owns its connected linear migration chain and domain transforms. A
16
- copyable app helper can validate the complete batch and install one conditional
17
- dispatcher that repeatedly follows the current version; when no matching
18
- version exists, the document passes through unchanged. The helper permits one
19
- non-empty installation per Core instance, treats empty batches as no-ops, and
20
- keeps its instance-isolated installation guard app-owned. Core rejects Promise or
21
- invalid hook results before validation through `LoadHookExecutionError`, and
22
- contains an eventual rejected Promise behind that single synchronous failure.
23
- It does not infer app schema history, enforce an app target version, or provide
24
- a second migration pipeline.
25
-
26
- After migration, Props Manager, Scene Tree, and System Context each produce a
27
- validation/fallback result as an owner-issued, instance-bound, one-shot
28
- artifact. Core obtains all artifacts before updating the version, then returns
29
- each complete artifact to its package apply facade without rerunning validators.
30
- Migration or validation failure cannot apply a canonical prefix. Direct and
31
- provider-backed loads share this exact ordering and only nullish input means no
32
- document.
33
-
34
- Load diagnostics run only after successful apply and only when warnings exist.
35
- Every hook receives detached diagnostics and post-apply load evidence assembled
36
- from normalized/validated apply inputs and applied managed-system serialization.
37
- The detached evidence is not a canonical state artifact or state owner. Mutation
38
- or failure remains observational and cannot change canonical state, load success,
39
- or later hooks in that emission. Core assembles evidence only when diagnostics
40
- and an observer exist; assembly failure skips emission and preserves load success.
41
-
42
- See `docs/examples/app-owned-versioned-load-migration.mjs` for a reusable
43
- connected-registry example.
44
-
45
- `core.setPersistence(...)` is a warn-once, load-only compatibility adapter for
46
- `core.setLoadSource(...)`. It remains available through the `0.2.x` migration
47
- window and is planned for removal in the next major release.
48
-
49
- ## Release support
50
-
51
- The `@asyra/core` `0.2.5` ESM artifact supports Node.js 24.x. Use only
52
- package-root or explicitly exported subpath APIs. See the
53
- [Framework release support contract](../../docs/ai/framework/RELEASE_SUPPORT.md).
1
+ # `@asyra/core`
2
+
3
+ Strict public composition facade and lifecycle coordinator for current Asyra Framework capabilities.
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/core
14
+ ```
15
+
16
+ ```ts
17
+ import core from '@asyra/core'
18
+ ```
19
+
20
+ Use only the package root and the explicitly documented public subpaths.
21
+
22
+ ## Owns
23
+
24
+ - composition closure, startup ordering, readiness, teardown, load coordination, and curated package facades
25
+ - one pre-start render-engine provider and engine-neutral default adapter
26
+
27
+ ## Does not own
28
+
29
+ - App-domain rules, UI presentation, concrete engine resources, backend policy, permissions, or the future Core Kernel
30
+
31
+ ## Start here
32
+
33
+ Use Core for supported App composition and extensions that cross canonical package owners. Register composition before the first `core.start(...)`.
34
+
35
+ ## Lifecycle and composition
36
+
37
+ Startup validates and closes composition, initializes required runtime owners, loads canonical data, and publishes ready only after success. App-owned migrations form one connected migration chain; an unmatched string version passes through to ordinary owner validation. A failure tears down owned work and never reports false readiness. The current no-provider compatibility branch is not a public Headless lifecycle.
38
+
39
+ ## Learn more
40
+
41
+ - [Complete package guide](https://github.com/karote00/asyra/blob/main/docs/public/reference/packages/core.md)
42
+ - [Framework release support](https://github.com/karote00/asyra/blob/main/docs/ai/framework/RELEASE_SUPPORT.md)
43
+
44
+ ## Support and policy
45
+
46
+ This repository does not accept external issues or contributions. You may use,
47
+ inspect, and fork the package under the [MIT License](https://github.com/karote00/asyra/blob/main/LICENSE).
48
+ Follow the [security policy](https://github.com/karote00/asyra/blob/main/SECURITY.md) for
49
+ security-sensitive reports and the [root policy](https://github.com/karote00/asyra) for the
50
+ current support boundary.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asyra/core",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Core of Asyra.",
5
5
  "author": "Asa Tsai",
6
6
  "license": "MIT",
@@ -53,7 +53,7 @@
53
53
  "dependencies": {
54
54
  "@asyra/factory": "0.5.1",
55
55
  "@asyra/feature-system": "0.5.1",
56
- "@asyra/input-system": "0.5.1",
56
+ "@asyra/input-system": "0.5.2",
57
57
  "@asyra/persistence": "0.5.0",
58
58
  "@asyra/props-manager": "0.5.1",
59
59
  "@asyra/reactive-events": "0.5.1",
@@ -66,4 +66,4 @@
66
66
  "@asyra/utils": "0.5.0",
67
67
  "rxjs": "^7.8.1"
68
68
  }
69
- }
69
+ }