arcane-os 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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.3
|
|
4
|
+
|
|
5
|
+
- Preserved every independently completed Browser-WASM HTTP Range part and
|
|
6
|
+
split GGUF member when a sibling transfer fails, so a retry restores prior
|
|
7
|
+
progress and requests only the missing work instead of restarting all active
|
|
8
|
+
transfers.
|
|
9
|
+
|
|
3
10
|
## 0.5.2
|
|
4
11
|
|
|
5
12
|
- Forwarded each application's existing managed browser import map into
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ version-locked SDK runtime, while an integrated Arcane checkout uses its live
|
|
|
19
19
|
`arcane/` runtime. Both profiles preserve the same app URLs, theme, packaging,
|
|
20
20
|
event, cancellation, and browser run contracts.
|
|
21
21
|
|
|
22
|
-
This checkout defines the `0.5.
|
|
22
|
+
This checkout defines the `0.5.3` SDK contract. Applications pin one exact npm
|
|
23
23
|
version and lockfile; registry state is deliberately not baked into application
|
|
24
24
|
artifacts.
|
|
25
25
|
|
|
@@ -165,7 +165,7 @@ uses the same controller for automatic memory extraction.
|
|
|
165
165
|
Create a new repository-shaped Arcane application with the exact stable SDK:
|
|
166
166
|
|
|
167
167
|
```bash
|
|
168
|
-
npx arcane-os@0.5.
|
|
168
|
+
npx arcane-os@0.5.3 new my-app --path ./my-app --target portable --git
|
|
169
169
|
cd my-app
|
|
170
170
|
npm install
|
|
171
171
|
npm run check
|
|
@@ -176,7 +176,7 @@ To enroll an existing repository, install the exact SDK and initialize only
|
|
|
176
176
|
missing Arcane files:
|
|
177
177
|
|
|
178
178
|
```bash
|
|
179
|
-
npm install --save-dev --save-exact arcane-os@0.5.
|
|
179
|
+
npm install --save-dev --save-exact arcane-os@0.5.3
|
|
180
180
|
npm exec -- arcane init my-app --target portable
|
|
181
181
|
```
|
|
182
182
|
|
|
@@ -192,7 +192,7 @@ npm exec -- arcane-os targets
|
|
|
192
192
|
No global SDK install or standalone Arcane CLI is required. The application
|
|
193
193
|
repository's exact npm dependency and lockfile own the CLI and toolchain version.
|
|
194
194
|
|
|
195
|
-
Use `npx arcane-os@0.5.
|
|
195
|
+
Use `npx arcane-os@0.5.3` for the initial bootstrap because it names this npm
|
|
196
196
|
package explicitly; bare `npx arcane` outside an installed project could resolve
|
|
197
197
|
a different package. Both installed commands invoke the same headless toolchain.
|
|
198
198
|
Project-local npm scripts use the SDK pinned by that app's `package-lock.json`,
|
|
@@ -213,7 +213,7 @@ node ./bin/arcane.mjs new local-app --path ../local-app --target portable --git
|
|
|
213
213
|
|
|
214
214
|
# From the generated app repository
|
|
215
215
|
cd ../local-app
|
|
216
|
-
npm install --save-dev --save-exact ../arcane-os-sdk/arcane-os-0.5.
|
|
216
|
+
npm install --save-dev --save-exact ../arcane-os-sdk/arcane-os-0.5.3.tgz
|
|
217
217
|
npm run check
|
|
218
218
|
npm ci
|
|
219
219
|
```
|
|
@@ -223,7 +223,7 @@ same location. The lockfile retains the selected package dependency while
|
|
|
223
223
|
Arcane uses the installed package name and version. Local directory `file:` dependencies are not
|
|
224
224
|
accepted because npm may install them as links; use a packed `.tgz`. A GitHub
|
|
225
225
|
runner also needs that tarball at the locked path. After publication, replace
|
|
226
|
-
the local declaration with the exact `arcane-os@0.5.
|
|
226
|
+
the local declaration with the exact `arcane-os@0.5.3` registry package and
|
|
227
227
|
commit the regenerated lock.
|
|
228
228
|
|
|
229
229
|
Generated repositories use `npm ci --ignore-scripts` in CI. Run dependency
|
|
@@ -361,7 +361,7 @@ package installation, or assertions.
|
|
|
361
361
|
|
|
362
362
|
## Current target support
|
|
363
363
|
|
|
364
|
-
Version `0.5.
|
|
364
|
+
Version `0.5.3` exposes one browser target and five explicitly paired
|
|
365
365
|
native development targets: a non-runnable portable directory, a
|
|
366
366
|
Windows x64 unsigned-local-test EXE bundle, Linux x64 and Linux ARM64
|
|
367
367
|
unsigned-local-test DEBs, and an Android development-signed APK. The
|
|
@@ -926,7 +926,6 @@ export function createDbopfsModelStore({
|
|
|
926
926
|
{
|
|
927
927
|
signal,
|
|
928
928
|
progress,
|
|
929
|
-
retainInstallFailure = null,
|
|
930
929
|
rangeWorkerLimit = workerLimit,
|
|
931
930
|
} = {},
|
|
932
931
|
) {
|
|
@@ -955,7 +954,6 @@ export function createDbopfsModelStore({
|
|
|
955
954
|
|
|
956
955
|
function retainFailure(error) {
|
|
957
956
|
if (failure === null) failure = error;
|
|
958
|
-
if (!downloadSignal.aborted) linked.controller.abort(error);
|
|
959
957
|
}
|
|
960
958
|
|
|
961
959
|
async function transferRangeWorker() {
|
|
@@ -1005,7 +1003,6 @@ export function createDbopfsModelStore({
|
|
|
1005
1003
|
writable = null;
|
|
1006
1004
|
partFiles[rangeIndex] = await storedModelFile(partName);
|
|
1007
1005
|
} catch (error) {
|
|
1008
|
-
retainInstallFailure?.(error);
|
|
1009
1006
|
retainFailure(error);
|
|
1010
1007
|
await cancelOpenedDownload(opened, error);
|
|
1011
1008
|
try {
|
|
@@ -1100,7 +1097,6 @@ export function createDbopfsModelStore({
|
|
|
1100
1097
|
signal,
|
|
1101
1098
|
progress,
|
|
1102
1099
|
rangeWorkerLimit,
|
|
1103
|
-
retainInstallFailure: retainFailure,
|
|
1104
1100
|
});
|
|
1105
1101
|
}
|
|
1106
1102
|
|
|
@@ -1485,7 +1481,6 @@ export function createDbopfsModelStore({
|
|
|
1485
1481
|
|
|
1486
1482
|
function retainFailure(error) {
|
|
1487
1483
|
if (failure === null) failure = error;
|
|
1488
|
-
if (!downloadSignal.aborted) linked.controller.abort(error);
|
|
1489
1484
|
}
|
|
1490
1485
|
|
|
1491
1486
|
const progress = createDownloadProgressReporter(members, onProgress, retainFailure);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arcane-os",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Arcane OS JavaScript SDK, project-local CLI, browser runtime, and repository-portable application packager.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.mjs",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"test": "npm run test:unit && npm run test:functional && npm run test:integration && npm run test:regression",
|
|
55
55
|
"test:release": "node ./bin/arcane-test.mjs test/npm-release.test.mjs",
|
|
56
56
|
"test:unit": "node ./bin/arcane-test.mjs test/app-descriptor.test.mjs test/app-schema.test.mjs test/contracts.test.mjs test/doctor.test.mjs test/mail-credentials.test.mjs test/mail-outbox.test.mjs test/mail-public-api.test.mjs test/mail-send.test.mjs test/mail-transport.test.mjs test/targets.test.mjs test/workspace-operation-lock.test.mjs",
|
|
57
|
-
"test:functional": "node ./bin/arcane-test.mjs test/browser-speech-providers.test.mjs test/cli.test.mjs test/dbopfs-document-library.test.mjs test/dev-server.test.mjs test/dom-event-instrumentation.test.mjs test/event-manager.test.mjs test/events.test.mjs test/import-map.test.mjs test/mail-cli.test.mjs test/mail-runtime.test.mjs test/mail-server.test.mjs test/packaging.test.mjs test/persistent-ai-chat-session.test.mjs test/reference-completeness.test.mjs test/runtime-api-behavior.test.mjs test/runtime-sync.test.mjs test/runtime.test.mjs test/scaffold.test.mjs test/site.test.mjs test/update-check.test.mjs",
|
|
57
|
+
"test:functional": "node ./bin/arcane-test.mjs test/browser-speech-providers.test.mjs test/browser-wasm-download-resume.test.mjs test/cli.test.mjs test/dbopfs-document-library.test.mjs test/dev-server.test.mjs test/dom-event-instrumentation.test.mjs test/event-manager.test.mjs test/events.test.mjs test/import-map.test.mjs test/mail-cli.test.mjs test/mail-runtime.test.mjs test/mail-server.test.mjs test/packaging.test.mjs test/persistent-ai-chat-session.test.mjs test/reference-completeness.test.mjs test/runtime-api-behavior.test.mjs test/runtime-sync.test.mjs test/runtime.test.mjs test/scaffold.test.mjs test/site.test.mjs test/update-check.test.mjs",
|
|
58
58
|
"test:integration": "node ./bin/arcane-test.mjs test/integrated-shared.test.mjs test/integrated-workspace.test.mjs test/mail-browser.test.mjs test/native-plan.test.mjs test/native-provider-loader.test.mjs test/npm-release.test.mjs test/release-bundle.test.mjs test/release-capability-smoke.test.mjs test/shared-payload-batch.test.mjs test/tarball.test.mjs test/wllama-webgpu-runtime.test.mjs",
|
|
59
59
|
"test:regression": "node ./bin/arcane-test.mjs test/channel-workflows.test.mjs test/native-provider-generation.test.mjs test/testing.test.mjs test/test-sets.test.mjs",
|
|
60
60
|
"check": "node tools/check-source.mjs && npm test",
|