arcane-os 0.54.0 → 0.54.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.54.1
|
|
4
|
+
|
|
5
|
+
- Select the self-contained Transformers.js 4.3.0 browser CDN bundle for
|
|
6
|
+
`createBrowserDecisionModel`. The prior `.web.js` entry expected a bundler
|
|
7
|
+
and left `onnxruntime-web/webgpu` unresolved in the native module Worker.
|
|
8
|
+
The runtime URL correction preserves exact Laya FP16/Julia FP32 selection,
|
|
9
|
+
full inputs/results, activation and cancellation; no new runtime version,
|
|
10
|
+
backend fallback, application default change or data migration is introduced.
|
|
11
|
+
|
|
3
12
|
## 0.54.0
|
|
4
13
|
|
|
5
14
|
- Add `WS` through `arcane-os/websocket-client` and the Node root export,
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ selected SDK projection or an explicit live SDK source mount. Both profiles
|
|
|
20
20
|
share the theme, packaging, event, cancellation,
|
|
21
21
|
and browser run contracts while retaining their selected application layout.
|
|
22
22
|
|
|
23
|
-
This checkout defines the `0.54.
|
|
23
|
+
This checkout defines the `0.54.1` SDK contract. Applications pin one exact npm
|
|
24
24
|
version and lockfile; registry state is deliberately not baked into application
|
|
25
25
|
artifacts.
|
|
26
26
|
|
|
@@ -3,7 +3,8 @@ import {createArcaneEventSource} from '../event-manager.mjs';
|
|
|
3
3
|
|
|
4
4
|
const is = new Is(false);
|
|
5
5
|
const STATE_EVENT = 'ai.decisions.state';
|
|
6
|
-
|
|
6
|
+
// The CDN bundle includes ONNX Runtime; the .web build leaves bare imports for bundlers.
|
|
7
|
+
const DEFAULT_RUNTIME_MODULE = 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.3.0/dist/transformers.min.js';
|
|
7
8
|
|
|
8
9
|
function requiredText(value, name) {
|
|
9
10
|
if (!is.string(value) || value.length === 0) {
|
|
@@ -66,7 +66,7 @@ it does not substitute a quantized graph or another model.
|
|
|
66
66
|
| `model` | Required upstream repository/base URL accepted by Transformers.js. The application owns its selection. |
|
|
67
67
|
| `revision` | Upstream revision, default `main`; select a stable revision when repeatable model selection is needed. |
|
|
68
68
|
| `device` | Transformers.js backend, default `webgpu`; an explicit supported alternative is caller-owned. No automatic backend fallback. |
|
|
69
|
-
| `runtime.moduleUrl` | Defaults to `https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.3.0/dist/transformers.
|
|
69
|
+
| `runtime.moduleUrl` | Defaults to the self-contained CDN entry `https://cdn.jsdelivr.net/npm/@huggingface/transformers@4.3.0/dist/transformers.min.js`. The `.web.js` build expects a bundler to resolve its bare ONNX Runtime import and is unsuitable for a native module Worker. An explicit compatible public runtime URL may be supplied. |
|
|
70
70
|
| `runtime.wasmPaths` | Optional upstream ONNX WASM location passed to the selected runtime's public environment API. |
|
|
71
71
|
|
|
72
72
|
The runtime, tokenizer and weights use normal upstream loading and caching;
|
package/package.json
CHANGED