arcane-os 0.56.0 → 0.58.0
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 +43 -0
- package/README.md +6 -2
- package/browser-runtime/ai/core-local.mjs +306 -0
- package/browser-runtime/ai/core-onnx.mjs +96 -0
- package/browser-runtime/ai/onnx-tensors.mjs +85 -0
- package/browser-runtime/core/client.mjs +151 -16
- package/docs/architecture.md +5 -2
- package/docs/platform-targets.md +30 -13
- package/docs/reference/README.md +38 -3
- package/docs/reference/availability-and-normalization.md +9 -6
- package/docs/reference/cli.md +29 -9
- package/docs/reference/core-client.md +80 -0
- package/docs/reference/core-native-packaging.md +304 -12
- package/docs/reference/core-preferences.md +49 -0
- package/docs/reference/diarization.md +206 -0
- package/docs/reference/git-text-snapshot.md +104 -0
- package/docs/reference/inventory/package-api.json +330 -22
- package/docs/reference/local-ai.md +331 -0
- package/docs/reference/protocols.md +97 -20
- package/docs/reference/pwa.md +5 -2
- package/docs/reference/runtime-modules.md +6 -5
- package/docs/reference/sdk-api.md +611 -63
- package/package.json +15 -3
- package/runtime/arcane/modules/LocalAIReadiness.js +3 -1
- package/schemas/arcane-app.schema.json +55 -1
- package/schemas/arcane-package.schema.json +44 -0
- package/schemas/native-build-plan.schema.json +27 -1
- package/schemas/target-adapter.schema.json +2 -0
- package/src/app-descriptor.mjs +18 -2
- package/src/cli/main.mjs +20 -4
- package/src/constants.mjs +2 -0
- package/src/core/host.mjs +23 -0
- package/src/core/hosts/macos/ArcaneCoreProcess.h +85 -0
- package/src/core/hosts/macos/ArcaneCoreProcess.m +357 -0
- package/src/core/hosts/macos/ArcaneHost.h +86 -0
- package/src/core/hosts/macos/ArcaneHost.m +455 -0
- package/src/core/hosts/macos/ArcaneLauncher.m +432 -0
- package/src/core/hosts/windows/ArcaneCoreProcess.cs +3 -3
- package/src/core/hosts/windows/ArcaneHost.cs +695 -0
- package/src/core/hosts/windows/ArcaneHost.manifest +22 -0
- package/src/core/hosts/windows/ArcaneLauncher.cs +239 -0
- package/src/core/services/local-ai.mjs +621 -0
- package/src/core/services/packaged-web.mjs +89 -0
- package/src/core/services/preferences.mjs +201 -0
- package/src/core-classic-source.mjs +2 -2
- package/src/dev-server.mjs +9 -5
- package/src/diarization/build.mjs +35 -0
- package/src/diarization/index.mjs +432 -0
- package/src/diarization/native/CMakeLists.txt +9 -0
- package/src/diarization/native/main.cpp +269 -0
- package/src/diarization/service.mjs +129 -0
- package/src/git-text-snapshot.mjs +265 -0
- package/src/import-map.mjs +2 -0
- package/src/index.mjs +1 -0
- package/src/local-ai/archive.mjs +52 -0
- package/src/local-ai/config.mjs +62 -0
- package/src/local-ai/dev.mjs +390 -0
- package/src/local-ai/discover.mjs +71 -0
- package/src/local-ai/http.mjs +106 -0
- package/src/local-ai/install.mjs +459 -0
- package/src/local-ai/onnx-worker.mjs +85 -0
- package/src/local-ai/onnx.mjs +368 -0
- package/src/local-ai/server.mjs +262 -0
- package/src/native/macos-provider.mjs +291 -0
- package/src/native/portable-layout.mjs +37 -4
- package/src/native/portable-provider.mjs +44 -8
- package/src/native/windows-provider.mjs +262 -0
- package/src/native-plan.mjs +9 -1
- package/src/native-provider-loader.mjs +10 -2
- package/src/packager/core.mjs +6 -2
- package/src/process.mjs +184 -20
- package/src/scaffold.mjs +1 -1
- package/src/targets/index.mjs +11 -1
- package/src/templates/workspace-template.mjs +6 -5
- package/src/toolchain.mjs +33 -5
|
@@ -1,17 +1,185 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"sdkVersion": "0.
|
|
3
|
+
"sdkVersion": "0.57.0",
|
|
4
4
|
"environment": {
|
|
5
5
|
"runtime": "Node.js for Node entrypoints; browser for browser-only entrypoints",
|
|
6
6
|
"minimumVersion": "22.23.2 for Node entrypoints",
|
|
7
7
|
"moduleSystem": "ESM"
|
|
8
8
|
},
|
|
9
|
-
"memberCount":
|
|
9
|
+
"memberCount": 267,
|
|
10
10
|
"runtimeSubpathPatterns": {
|
|
11
11
|
"arcane-os/modules/*": "./runtime/arcane/modules/*",
|
|
12
12
|
"arcane-os/entities/*": "./runtime/arcane/entities/*"
|
|
13
13
|
},
|
|
14
14
|
"members": [
|
|
15
|
+
{
|
|
16
|
+
"id": "local-ai-onnx:createONNXRuntime",
|
|
17
|
+
"name": "createONNXRuntime",
|
|
18
|
+
"displayName": "createONNXRuntime()",
|
|
19
|
+
"kind": "function",
|
|
20
|
+
"signature": "createONNXRuntime({modulePath,signal,onEvent}={})",
|
|
21
|
+
"entrypoints": ["arcane-os/local-ai/onnx"],
|
|
22
|
+
"primaryImport": "arcane-os/local-ai/onnx",
|
|
23
|
+
"group": "Core local AI",
|
|
24
|
+
"summary": "Owns explicitly loaded ONNX graphs and complete named tensor inference in retained native workers.",
|
|
25
|
+
"availability": "Node on Windows/Linux/macOS x64/arm64 with prepared onnxruntime-node; Android needs host adaptation",
|
|
26
|
+
"protocol": "Per-session worker lifecycle with structured-clone tensors and replaying state",
|
|
27
|
+
"normalization": "Returns load/run/unload/current/subscribe/close; explicit model and session IDs; native calls may delay worker termination, and close observes actual exit"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "core-onnx:createCoreONNXRuntime",
|
|
31
|
+
"name": "createCoreONNXRuntime",
|
|
32
|
+
"displayName": "createCoreONNXRuntime()",
|
|
33
|
+
"kind": "function",
|
|
34
|
+
"signature": "createCoreONNXRuntime({client=getInstalledCoreClient()}={})",
|
|
35
|
+
"entrypoints": ["arcane-os/ai/core-onnx"],
|
|
36
|
+
"primaryImport": "arcane-os/ai/core-onnx",
|
|
37
|
+
"group": "Core local AI",
|
|
38
|
+
"summary": "Accesses local system ONNX through an existing Core client with complete tensor transport.",
|
|
39
|
+
"availability": "Browser with available Core ONNX service; construction installs no runtime or model",
|
|
40
|
+
"protocol": "arcane/1 onnx.status/load/run/unload and localai.state",
|
|
41
|
+
"normalization": "Returns load/run/unload/inspect/current/subscribe/close; preserves typed and string tensors; accessor close cancels its requests without closing shared Core or implicitly unloading shared models"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "root:createGitTextSnapshot",
|
|
45
|
+
"name": "createGitTextSnapshot",
|
|
46
|
+
"displayName": "createGitTextSnapshot()",
|
|
47
|
+
"kind": "function",
|
|
48
|
+
"signature": "createGitTextSnapshot({cacheDirectory,remote,ref,selectPath,onEvent,run=runProcess}={})",
|
|
49
|
+
"entrypoints": ["arcane-os"],
|
|
50
|
+
"primaryImport": "arcane-os",
|
|
51
|
+
"group": "Workspace, doctor, repository, and server",
|
|
52
|
+
"summary": "Reads complete selected text from one fetched revision using a dedicated bare Git object cache and batched retrieval.",
|
|
53
|
+
"availability": "Node with Git; Android requires a host supplying Git/process capability",
|
|
54
|
+
"protocol": "Git tree and batched blob transport through the shared process owner",
|
|
55
|
+
"normalization": "Returns {refresh,close,drain,dispose}; refresh yields {revision,files:[{path,content}]}, shares concurrent work, reuses unchanged revisions, preserves exact UTF-8 text, isolates caller cancellation and drains accepted work. See git-text-snapshot.md."
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "diarization:createDiarization",
|
|
59
|
+
"name": "createDiarization",
|
|
60
|
+
"displayName": "createDiarization()",
|
|
61
|
+
"kind": "function",
|
|
62
|
+
"signature": "createDiarization({executable,modelPath,runtime,onEvent}={})",
|
|
63
|
+
"entrypoints": ["arcane-os/diarization"],
|
|
64
|
+
"primaryImport": "arcane-os/diarization",
|
|
65
|
+
"group": "Native speaker diarization",
|
|
66
|
+
"summary": "Retains one selected Nemotron 3 model helper and independently owned caller-fed audio streams.",
|
|
67
|
+
"availability": "Node with a host-built first-party helper, official NeMo-Speech.cpp CPU libraries and caller-selected model",
|
|
68
|
+
"protocol": "Owned native helper transport and replayable model lifecycle; mono Float32 audio streams",
|
|
69
|
+
"normalization": "Preserves complete audio, timed segments and requested probability frames; generic speaker labels are not person identity; finish/cancel/close retain native drain and complete failures"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "diarization-build:buildDiarizationHelper",
|
|
73
|
+
"name": "buildDiarizationHelper",
|
|
74
|
+
"displayName": "buildDiarizationHelper()",
|
|
75
|
+
"kind": "function",
|
|
76
|
+
"signature": "async buildDiarizationHelper({runtime,outputRoot,signal,onEvent}={})",
|
|
77
|
+
"entrypoints": ["arcane-os/diarization/build"],
|
|
78
|
+
"primaryImport": "arcane-os/diarization/build",
|
|
79
|
+
"group": "Native speaker diarization",
|
|
80
|
+
"summary": "Builds the first-party helper against the explicitly installed NeMoSpeech Diarization component.",
|
|
81
|
+
"availability": "Node, installed CMake/C++17 toolchain and matching official CPU runtime for the current host",
|
|
82
|
+
"protocol": "CMake configure, build and install using runtime.cmakeDirectory",
|
|
83
|
+
"normalization": "Returns actual platform, architecture, root, executable and complete diagnostics; no compiler or model download"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "core-diarization:createDiarizationService",
|
|
87
|
+
"name": "createDiarizationService",
|
|
88
|
+
"displayName": "createDiarizationService()",
|
|
89
|
+
"kind": "function",
|
|
90
|
+
"signature": "createDiarizationService(options={},launch={})",
|
|
91
|
+
"entrypoints": ["arcane-os/core/diarization"],
|
|
92
|
+
"primaryImport": "arcane-os/core/diarization",
|
|
93
|
+
"group": "Native speaker diarization",
|
|
94
|
+
"summary": "Composes lazy native diarization as an application-selected Core service.",
|
|
95
|
+
"availability": "Node Core runtime with explicitly selected helper, runtime and model",
|
|
96
|
+
"protocol": "arcane/1 diarization methods and state/update/probability events; f32le audio transport",
|
|
97
|
+
"normalization": "Resolves relative paths from selected workspaceRoot or appRoot; session audio uses service lifetime, recording cancellation is independent, and model loading never blocks Core startup"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "core-diarization:default",
|
|
101
|
+
"name": "default",
|
|
102
|
+
"displayName": "createDiarizationService default export",
|
|
103
|
+
"kind": "function",
|
|
104
|
+
"signature": "default as createDiarizationService",
|
|
105
|
+
"entrypoints": ["arcane-os/core/diarization"],
|
|
106
|
+
"primaryImport": "arcane-os/core/diarization",
|
|
107
|
+
"group": "Native speaker diarization",
|
|
108
|
+
"summary": "Default binding for the same native Core diarization service factory.",
|
|
109
|
+
"availability": "Node Core runtime",
|
|
110
|
+
"protocol": "arcane/1 service definition",
|
|
111
|
+
"normalization": "Binding identity equals the named createDiarizationService export"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "core-local:createCoreLocalAIProvider",
|
|
115
|
+
"name": "createCoreLocalAIProvider",
|
|
116
|
+
"displayName": "createCoreLocalAIProvider()",
|
|
117
|
+
"kind": "function",
|
|
118
|
+
"signature": "createCoreLocalAIProvider({client=getInstalledCoreClient(),id='llama.cpp'}={})",
|
|
119
|
+
"entrypoints": ["arcane-os/ai/core-local"],
|
|
120
|
+
"primaryImport": "arcane-os/ai/core-local",
|
|
121
|
+
"group": "Core local AI",
|
|
122
|
+
"summary": "Browser llama.cpp provider through an explicitly connected Core, with application-owned model selection and complete response streaming.",
|
|
123
|
+
"availability": "Browser with an available Core local AI service; construction installs no runtime or model",
|
|
124
|
+
"protocol": "arcane-ai-provider/2 LLM lifecycle over arcane/1",
|
|
125
|
+
"normalization": "Preserves complete payloads and original parsed chunks; waits for the exact requested model and cancels on observed readiness loss"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"id": "core-local-ai:createLocalAIService",
|
|
129
|
+
"name": "createLocalAIService",
|
|
130
|
+
"displayName": "createLocalAIService()",
|
|
131
|
+
"kind": "function",
|
|
132
|
+
"signature": "createLocalAIService(configuration,{appRoot,runtimes=[],signal,onEvent}={})",
|
|
133
|
+
"entrypoints": ["arcane-os/core/local-ai"],
|
|
134
|
+
"primaryImport": "arcane-os/core/local-ai",
|
|
135
|
+
"group": "Core local AI",
|
|
136
|
+
"summary": "Composes selected native llama.cpp, Ollama and ONNX engines as a Core service with retained process/worker ownership and model lifecycle.",
|
|
137
|
+
"availability": "Node with selected upstream runtime distributions or available configured system services",
|
|
138
|
+
"protocol": "arcane/1 methods and events; llama.cpp OpenAI HTTP/SSE, Ollama native HTTP/NDJSON and ONNX tensor transport",
|
|
139
|
+
"normalization": "Application-owned runtime and model requirements; independent startup, complete responses and exact owned-process cleanup"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "core-local-ai:default",
|
|
143
|
+
"name": "default",
|
|
144
|
+
"displayName": "createLocalAIService default export",
|
|
145
|
+
"kind": "function",
|
|
146
|
+
"signature": "default as createLocalAIService",
|
|
147
|
+
"entrypoints": ["arcane-os/core/local-ai"],
|
|
148
|
+
"primaryImport": "arcane-os/core/local-ai",
|
|
149
|
+
"group": "Core local AI",
|
|
150
|
+
"summary": "Default binding for the same native Core local AI service factory.",
|
|
151
|
+
"availability": "Node",
|
|
152
|
+
"protocol": "arcane/1 service definition",
|
|
153
|
+
"normalization": "Binding identity equals the named createLocalAIService export"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "local-ai:ensureLocalAIRuntimes",
|
|
157
|
+
"name": "ensureLocalAIRuntimes",
|
|
158
|
+
"displayName": "ensureLocalAIRuntimes()",
|
|
159
|
+
"kind": "function",
|
|
160
|
+
"signature": "async ensureLocalAIRuntimes({runtimes=[],directory,platform=process.platform,architecture=process.arch,signal,onEvent}={})",
|
|
161
|
+
"entrypoints": ["arcane-os/local-ai"],
|
|
162
|
+
"primaryImport": "arcane-os/local-ai",
|
|
163
|
+
"group": "Core local AI",
|
|
164
|
+
"summary": "Reuses selected managed native runtimes or installs complete official llama.cpp/Ollama distributions, ONNX npm runtime trees or NeMo libraries.",
|
|
165
|
+
"availability": "Node; upstream platform and architecture assets determine runtime availability",
|
|
166
|
+
"protocol": "Official upstream release archives or selected ONNX npm installation",
|
|
167
|
+
"normalization": "Returns absolute runtime records; shares matching concurrent installs, preserves libraries and reports failures without changing global PATH or services"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "local-ai:bundleLocalAIRuntimes",
|
|
171
|
+
"name": "bundleLocalAIRuntimes",
|
|
172
|
+
"displayName": "bundleLocalAIRuntimes()",
|
|
173
|
+
"kind": "function",
|
|
174
|
+
"signature": "async bundleLocalAIRuntimes({runtimes=[],directory,outputRoot,platform=process.platform,architecture=process.arch,signal,onEvent}={})",
|
|
175
|
+
"entrypoints": ["arcane-os/local-ai"],
|
|
176
|
+
"primaryImport": "arcane-os/local-ai",
|
|
177
|
+
"group": "Core local AI",
|
|
178
|
+
"summary": "Copies selected complete runtime distributions into a fresh native artifact staging root.",
|
|
179
|
+
"availability": "Node; supports bundling published upstream platform assets independently of the build host",
|
|
180
|
+
"protocol": "Artifact-relative runtime/local-ai layout",
|
|
181
|
+
"normalization": "Returns {runtimes,files} with relative runtime records and the complete emitted inventory; model resources remain application-owned"
|
|
182
|
+
},
|
|
15
183
|
{
|
|
16
184
|
"id": "root:WS",
|
|
17
185
|
"name": "WS",
|
|
@@ -380,7 +548,7 @@
|
|
|
380
548
|
],
|
|
381
549
|
"primaryImport": "arcane-os",
|
|
382
550
|
"group": "Headless toolchain operations",
|
|
383
|
-
"summary": "Packages the selected app and builds one explicitly selected target;
|
|
551
|
+
"summary": "Packages the selected app and builds one explicitly selected target; paired native assembly applies each selected and bundled app's nativeResources and separate input output directory, preserving complete release records and explicit providers. Tests or checks run only when explicitly requested or required for the selected release output.",
|
|
384
552
|
"availability": "Node; selected operation may produce browser or native output",
|
|
385
553
|
"protocol": "Shared headless operation API + arcane-cli-events/1",
|
|
386
554
|
"normalization": "SDK-normalized inputs, errors, events, and documented result"
|
|
@@ -937,14 +1105,14 @@
|
|
|
937
1105
|
"name": "inspectApp",
|
|
938
1106
|
"displayName": "inspectApp()",
|
|
939
1107
|
"kind": "function",
|
|
940
|
-
"signature": "async inspectApp({workspaceRoot, appId, signal}={})",
|
|
1108
|
+
"signature": "async inspectApp({workspaceRoot, appId, signal, target, outputDirectory}={})",
|
|
941
1109
|
"entrypoints": [
|
|
942
1110
|
"arcane-os",
|
|
943
1111
|
"arcane-os/packager"
|
|
944
1112
|
],
|
|
945
1113
|
"primaryImport": "arcane-os",
|
|
946
1114
|
"group": "Packaging and release bundles",
|
|
947
|
-
"summary": "
|
|
1115
|
+
"summary": "Inspects one complete app plan without copying files. Target defaults to browser; nonbrowser selection adds explicit nativeResources outside browserDocuments and uses dist/.native/target/appId for a nonempty native include list. Explicit operation outputDirectory wins; other calls retain the saved outputDirectory or dist/appId.",
|
|
948
1116
|
"availability": "Node",
|
|
949
1117
|
"protocol": "SDK packager and deterministic bundle contract",
|
|
950
1118
|
"normalization": "Normalized SDK validation with complete canonical archive and release content"
|
|
@@ -1044,7 +1212,7 @@
|
|
|
1044
1212
|
],
|
|
1045
1213
|
"primaryImport": "arcane-os",
|
|
1046
1214
|
"group": "Targets, native plans, and providers",
|
|
1047
|
-
"summary": "Loads the
|
|
1215
|
+
"summary": "Loads the installed SDK provider for portable or windows-x64 when arcaneRoot is omitted, or retains the explicitly selected Arcane OS checkout provider route.",
|
|
1048
1216
|
"availability": "Node; selected browser/native target or provider as documented",
|
|
1049
1217
|
"protocol": "arcane-target-adapter/1, arcane-native-build-plan/1, or provider protocol",
|
|
1050
1218
|
"normalization": "Normalized complete plan and result; target-specific artifact detail preserved"
|
|
@@ -1239,7 +1407,7 @@
|
|
|
1239
1407
|
],
|
|
1240
1408
|
"primaryImport": "arcane-os",
|
|
1241
1409
|
"group": "Packaging and release bundles",
|
|
1242
|
-
"summary": "Builds one
|
|
1410
|
+
"summary": "Builds one complete app release with browser selection by default. Nonbrowser targets add explicit nativeResources through a late complete-content copy and separate native input output; moduleFormat is independent. Adapters receive actual target and effective browserPwa. Explicit operation outputDirectory wins; staged replacement preserves source and unrelated outputs. No tests or checks run automatically.",
|
|
1243
1411
|
"availability": "Node",
|
|
1244
1412
|
"protocol": "SDK packager and deterministic bundle contract",
|
|
1245
1413
|
"normalization": "Normalized SDK validation with complete canonical archive and release content"
|
|
@@ -1256,7 +1424,7 @@
|
|
|
1256
1424
|
],
|
|
1257
1425
|
"primaryImport": "arcane-os",
|
|
1258
1426
|
"group": "Headless toolchain operations",
|
|
1259
|
-
"summary": "Runs the high-level package operation for one selected application using the
|
|
1427
|
+
"summary": "Runs the high-level browser package operation for one selected application using the saved outputDirectory or dist/appId, with no separate destination override. Paired native buildApplication separately applies actual target and nativeResources selection.",
|
|
1260
1428
|
"availability": "Node; selected operation may produce browser or native output",
|
|
1261
1429
|
"protocol": "Shared headless operation API + arcane-cli-events/1",
|
|
1262
1430
|
"normalization": "SDK-normalized inputs, errors, events, and documented result"
|
|
@@ -1370,7 +1538,7 @@
|
|
|
1370
1538
|
],
|
|
1371
1539
|
"primaryImport": "arcane-os",
|
|
1372
1540
|
"group": "Runtime and app descriptors",
|
|
1373
|
-
"summary": "Projects a schema-2 descriptor into the compatible schema-1
|
|
1541
|
+
"summary": "Projects a schema-2 descriptor into the compatible schema-1 package contract, including optional package.nativeResources as top-level nativeResources; omitted selection stays omitted, empty include stays empty, and omitted exclude becomes an empty array.",
|
|
1374
1542
|
"availability": "Node",
|
|
1375
1543
|
"protocol": "Node ESM",
|
|
1376
1544
|
"normalization": "SDK-normalized inputs, errors, events, and documented result"
|
|
@@ -1790,16 +1958,16 @@
|
|
|
1790
1958
|
"name": "runProcess",
|
|
1791
1959
|
"displayName": "runProcess()",
|
|
1792
1960
|
"kind": "function",
|
|
1793
|
-
"signature": "async runProcess(command, args=[], { cwd, env, signal, onEvent, heartbeatMs=5000, terminationGraceMs=DEFAULT_TERMINATION_GRACE_MS, allowNonzero=false, input }={})",
|
|
1961
|
+
"signature": "async runProcess(command, args=[], { cwd, env, signal, onEvent, onOutput, captureOutput=true, emitOutputEvents=true, outputEncoding='utf8', heartbeatMs=5000, terminationGraceMs=DEFAULT_TERMINATION_GRACE_MS, allowNonzero=false, input, cancellationMode='terminate-tree' }={})",
|
|
1794
1962
|
"entrypoints": [
|
|
1795
1963
|
"arcane-os"
|
|
1796
1964
|
],
|
|
1797
1965
|
"primaryImport": "arcane-os",
|
|
1798
1966
|
"group": "Events, processes, and testing",
|
|
1799
|
-
"summary": "Runs one shell-free child command with complete
|
|
1967
|
+
"summary": "Runs one shell-free child command with complete output and ordered events; default tree termination or explicit close-input cancellation waits for the selected child lifecycle.",
|
|
1800
1968
|
"availability": "Node",
|
|
1801
1969
|
"protocol": "Node ESM / owned process or test lifecycle",
|
|
1802
|
-
"normalization": "
|
|
1970
|
+
"normalization": "Defaults to complete UTF-8 capture/events. AsyncIterable input and awaited onOutput retain backpressure. Explicit null outputEncoding delivers native Buffers only to a selected onOutput owner with capture and line events disabled for that stream; failures retain complete chunks and drained process diagnostics."
|
|
1803
1971
|
},
|
|
1804
1972
|
{
|
|
1805
1973
|
"id": "root:runRegisteredTests",
|
|
@@ -1942,7 +2110,7 @@
|
|
|
1942
2110
|
],
|
|
1943
2111
|
"primaryImport": "arcane-os",
|
|
1944
2112
|
"group": "Workspace, doctor, repository, and server",
|
|
1945
|
-
"summary": "Starts
|
|
2113
|
+
"summary": "Starts an owned source or packaged browser server with complete selected routes, HTTPS by default, explicit HTTP selection, listener readiness and shutdown.",
|
|
1946
2114
|
"availability": "Node control plane; browser data plane",
|
|
1947
2115
|
"protocol": "Node ESM",
|
|
1948
2116
|
"normalization": "SDK-normalized inputs, errors, events, and documented result"
|
|
@@ -2073,7 +2241,7 @@
|
|
|
2073
2241
|
],
|
|
2074
2242
|
"primaryImport": "arcane-os/packager",
|
|
2075
2243
|
"group": "Packaging and release bundles",
|
|
2076
|
-
"summary": "Validates one schema-1 packager app configuration
|
|
2244
|
+
"summary": "Validates one schema-1 packager app configuration, optional nativeResources literal include/exclude selection and workspace-relative outputDirectory without changing source layout or app identity. Native include may be empty; exclude defaults to an empty array.",
|
|
2077
2245
|
"availability": "Node",
|
|
2078
2246
|
"protocol": "SDK packager and deterministic bundle contract",
|
|
2079
2247
|
"normalization": "Normalized SDK validation with complete canonical archive and release content"
|
|
@@ -2172,7 +2340,7 @@
|
|
|
2172
2340
|
],
|
|
2173
2341
|
"primaryImport": "arcane-os",
|
|
2174
2342
|
"group": "Packaging and release bundles",
|
|
2175
|
-
"summary": "
|
|
2343
|
+
"summary": "Reads an existing app release and compares its complete file inventory with its manifest. Pass a target-selected native release's output as outputDirectory; this API does not infer a native target or execute services or hosts.",
|
|
2176
2344
|
"availability": "Node",
|
|
2177
2345
|
"protocol": "SDK packager and deterministic bundle contract",
|
|
2178
2346
|
"normalization": "Normalized SDK validation with complete canonical archive and release content"
|
|
@@ -3709,14 +3877,14 @@
|
|
|
3709
3877
|
"name": "createCoreClient",
|
|
3710
3878
|
"displayName": "createCoreClient()",
|
|
3711
3879
|
"kind": "function",
|
|
3712
|
-
"signature": "createCoreClient({global=globalThis,transport=null,eventOwner=arcaneEvents,eventOwnerReady,autoConnect=true,replayRuntimeState=false,onError}={})",
|
|
3880
|
+
"signature": "createCoreClient({global=globalThis,transport=null,eventOwner=arcaneEvents,eventOwnerReady,autoConnect=true,replayRuntimeState=false,webKitDocumentLifecycle=false,onError}={})",
|
|
3713
3881
|
"entrypoints": ["arcane-os/core/client"],
|
|
3714
3882
|
"primaryImport": "arcane-os/core/client",
|
|
3715
3883
|
"group": "Core browser client",
|
|
3716
3884
|
"summary": "Creates one correlated Arcane Core RPC client with explicit transport, readiness, events, cancellation and lifetime ownership.",
|
|
3717
3885
|
"availability": "Browser and native WebView JavaScript hosts; custom transports require a callable send(frame)",
|
|
3718
3886
|
"protocol": "arcane/1 over the selected host transport",
|
|
3719
|
-
"normalization": "Preserves complete request, result and event data; retains FIFO event-owner handoff; failTransport(error) settles pending RPCs and acknowledgements with the complete failure and releases the client lifetime; opt-in replayRuntimeState sends one observed nonblocking runtime.replay control after transport readiness"
|
|
3887
|
+
"normalization": "Preserves complete request, result and event data; retains FIFO event-owner handoff; failTransport(error) settles pending RPCs and acknowledgements with the complete failure and releases the client lifetime; opt-in replayRuntimeState sends one observed nonblocking runtime.replay control after transport readiness. Optional webKitDocumentLifecycle selects WithReply activate/frame/retire metadata outside unchanged Core JSON, synchronous acceptsNativeDelivery(activation), guarded receive/failure delivery, page-hide retirement and fresh restored activation with current-state replay. Requests cancelled while awaiting attachment are never submitted afterward. Subscriptions survive restoration; retired renderer promises abort while accepted service-lifetime work continues. Existing transport behavior is unchanged when omitted; see core-client.md for the native ownership and acknowledgement contract"
|
|
3720
3888
|
},
|
|
3721
3889
|
{
|
|
3722
3890
|
"id": "core-client:createCoreFacade",
|
|
@@ -3744,7 +3912,7 @@
|
|
|
3744
3912
|
"summary": "Installs one synchronous global Arcane facade, native receive callback and terminal transport-failure callback for the selected renderer lifetime.",
|
|
3745
3913
|
"availability": "Browser and native WebView JavaScript hosts",
|
|
3746
3914
|
"protocol": "arcane/1 renderer facade",
|
|
3747
|
-
"normalization": "Repeated installation returns the same client; close/failTransport release owned resources and restore prior globals only while still owned; __arcaneTransportFailed preserves the complete host failure without killing Core"
|
|
3915
|
+
"normalization": "Repeated installation returns the same client; close/failTransport release owned resources and restore prior globals only while still owned; __arcaneTransportFailed preserves the complete host failure without killing Core. Forwards optional webKitDocumentLifecycle:false by default; when selected, __arcaneWebKitDocumentCurrent(activation) probes the executing realm and __arcaneReceive(json,activation)/__arcaneTransportFailed(error,activation) reject delivery to retired or different activations before changing installation ownership"
|
|
3748
3916
|
},
|
|
3749
3917
|
{
|
|
3750
3918
|
"id": "core-client:getInstalledCoreClient",
|
|
@@ -3765,14 +3933,14 @@
|
|
|
3765
3933
|
"name": "createCoreClassicSource",
|
|
3766
3934
|
"displayName": "createCoreClassicSource()",
|
|
3767
3935
|
"kind": "function",
|
|
3768
|
-
"signature": "async createCoreClassicSource({eventOwnerModuleURL,replayRuntimeState=false}={})",
|
|
3936
|
+
"signature": "async createCoreClassicSource({eventOwnerModuleURL,replayRuntimeState=false,webKitDocumentLifecycle=false}={})",
|
|
3769
3937
|
"entrypoints": ["arcane-os/core/classic-source"],
|
|
3770
3938
|
"primaryImport": "arcane-os/core/classic-source",
|
|
3771
3939
|
"group": "Core classic client projection",
|
|
3772
3940
|
"summary": "Generates the native host's classic injection script from the installed canonical Core client and contracts.",
|
|
3773
3941
|
"availability": "Node; generated source runs in browser and native WebView renderers",
|
|
3774
3942
|
"protocol": "arcane/1 classic-script injection",
|
|
3775
|
-
"normalization": "Returns the complete canonical client projection; installs synchronous facade shapes while deferring only the event-owner module connection when document parsing is incomplete; forwards explicit
|
|
3943
|
+
"normalization": "Returns the complete canonical client projection; installs synchronous facade shapes while deferring only the event-owner module connection when document parsing is incomplete; forwards explicit replayRuntimeState and webKitDocumentLifecycle selections with false defaults. Optional WebKit lifetime requires a native WithReply lifecycle host and the existing runtime.replay control; restoration requests current state after fresh activation while rendering and independent Core startup continue"
|
|
3776
3944
|
},
|
|
3777
3945
|
{
|
|
3778
3946
|
"id": "core-runtime:createCoreRuntime",
|
|
@@ -3835,14 +4003,14 @@
|
|
|
3835
4003
|
"name": "createPortableNativeProvider",
|
|
3836
4004
|
"displayName": "createPortableNativeProvider()",
|
|
3837
4005
|
"kind": "function",
|
|
3838
|
-
"signature": "createPortableNativeProvider({services=
|
|
4006
|
+
"signature": "createPortableNativeProvider({services,packagedWeb=false,webKitDocumentLifecycle=false}={})",
|
|
3839
4007
|
"entrypoints": ["arcane-os/native/portable-provider"],
|
|
3840
4008
|
"primaryImport": "arcane-os/native/portable-provider",
|
|
3841
4009
|
"group": "Portable native provider",
|
|
3842
4010
|
"summary": "Creates the SDK-owned provider that assembles one selected app and explicit services into a portable Core payload.",
|
|
3843
4011
|
"availability": "Node; produces a portable payload rather than an executable host",
|
|
3844
4012
|
"protocol": "arcane-native-builder/1 portable provider",
|
|
3845
|
-
"normalization": "Preserves complete selected app and dependency releases
|
|
4013
|
+
"normalization": "Preserves complete selected app and dependency releases; an explicit services selection overrides appDescriptor.native.services, otherwise the descriptor selection is used; reports executable:false and never substitutes for an unavailable platform host"
|
|
3846
4014
|
},
|
|
3847
4015
|
{
|
|
3848
4016
|
"id": "native-portable-provider:arcaneNativeBuilderProvider",
|
|
@@ -3872,6 +4040,146 @@
|
|
|
3872
4040
|
"protocol": "arcane-native-builder/1 portable provider",
|
|
3873
4041
|
"normalization": "Binding identity is exactly equal to the named arcaneNativeBuilderProvider export"
|
|
3874
4042
|
},
|
|
4043
|
+
{
|
|
4044
|
+
"id": "native-windows-provider:createWindowsNativeProvider",
|
|
4045
|
+
"name": "createWindowsNativeProvider",
|
|
4046
|
+
"displayName": "createWindowsNativeProvider()",
|
|
4047
|
+
"kind": "function",
|
|
4048
|
+
"signature": "createWindowsNativeProvider({services,hostDirectory}={})",
|
|
4049
|
+
"entrypoints": ["arcane-os/native/windows-provider"],
|
|
4050
|
+
"primaryImport": "arcane-os/native/windows-provider",
|
|
4051
|
+
"group": "Windows native provider",
|
|
4052
|
+
"summary": "Assembles selected application services and browser content with the SDK-owned Windows x64 WebView2 and SEA host.",
|
|
4053
|
+
"availability": "Node for assembly; Windows x64 with WebView2 Runtime for execution",
|
|
4054
|
+
"protocol": "arcane-native-builder/1 windows-x64 provider",
|
|
4055
|
+
"normalization": "Uses a selected hostDirectory or the exact installed SDK version's numeric release asset; preserves complete payloads; run cancellation closes stdin and waits for host-owned graceful shutdown"
|
|
4056
|
+
},
|
|
4057
|
+
{
|
|
4058
|
+
"id": "native-windows-provider:arcaneNativeBuilderProvider",
|
|
4059
|
+
"name": "arcaneNativeBuilderProvider",
|
|
4060
|
+
"displayName": "arcaneNativeBuilderProvider",
|
|
4061
|
+
"kind": "singleton",
|
|
4062
|
+
"signature": "const arcaneNativeBuilderProvider",
|
|
4063
|
+
"entrypoints": ["arcane-os/native/windows-provider"],
|
|
4064
|
+
"primaryImport": "arcane-os/native/windows-provider",
|
|
4065
|
+
"group": "Windows native provider",
|
|
4066
|
+
"summary": "SDK-owned Windows provider selected by the ordinary windows-x64 build command without an OS checkout.",
|
|
4067
|
+
"availability": "Node for assembly; Windows x64 with WebView2 Runtime for execution",
|
|
4068
|
+
"protocol": "arcane-native-builder/1 windows-x64 provider",
|
|
4069
|
+
"normalization": "Uses appDescriptor.native.services and the exact SDK release host asset; binding is identical to the default export"
|
|
4070
|
+
},
|
|
4071
|
+
{
|
|
4072
|
+
"id": "native-windows-provider:default",
|
|
4073
|
+
"name": "default",
|
|
4074
|
+
"displayName": "arcaneNativeBuilderProvider default export",
|
|
4075
|
+
"kind": "singleton",
|
|
4076
|
+
"signature": "default as arcaneNativeBuilderProvider",
|
|
4077
|
+
"entrypoints": ["arcane-os/native/windows-provider"],
|
|
4078
|
+
"primaryImport": "arcane-os/native/windows-provider",
|
|
4079
|
+
"group": "Windows native provider",
|
|
4080
|
+
"summary": "Default binding for the SDK Windows executable provider.",
|
|
4081
|
+
"availability": "Node for assembly; Windows x64 with WebView2 Runtime for execution",
|
|
4082
|
+
"protocol": "arcane-native-builder/1 windows-x64 provider",
|
|
4083
|
+
"normalization": "Binding identity is exactly equal to the named arcaneNativeBuilderProvider export"
|
|
4084
|
+
},
|
|
4085
|
+
{
|
|
4086
|
+
"id": "native-macos-provider:createMacOSNativeProvider",
|
|
4087
|
+
"name": "createMacOSNativeProvider",
|
|
4088
|
+
"displayName": "createMacOSNativeProvider()",
|
|
4089
|
+
"kind": "function",
|
|
4090
|
+
"signature": "createMacOSNativeProvider({services,hostDirectory}={})",
|
|
4091
|
+
"entrypoints": ["arcane-os/native/macos-provider"],
|
|
4092
|
+
"primaryImport": "arcane-os/native/macos-provider",
|
|
4093
|
+
"group": "macOS native provider",
|
|
4094
|
+
"summary": "Composes a complete selected portable payload with the architecture-selected SDK Mac host in an application bundle.",
|
|
4095
|
+
"availability": "Node assembly; matching Darwin architecture and selected host artifact for execution",
|
|
4096
|
+
"protocol": "arcane-native-builder/1 macos-arm64 and macos-x64 provider",
|
|
4097
|
+
"normalization": "Resources remains target.rootDir; bundleRoot names the app bundle; selected hostDirectory or exact-version host assets; run closes stdin and awaits graceful drain; source availability does not establish artifact publication or Mac execution"
|
|
4098
|
+
},
|
|
4099
|
+
{
|
|
4100
|
+
"id": "native-macos-provider:arcaneNativeBuilderProvider",
|
|
4101
|
+
"name": "arcaneNativeBuilderProvider",
|
|
4102
|
+
"displayName": "arcaneNativeBuilderProvider",
|
|
4103
|
+
"kind": "singleton",
|
|
4104
|
+
"signature": "const arcaneNativeBuilderProvider",
|
|
4105
|
+
"entrypoints": ["arcane-os/native/macos-provider"],
|
|
4106
|
+
"primaryImport": "arcane-os/native/macos-provider",
|
|
4107
|
+
"group": "macOS native provider",
|
|
4108
|
+
"summary": "SDK-owned Mac provider selected by macos-arm64 and macos-x64 CLI routes.",
|
|
4109
|
+
"availability": "Node assembly; matching Darwin architecture and selected host artifact for execution",
|
|
4110
|
+
"protocol": "arcane-native-builder/1",
|
|
4111
|
+
"normalization": "Uses descriptor services and selected exact-version host; identical to the default binding"
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
"id": "native-macos-provider:default",
|
|
4115
|
+
"name": "default",
|
|
4116
|
+
"displayName": "arcaneNativeBuilderProvider default export",
|
|
4117
|
+
"kind": "singleton",
|
|
4118
|
+
"signature": "default as arcaneNativeBuilderProvider",
|
|
4119
|
+
"entrypoints": ["arcane-os/native/macos-provider"],
|
|
4120
|
+
"primaryImport": "arcane-os/native/macos-provider",
|
|
4121
|
+
"group": "macOS native provider",
|
|
4122
|
+
"summary": "Default binding for the same SDK Mac native provider.",
|
|
4123
|
+
"availability": "Node assembly; matching Darwin architecture and selected host artifact for execution",
|
|
4124
|
+
"protocol": "arcane-native-builder/1",
|
|
4125
|
+
"normalization": "Identical to named arcaneNativeBuilderProvider export"
|
|
4126
|
+
},
|
|
4127
|
+
{
|
|
4128
|
+
"id": "core-packaged-web:createPackagedWebService",
|
|
4129
|
+
"name": "createPackagedWebService",
|
|
4130
|
+
"displayName": "createPackagedWebService()",
|
|
4131
|
+
"kind": "function",
|
|
4132
|
+
"signature": "createPackagedWebService({artifactRoot},context={})",
|
|
4133
|
+
"entrypoints": ["arcane-os/core/packaged-web"],
|
|
4134
|
+
"primaryImport": "arcane-os/core/packaged-web",
|
|
4135
|
+
"group": "Native packaged web serving",
|
|
4136
|
+
"summary": "Owns one packaged HTTP listener, persisted loopback port, real readiness and draining shutdown inside Core.",
|
|
4137
|
+
"availability": "Node Core service lifetime",
|
|
4138
|
+
"protocol": "arcane/1 core.web.ready and core.web.failed events",
|
|
4139
|
+
"normalization": "Preserves full webRoot and start URL; stateRoot keeps the selected port across launches; no origin fallback on conflicts; unchanged launch record; explicit ready/failure events and complete listener lifecycle"
|
|
4140
|
+
},
|
|
4141
|
+
{
|
|
4142
|
+
"id": "core-preferences:createPreferencesService",
|
|
4143
|
+
"name": "createPreferencesService",
|
|
4144
|
+
"displayName": "createPreferencesService()",
|
|
4145
|
+
"kind": "function",
|
|
4146
|
+
"signature": "createPreferencesService({file}={})",
|
|
4147
|
+
"entrypoints": ["arcane-os/core/preferences"],
|
|
4148
|
+
"primaryImport": "arcane-os/core/preferences",
|
|
4149
|
+
"group": "Core preference persistence",
|
|
4150
|
+
"summary": "Supplies the five existing preference RPC methods with application-selected file storage.",
|
|
4151
|
+
"availability": "Node Core runtime",
|
|
4152
|
+
"protocol": "arcane/1 preferences methods and schemaVersion 1 entries file",
|
|
4153
|
+
"normalization": "Preserves exact keys, complete JSON values and existing metadata; writes use service lifetime and flush before acknowledgment; unreadable files remain untouched and drain waits for accepted work"
|
|
4154
|
+
},
|
|
4155
|
+
{
|
|
4156
|
+
"id": "core-preferences:default",
|
|
4157
|
+
"name": "default",
|
|
4158
|
+
"displayName": "createPreferencesService default export",
|
|
4159
|
+
"kind": "function",
|
|
4160
|
+
"signature": "default as createPreferencesService",
|
|
4161
|
+
"entrypoints": ["arcane-os/core/preferences"],
|
|
4162
|
+
"primaryImport": "arcane-os/core/preferences",
|
|
4163
|
+
"group": "Core preference persistence",
|
|
4164
|
+
"summary": "Default binding for the same Core preferences service factory.",
|
|
4165
|
+
"availability": "Node Core runtime",
|
|
4166
|
+
"protocol": "arcane/1 preferences methods and schemaVersion 1 entries file",
|
|
4167
|
+
"normalization": "Binding identity is exactly equal to the named createPreferencesService export"
|
|
4168
|
+
},
|
|
4169
|
+
{
|
|
4170
|
+
"id": "core-host:readCoreLaunchContext",
|
|
4171
|
+
"name": "readCoreLaunchContext",
|
|
4172
|
+
"displayName": "readCoreLaunchContext()",
|
|
4173
|
+
"kind": "function",
|
|
4174
|
+
"signature": "async readCoreLaunchContext({argv=process.argv.slice(2)}={})",
|
|
4175
|
+
"entrypoints": ["arcane-os/core/host"],
|
|
4176
|
+
"primaryImport": "arcane-os/core/host",
|
|
4177
|
+
"group": "Native Core host composition",
|
|
4178
|
+
"summary": "Reads the complete JSON object explicitly selected by --arcane-launch-config for native service launch context.",
|
|
4179
|
+
"availability": "Node, including the selected external-entry SEA launcher",
|
|
4180
|
+
"protocol": "Explicit launch arguments and JSON configuration",
|
|
4181
|
+
"normalization": "Returns an empty record without the flag; preserves every supplied field and value, surfaces file and JSON failures, and performs no configuration search, rewrite or environment mutation"
|
|
4182
|
+
},
|
|
3875
4183
|
{
|
|
3876
4184
|
"id": "core-host:startCoreHost",
|
|
3877
4185
|
"name": "startCoreHost",
|