@gobing-ai/ts-laya-mlx 0.5.32 → 0.5.33
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 +1 -1
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Part of the `@gobing-ai/ts-libs` monorepo and lockstep-versioned with it.
|
|
|
20
20
|
|
|
21
21
|
> **Notice:** This is the only package in the workspace with specific host architecture constraints.
|
|
22
22
|
|
|
23
|
-
1. **Platform:** macOS on Apple Silicon (`darwin arm64`). Unsupported platforms fail fast at construction time before any process is spawned.
|
|
23
|
+
1. **Platform:** macOS on Apple Silicon (`darwin arm64`). The published manifest sets `"os": ["darwin"]`, so a dependent that lists this package under `optionalDependencies` (including `@gobing-ai/ts-ai-decision`) does not install it on other operating systems. Unsupported platforms fail fast at construction time before any process is spawned.
|
|
24
24
|
2. **Python (core `mlx-python` only):** Python 3.10+ carrying the `laya-mlx` runtime (resolvable via `pythonPath`, injected `env.LAYA_PYTHON`, or `python3` on `PATH`). Core `mlx-native` needs no Python.
|
|
25
25
|
3. **Worker script (core `mlx-python` only):** the package ships `worker/laya_worker.py` and finds it relative to its own module. A host that **bundles** this package into a single file (e.g. `bun build`) relocates the module, so it must ship the script itself and point at it with the `workerScript` option or injected `env.LAYA_WORKER_SCRIPT`. A missing script fails the ask with `DecisionConfigError` (`variable: 'LAYA_WORKER_SCRIPT'`) naming the path it tried, which the decision hub maps to the declared fallback.
|
|
26
26
|
4. **Supported runtime range:** `laya-mlx 0.1.x` (validated against upstream `0.1.0` @ `fc1df62828a3fedf4d8229fdac1cbd85f1cdf337`).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gobing-ai/ts-laya-mlx",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.33",
|
|
4
4
|
"description": "@gobing-ai/ts-laya-mlx — Local Laya decision backend driving the vendored MLX runtime over a process bridge.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -23,6 +23,9 @@
|
|
|
23
23
|
"private": false,
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
|
+
"os": [
|
|
27
|
+
"darwin"
|
|
28
|
+
],
|
|
26
29
|
"main": "./dist/index.js",
|
|
27
30
|
"types": "./dist/index.d.ts",
|
|
28
31
|
"exports": {
|
|
@@ -52,8 +55,8 @@
|
|
|
52
55
|
"release": "echo 'Manual publish is disabled. Releases go through GitHub Actions via Trusted Publishing — push a tag: git tag @gobing-ai/ts-laya-mlx-v<version> && git push --tags' && exit 1"
|
|
53
56
|
},
|
|
54
57
|
"dependencies": {
|
|
55
|
-
"@gobing-ai/ts-ai-runner": "^0.5.
|
|
56
|
-
"@gobing-ai/ts-runtime": "^0.5.
|
|
58
|
+
"@gobing-ai/ts-ai-runner": "^0.5.33",
|
|
59
|
+
"@gobing-ai/ts-runtime": "^0.5.33",
|
|
57
60
|
"@johnhenry/laya": "0.3.2"
|
|
58
61
|
},
|
|
59
62
|
"optionalDependencies": {
|