@asyra/render-engine 0.5.0 → 0.5.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.
- package/README.md +41 -5
- package/package.json +9 -3
package/README.md
CHANGED
|
@@ -1,13 +1,49 @@
|
|
|
1
1
|
# `@asyra/render-engine`
|
|
2
2
|
|
|
3
|
-
Engine-
|
|
4
|
-
|
|
3
|
+
Engine-independent contract shared by Render, official engines, and custom provider implementations.
|
|
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/render-engine
|
|
14
|
+
```
|
|
5
15
|
|
|
6
16
|
```ts
|
|
7
17
|
import type { RenderEngineProvider } from '@asyra/render-engine'
|
|
8
18
|
```
|
|
9
19
|
|
|
10
|
-
|
|
20
|
+
Use only the package root and the explicitly documented public subpaths.
|
|
21
|
+
|
|
22
|
+
## Owns
|
|
23
|
+
|
|
24
|
+
- engine/surface lifecycle, semantic commands and queries, opaque handles, normalized interactions, capabilities, errors, and conformance tools
|
|
25
|
+
|
|
26
|
+
## Does not own
|
|
27
|
+
|
|
28
|
+
- a concrete SDK, canonical subscriptions, render layers, Feature policy, a default singleton, or unimplemented production modes
|
|
29
|
+
|
|
30
|
+
## Start here
|
|
31
|
+
|
|
32
|
+
Implement the contract when your App or package supplies a rendering engine; keep Render consumers dependent on this abstraction.
|
|
33
|
+
|
|
34
|
+
## Lifecycle and composition
|
|
35
|
+
|
|
36
|
+
`initialize(...)` may be asynchronous; command, query, destroy, and explicit frame flush behavior remains deterministic. Missing capabilities reject through structured errors instead of SDK-specific fallback.
|
|
37
|
+
|
|
38
|
+
## Learn more
|
|
39
|
+
|
|
40
|
+
- [Complete package guide](https://github.com/karote00/asyra/blob/main/docs/public/reference/packages/render-engine.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
|
-
|
|
13
|
-
|
|
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/render-engine",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Engine-independent render engine contracts for Asyra",
|
|
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/render-engine"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://asyra-framework.vercel.app",
|
|
7
13
|
"type": "module",
|
|
8
14
|
"engines": {
|
|
9
15
|
"node": "24.x"
|
|
@@ -42,8 +48,8 @@
|
|
|
42
48
|
"test:ci": "yarn has:test && yarn test:types && vitest run --coverage --reporter=default --reporter=junit || echo 'No test files found. Skipping test:ci.'"
|
|
43
49
|
},
|
|
44
50
|
"devDependencies": {
|
|
45
|
-
"@vitest/coverage-v8": "^2.
|
|
51
|
+
"@vitest/coverage-v8": "^3.2.6",
|
|
46
52
|
"typescript": "^5.7.2",
|
|
47
|
-
"vitest": "^2.
|
|
53
|
+
"vitest": "^3.2.6"
|
|
48
54
|
}
|
|
49
55
|
}
|