arcane-os 0.2.3 → 0.3.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 +17 -0
- package/README.md +8 -8
- package/browser-runtime/ARCANE_SDK_BROWSER_RELEASE.json +29 -22
- package/browser-runtime/ai/ARCANE_AI_BROWSER_SPEECH_COMPONENTS.json +203 -0
- package/browser-runtime/ai/browser-kokoro-worker.mjs +11 -2
- package/browser-runtime/ai/browser-speech-artifacts.mjs +3230 -397
- package/browser-runtime/ai/browser-speech-providers.mjs +1141 -157
- package/browser-runtime/ai/browser-speech.mjs +2 -0
- package/browser-runtime/ai/browser-whisper-worker.mjs +11 -2
- package/browser-runtime/ai/model-controller.mjs +285 -95
- package/browser-runtime/ai/speech-worker-client.mjs +247 -32
- package/browser-runtime/ai/speech-worker-runtime.mjs +2310 -167
- package/browser-runtime/event-manager.mjs +1097 -1
- package/docs/architecture.md +2 -2
- package/docs/event-manager.md +155 -27
- package/docs/reference/README.md +20 -20
- package/docs/reference/ai/browser-speech-package-authority.json +835 -0
- package/docs/reference/ai/browser-speech.md +1162 -246
- package/docs/reference/ai/browser-wasm.md +18 -7
- package/docs/reference/availability-and-normalization.md +2 -2
- package/docs/reference/behavioral-testing.md +28 -5
- package/docs/reference/cli.md +115 -7
- package/docs/reference/core/arcane-ai-contracts.md +1 -1
- package/docs/reference/event-manager.md +577 -32
- package/docs/reference/inventory/package-api.json +478 -2
- package/docs/reference/inventory/runtime-components.json +86 -37
- package/docs/reference/inventory/runtime-modules.json +126 -49
- package/docs/reference/mail.md +316 -0
- package/docs/reference/protocols.md +143 -33
- package/docs/reference/runtime-components.md +192 -80
- package/docs/reference/runtime-modules.md +584 -70
- package/docs/reference/sdk-api.md +1014 -25
- package/package.json +5 -4
- package/runtime/ARCANE_RUNTIME_RELEASE.json +145 -140
- package/runtime/arcane/components/app-bar.html +34 -13
- package/runtime/arcane/components/assistant-panel.html +110 -57
- package/runtime/arcane/components/calculator.html +7 -4
- package/runtime/arcane/components/chart.html +58 -17
- package/runtime/arcane/components/chat.html +606 -136
- package/runtime/arcane/components/conversation-view.html +13 -6
- package/runtime/arcane/components/dashboard-config.html +96 -59
- package/runtime/arcane/components/data-maintenance.html +69 -14
- package/runtime/arcane/components/data-view.html +53 -7
- package/runtime/arcane/components/directory-picker.html +118 -32
- package/runtime/arcane/components/document-inspector.html +47 -10
- package/runtime/arcane/components/file-drop.html +81 -35
- package/runtime/arcane/components/file-inspector.html +72 -22
- package/runtime/arcane/components/file-manager.html +374 -79
- package/runtime/arcane/components/integration-settings.html +12 -5
- package/runtime/arcane/components/local-ai-status.html +48 -19
- package/runtime/arcane/components/markdown-document.html +161 -68
- package/runtime/arcane/components/markdown-editor.html +110 -33
- package/runtime/arcane/components/media-embed.html +8 -5
- package/runtime/arcane/components/modal.html +15 -5
- package/runtime/arcane/components/output-panel.html +28 -23
- package/runtime/arcane/components/preferences-form.html +22 -4
- package/runtime/arcane/components/record-timeline.html +18 -2
- package/runtime/arcane/components/relationship-board.html +23 -3
- package/runtime/arcane/components/screen-capture.html +10 -4
- package/runtime/arcane/components/source-code-viewer.html +76 -9
- package/runtime/arcane/components/source-explanation.html +23 -3
- package/runtime/arcane/components/speech.html +453 -131
- package/runtime/arcane/components/summary-strip.html +22 -11
- package/runtime/arcane/components/table.html +39 -21
- package/runtime/arcane/components/task-progress.html +79 -21
- package/runtime/arcane/components/terminal-workspace.html +7 -4
- package/runtime/arcane/components/theme-editor.html +7 -3
- package/runtime/arcane/components/unified-inbox.html +9 -4
- package/runtime/arcane/components/voice-transcription.html +244 -72
- package/runtime/arcane/components/weather-widget.html +5 -3
- package/runtime/arcane/components/web-navigator.html +48 -8
- package/runtime/arcane/entities/Chat.js +1 -1
- package/runtime/arcane/entities/User.js +110 -23
- package/runtime/arcane/modules/AI.js +2109 -130
- package/runtime/arcane/modules/AIProviderRuntime.js +720 -13
- package/runtime/arcane/modules/AIRuntimeState.js +109 -52
- package/runtime/arcane/modules/ApiModelDatabase.js +390 -17
- package/runtime/arcane/modules/BrowserTestSuite.js +205 -28
- package/runtime/arcane/modules/CalculatorEngine.js +63 -3
- package/runtime/arcane/modules/CommunicationAppController.js +588 -28
- package/runtime/arcane/modules/CommunicationHub.js +590 -10
- package/runtime/arcane/modules/ComponentContracts.js +235 -37
- package/runtime/arcane/modules/ConversationTimebox.js +152 -33
- package/runtime/arcane/modules/DBLS.js +40 -7
- package/runtime/arcane/modules/DBOPFS.js +35 -11
- package/runtime/arcane/modules/DataMaintenance.js +12 -2
- package/runtime/arcane/modules/Errors.js +65 -7
- package/runtime/arcane/modules/HTMLImport.js +198 -14
- package/runtime/arcane/modules/LocalAIReadinessController.js +208 -29
- package/runtime/arcane/modules/Mail.js +738 -115
- package/runtime/arcane/modules/MailOutbox.mjs +1395 -0
- package/runtime/arcane/modules/MailTransport.mjs +197 -39
- package/runtime/arcane/modules/Ollama.js +36 -1
- package/runtime/arcane/modules/OpenMeteoWeatherProvider.js +583 -7
- package/runtime/arcane/modules/PreferenceStore.js +367 -33
- package/runtime/arcane/modules/RecordReviewStore.js +322 -23
- package/runtime/arcane/modules/ScreenCapture.js +1397 -15
- package/runtime/arcane/modules/SpeechPlayback.js +438 -41
- package/runtime/arcane/modules/TerminalClient.js +277 -12
- package/runtime/arcane/modules/ThemeBootstrap.js +80 -6
- package/runtime/arcane/modules/ThemeManager.js +39 -7
- package/runtime/arcane/modules/TimeGuard.js +131 -20
- package/runtime/arcane/modules/WaitForComponent.js +386 -33
- package/schemas/arcane-lock.schema.json +2 -2
- package/src/cli/main.mjs +435 -9
- package/src/event-manager.mjs +1097 -1
- package/src/import-map.mjs +21 -3
- package/src/index.mjs +13 -0
- package/src/installed-sdk-runtime.mjs +112 -0
- package/src/mail-api.mjs +22 -0
- package/src/mail-credentials.mjs +667 -0
- package/src/mail-server.mjs +1769 -0
- package/src/mail.mjs +261 -0
- package/src/sdk-browser-runtime.mjs +85 -41
- package/src/testing-loader.mjs +7 -0
- package/src/toolchain.mjs +3 -0
- package/src/workspace.mjs +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"sdkVersion": "0.
|
|
3
|
+
"sdkVersion": "0.3.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": 200,
|
|
10
10
|
"members": [
|
|
11
11
|
{
|
|
12
12
|
"id": "root:APP_BUNDLE_DESCRIPTOR_NAME",
|
|
@@ -1222,6 +1222,22 @@
|
|
|
1222
1222
|
"protocol": "Node ESM",
|
|
1223
1223
|
"normalization": "SDK-normalized inputs, errors, events, and documented result"
|
|
1224
1224
|
},
|
|
1225
|
+
{
|
|
1226
|
+
"id": "root:materializeInstalledSdkRuntime",
|
|
1227
|
+
"name": "materializeInstalledSdkRuntime",
|
|
1228
|
+
"displayName": "materializeInstalledSdkRuntime()",
|
|
1229
|
+
"kind": "function",
|
|
1230
|
+
"signature": "async materializeInstalledSdkRuntime({workspaceRoot,sdkPackageSource,signal,onEvent}={})",
|
|
1231
|
+
"entrypoints": [
|
|
1232
|
+
"arcane-os"
|
|
1233
|
+
],
|
|
1234
|
+
"primaryImport": "arcane-os",
|
|
1235
|
+
"group": "Runtime and app descriptors",
|
|
1236
|
+
"summary": "Verifies the workspace's exact installed SDK runtime and browser runtime, then materializes their dynamic inventories.",
|
|
1237
|
+
"availability": "Node",
|
|
1238
|
+
"protocol": "Installed SDK runtime materialization",
|
|
1239
|
+
"normalization": "Canonical workspace and installed-package identity, verified runtime receipts, and a frozen materialization result"
|
|
1240
|
+
},
|
|
1225
1241
|
{
|
|
1226
1242
|
"id": "root:NATIVE_BUILD_PLAN_PROTOCOL",
|
|
1227
1243
|
"name": "NATIVE_BUILD_PLAN_PROTOCOL",
|
|
@@ -2175,6 +2191,159 @@
|
|
|
2175
2191
|
"protocol": "arcane-target-adapter/1, arcane-native-build-plan/1, or provider protocol",
|
|
2176
2192
|
"normalization": "Normalized plan/admission/receipt; target-specific artifact detail preserved"
|
|
2177
2193
|
},
|
|
2194
|
+
{
|
|
2195
|
+
"id": "root:ARCANE_EVENT_AUTHORITY_BRAND",
|
|
2196
|
+
"name": "ARCANE_EVENT_AUTHORITY_BRAND",
|
|
2197
|
+
"displayName": "ARCANE_EVENT_AUTHORITY_BRAND",
|
|
2198
|
+
"kind": "constant",
|
|
2199
|
+
"signature": "const ARCANE_EVENT_AUTHORITY_BRAND",
|
|
2200
|
+
"entrypoints": [
|
|
2201
|
+
"arcane-os",
|
|
2202
|
+
"arcane-os/event-manager"
|
|
2203
|
+
],
|
|
2204
|
+
"primaryImport": "arcane-os/event-manager",
|
|
2205
|
+
"group": "Central events, time travel, and DOM instrumentation",
|
|
2206
|
+
"summary": "Global registry symbol that brands the canonical per-realm Arcane event authority.",
|
|
2207
|
+
"availability": "Node and browser/bundler",
|
|
2208
|
+
"protocol": "Symbol.for('arcane-os.arcane-events-authority') with arcane-event-authority/1",
|
|
2209
|
+
"normalization": "Exact global symbol key; the authority brand descriptor is non-enumerable, non-writable, and non-configurable"
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
"id": "root:ARCANE_EVENT_AUTHORITY_KIND",
|
|
2213
|
+
"name": "ARCANE_EVENT_AUTHORITY_KIND",
|
|
2214
|
+
"displayName": "ARCANE_EVENT_AUTHORITY_KIND",
|
|
2215
|
+
"kind": "constant",
|
|
2216
|
+
"signature": "const ARCANE_EVENT_AUTHORITY_KIND",
|
|
2217
|
+
"entrypoints": [
|
|
2218
|
+
"arcane-os",
|
|
2219
|
+
"arcane-os/event-manager"
|
|
2220
|
+
],
|
|
2221
|
+
"primaryImport": "arcane-os/event-manager",
|
|
2222
|
+
"group": "Central events, time travel, and DOM instrumentation",
|
|
2223
|
+
"summary": "Identifies the frozen canonical authority descriptor kind.",
|
|
2224
|
+
"availability": "Node and browser/bundler",
|
|
2225
|
+
"protocol": "arcane-event-authority",
|
|
2226
|
+
"normalization": "Exact immutable descriptor-kind discriminator"
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
"id": "root:ARCANE_EVENT_AUTHORITY_PROTOCOL",
|
|
2230
|
+
"name": "ARCANE_EVENT_AUTHORITY_PROTOCOL",
|
|
2231
|
+
"displayName": "ARCANE_EVENT_AUTHORITY_PROTOCOL",
|
|
2232
|
+
"kind": "constant",
|
|
2233
|
+
"signature": "const ARCANE_EVENT_AUTHORITY_PROTOCOL",
|
|
2234
|
+
"entrypoints": [
|
|
2235
|
+
"arcane-os",
|
|
2236
|
+
"arcane-os/event-manager"
|
|
2237
|
+
],
|
|
2238
|
+
"primaryImport": "arcane-os/event-manager",
|
|
2239
|
+
"group": "Central events, time travel, and DOM instrumentation",
|
|
2240
|
+
"summary": "Identifies compatible canonical Arcane event authorities.",
|
|
2241
|
+
"availability": "Node and browser/bundler",
|
|
2242
|
+
"protocol": "arcane-event-authority/1",
|
|
2243
|
+
"normalization": "Exact authority protocol discriminator; incompatible globals fail closed"
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"id": "root:ARCANE_EVENT_ERROR_CODES",
|
|
2247
|
+
"name": "ARCANE_EVENT_ERROR_CODES",
|
|
2248
|
+
"displayName": "ARCANE_EVENT_ERROR_CODES",
|
|
2249
|
+
"kind": "constant",
|
|
2250
|
+
"signature": "const ARCANE_EVENT_ERROR_CODES",
|
|
2251
|
+
"entrypoints": [
|
|
2252
|
+
"arcane-os",
|
|
2253
|
+
"arcane-os/event-manager"
|
|
2254
|
+
],
|
|
2255
|
+
"primaryImport": "arcane-os/event-manager",
|
|
2256
|
+
"group": "Central events, time travel, and DOM instrumentation",
|
|
2257
|
+
"summary": "Frozen map of every stable event-authority error code to its identical string value.",
|
|
2258
|
+
"availability": "Node and browser/bundler",
|
|
2259
|
+
"protocol": "arcane-event-authority/1 failures",
|
|
2260
|
+
"normalization": "Exact frozen string-to-itself code map"
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
"id": "root:ARCANE_EVENT_LISTENER_ERROR_EVENT",
|
|
2264
|
+
"name": "ARCANE_EVENT_LISTENER_ERROR_EVENT",
|
|
2265
|
+
"displayName": "ARCANE_EVENT_LISTENER_ERROR_EVENT",
|
|
2266
|
+
"kind": "constant",
|
|
2267
|
+
"signature": "const ARCANE_EVENT_LISTENER_ERROR_EVENT",
|
|
2268
|
+
"entrypoints": [
|
|
2269
|
+
"arcane-os",
|
|
2270
|
+
"arcane-os/event-manager"
|
|
2271
|
+
],
|
|
2272
|
+
"primaryImport": "arcane-os/event-manager",
|
|
2273
|
+
"group": "Central events, time travel, and DOM instrumentation",
|
|
2274
|
+
"summary": "Canonical observational event emitted for a privacy-safe listener failure.",
|
|
2275
|
+
"availability": "Node and browser/bundler",
|
|
2276
|
+
"protocol": "arcane.event.listener.error over arcane-event-authority/1",
|
|
2277
|
+
"normalization": "Frozen public failure detail; raw listener errors remain at the owner-local reporting boundary"
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
"id": "root:ARCANE_EVENT_OCCURRENCE_PROTOCOL",
|
|
2281
|
+
"name": "ARCANE_EVENT_OCCURRENCE_PROTOCOL",
|
|
2282
|
+
"displayName": "ARCANE_EVENT_OCCURRENCE_PROTOCOL",
|
|
2283
|
+
"kind": "constant",
|
|
2284
|
+
"signature": "const ARCANE_EVENT_OCCURRENCE_PROTOCOL",
|
|
2285
|
+
"entrypoints": [
|
|
2286
|
+
"arcane-os",
|
|
2287
|
+
"arcane-os/event-manager"
|
|
2288
|
+
],
|
|
2289
|
+
"primaryImport": "arcane-os/event-manager",
|
|
2290
|
+
"group": "Central events, time travel, and DOM instrumentation",
|
|
2291
|
+
"summary": "Identifies immutable canonical event occurrences.",
|
|
2292
|
+
"availability": "Node and browser/bundler",
|
|
2293
|
+
"protocol": "arcane-event-occurrence/1",
|
|
2294
|
+
"normalization": "Exact occurrence protocol discriminator; public detail is privacy-admitted and deeply frozen"
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
"id": "root:ARCANE_EVENT_SOURCE_DISPOSED_EVENT",
|
|
2298
|
+
"name": "ARCANE_EVENT_SOURCE_DISPOSED_EVENT",
|
|
2299
|
+
"displayName": "ARCANE_EVENT_SOURCE_DISPOSED_EVENT",
|
|
2300
|
+
"kind": "constant",
|
|
2301
|
+
"signature": "const ARCANE_EVENT_SOURCE_DISPOSED_EVENT",
|
|
2302
|
+
"entrypoints": [
|
|
2303
|
+
"arcane-os",
|
|
2304
|
+
"arcane-os/event-manager"
|
|
2305
|
+
],
|
|
2306
|
+
"primaryImport": "arcane-os/event-manager",
|
|
2307
|
+
"group": "Central events, time travel, and DOM instrumentation",
|
|
2308
|
+
"summary": "Final noncancelable canonical occurrence published when a source is disposed.",
|
|
2309
|
+
"availability": "Node and browser/bundler",
|
|
2310
|
+
"protocol": "arcane.event.source.disposed over arcane-event-authority/1",
|
|
2311
|
+
"normalization": "Frozen public detail with exact source-disposed reason before source listener cleanup"
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
"id": "root:ARCANE_EVENT_SOURCE_KIND",
|
|
2315
|
+
"name": "ARCANE_EVENT_SOURCE_KIND",
|
|
2316
|
+
"displayName": "ARCANE_EVENT_SOURCE_KIND",
|
|
2317
|
+
"kind": "constant",
|
|
2318
|
+
"signature": "const ARCANE_EVENT_SOURCE_KIND",
|
|
2319
|
+
"entrypoints": [
|
|
2320
|
+
"arcane-os",
|
|
2321
|
+
"arcane-os/event-manager"
|
|
2322
|
+
],
|
|
2323
|
+
"primaryImport": "arcane-os/event-manager",
|
|
2324
|
+
"group": "Central events, time travel, and DOM instrumentation",
|
|
2325
|
+
"summary": "Identifies the frozen canonical source descriptor kind.",
|
|
2326
|
+
"availability": "Node and browser/bundler",
|
|
2327
|
+
"protocol": "arcane-event-source",
|
|
2328
|
+
"normalization": "Exact immutable descriptor-kind discriminator"
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
"id": "root:ARCANE_EVENT_SOURCE_PROTOCOL",
|
|
2332
|
+
"name": "ARCANE_EVENT_SOURCE_PROTOCOL",
|
|
2333
|
+
"displayName": "ARCANE_EVENT_SOURCE_PROTOCOL",
|
|
2334
|
+
"kind": "constant",
|
|
2335
|
+
"signature": "const ARCANE_EVENT_SOURCE_PROTOCOL",
|
|
2336
|
+
"entrypoints": [
|
|
2337
|
+
"arcane-os",
|
|
2338
|
+
"arcane-os/event-manager"
|
|
2339
|
+
],
|
|
2340
|
+
"primaryImport": "arcane-os/event-manager",
|
|
2341
|
+
"group": "Central events, time travel, and DOM instrumentation",
|
|
2342
|
+
"summary": "Identifies frozen canonical event source handles and descriptors.",
|
|
2343
|
+
"availability": "Node and browser/bundler",
|
|
2344
|
+
"protocol": "arcane-event-source/1",
|
|
2345
|
+
"normalization": "Exact source protocol discriminator with declared event types and one realm-local instance id"
|
|
2346
|
+
},
|
|
2178
2347
|
{
|
|
2179
2348
|
"id": "root:ARCANE_EVENT_STACK_PROTOCOL",
|
|
2180
2349
|
"name": "ARCANE_EVENT_STACK_PROTOCOL",
|
|
@@ -2430,6 +2599,23 @@
|
|
|
2430
2599
|
"protocol": "Synchronous event-pubsub plus opt-in arcane-event-stack/1 recording",
|
|
2431
2600
|
"normalization": "Same module singleton through root and focused subpath; time travel starts disabled"
|
|
2432
2601
|
},
|
|
2602
|
+
{
|
|
2603
|
+
"id": "root:createArcaneEventSource",
|
|
2604
|
+
"name": "createArcaneEventSource",
|
|
2605
|
+
"displayName": "createArcaneEventSource()",
|
|
2606
|
+
"kind": "function",
|
|
2607
|
+
"signature": "createArcaneEventSource(owner, options)",
|
|
2608
|
+
"entrypoints": [
|
|
2609
|
+
"arcane-os",
|
|
2610
|
+
"arcane-os/event-manager"
|
|
2611
|
+
],
|
|
2612
|
+
"primaryImport": "arcane-os/event-manager",
|
|
2613
|
+
"group": "Central events, time travel, and DOM instrumentation",
|
|
2614
|
+
"summary": "Registers one declared semantic event source for a non-null object or function owner.",
|
|
2615
|
+
"availability": "Node and browser/bundler",
|
|
2616
|
+
"protocol": "arcane-event-source/1 over the per-realm arcane-event-authority/1 singleton",
|
|
2617
|
+
"normalization": "Returns one frozen source handle with declared event types, a realm-local instance id, synchronous publication, and deterministic disposal"
|
|
2618
|
+
},
|
|
2433
2619
|
{
|
|
2434
2620
|
"id": "root:createDOMInstrumentation",
|
|
2435
2621
|
"name": "createDOMInstrumentation",
|
|
@@ -2498,6 +2684,23 @@
|
|
|
2498
2684
|
"protocol": "Local DOM diagnostic helper",
|
|
2499
2685
|
"normalization": "Returns a best-effort selector or null; triple-chevron separates open shadow boundaries"
|
|
2500
2686
|
},
|
|
2687
|
+
{
|
|
2688
|
+
"id": "root:isArcaneEventOccurrence",
|
|
2689
|
+
"name": "isArcaneEventOccurrence",
|
|
2690
|
+
"displayName": "isArcaneEventOccurrence()",
|
|
2691
|
+
"kind": "function",
|
|
2692
|
+
"signature": "isArcaneEventOccurrence(value)",
|
|
2693
|
+
"entrypoints": [
|
|
2694
|
+
"arcane-os",
|
|
2695
|
+
"arcane-os/event-manager"
|
|
2696
|
+
],
|
|
2697
|
+
"primaryImport": "arcane-os/event-manager",
|
|
2698
|
+
"group": "Central events, time travel, and DOM instrumentation",
|
|
2699
|
+
"summary": "Recognizes canonical occurrences and compatibility views created by the current realm authority.",
|
|
2700
|
+
"availability": "Node and browser/bundler",
|
|
2701
|
+
"protocol": "arcane-event-occurrence/1 realm-local recognition",
|
|
2702
|
+
"normalization": "Returns a boolean from authority-owned identity records; protocol-shaped foreign objects are not admitted"
|
|
2703
|
+
},
|
|
2501
2704
|
{
|
|
2502
2705
|
"id": "root:parseEventStack",
|
|
2503
2706
|
"name": "parseEventStack",
|
|
@@ -2515,6 +2718,23 @@
|
|
|
2515
2718
|
"protocol": "arcane-event-stack/1",
|
|
2516
2719
|
"normalization": "Rejects extra keys, invalid bounds, malformed nesting, unsafe values, and nonterminal overflow; returns a deeply frozen canonical document"
|
|
2517
2720
|
},
|
|
2721
|
+
{
|
|
2722
|
+
"id": "root:projectArcaneDOMEvent",
|
|
2723
|
+
"name": "projectArcaneDOMEvent",
|
|
2724
|
+
"displayName": "projectArcaneDOMEvent()",
|
|
2725
|
+
"kind": "function",
|
|
2726
|
+
"signature": "projectArcaneDOMEvent(target, occurrence, options)",
|
|
2727
|
+
"entrypoints": [
|
|
2728
|
+
"arcane-os",
|
|
2729
|
+
"arcane-os/event-manager"
|
|
2730
|
+
],
|
|
2731
|
+
"primaryImport": "arcane-os/event-manager",
|
|
2732
|
+
"group": "Central events, time travel, and DOM instrumentation",
|
|
2733
|
+
"summary": "Projects one canonical occurrence to one CustomEvent without republishing it into the authority.",
|
|
2734
|
+
"availability": "Browser DOM or a DOM-compatible test host",
|
|
2735
|
+
"protocol": "One-way arcane-event-occurrence/1 to CustomEvent compatibility projection",
|
|
2736
|
+
"normalization": "Adds immutable occurrence, source, instance, and operation identifiers; DOM cancellation propagates only to a cancelable occurrence"
|
|
2737
|
+
},
|
|
2518
2738
|
{
|
|
2519
2739
|
"id": "root:SDK_UPDATE_REGISTRY",
|
|
2520
2740
|
"name": "SDK_UPDATE_REGISTRY",
|
|
@@ -2724,6 +2944,22 @@
|
|
|
2724
2944
|
"protocol": "arcane.ai.browser-wasm.model.v4 completion manifests over existing DBOPFS method semantics",
|
|
2725
2945
|
"normalization": "Returns cached or installed receipts with observed byte count and per-check outcomes; disabled expected-length and SHA-256 checks do not compare or hash, while enabled checks fail closed"
|
|
2726
2946
|
},
|
|
2947
|
+
{
|
|
2948
|
+
"id": "browser-speech:BROWSER_SPEECH_ARTIFACT_GRAPH_PROTOCOL",
|
|
2949
|
+
"name": "BROWSER_SPEECH_ARTIFACT_GRAPH_PROTOCOL",
|
|
2950
|
+
"displayName": "BROWSER_SPEECH_ARTIFACT_GRAPH_PROTOCOL",
|
|
2951
|
+
"kind": "constant",
|
|
2952
|
+
"signature": "const BROWSER_SPEECH_ARTIFACT_GRAPH_PROTOCOL",
|
|
2953
|
+
"entrypoints": [
|
|
2954
|
+
"arcane-os/ai/browser-speech"
|
|
2955
|
+
],
|
|
2956
|
+
"primaryImport": "arcane-os/ai/browser-speech",
|
|
2957
|
+
"group": "Browser speech providers",
|
|
2958
|
+
"summary": "Stable protocol identifier for a complete caller-owned authenticated browser speech artifact graph.",
|
|
2959
|
+
"availability": "Browser metadata; graph construction is side-effect free and provider use requires the selected browser storage and Worker capabilities",
|
|
2960
|
+
"protocol": "arcane-ai-browser-speech-artifact-graph/1",
|
|
2961
|
+
"normalization": "Exact immutable protocol value for one closed runtime, model, and voice dependency graph; it selects no artifacts or policy"
|
|
2962
|
+
},
|
|
2727
2963
|
{
|
|
2728
2964
|
"id": "browser-speech:BROWSER_SPEECH_ARTIFACT_PROTOCOL",
|
|
2729
2965
|
"name": "BROWSER_SPEECH_ARTIFACT_PROTOCOL",
|
|
@@ -2756,6 +2992,22 @@
|
|
|
2756
2992
|
"protocol": "arcane-ai-provider/2 tts/synthesize",
|
|
2757
2993
|
"normalization": "Independent load, status, request, unload, cancellation, and disposal; provider-native requests return 24000 Hz Float32Array PCM, while shared AI.js requests admit only wav and return frozen Uint8Array audio/wav data; never selects a cloud fallback"
|
|
2758
2994
|
},
|
|
2995
|
+
{
|
|
2996
|
+
"id": "browser-speech:createBrowserSpeechArtifactGraph",
|
|
2997
|
+
"name": "createBrowserSpeechArtifactGraph",
|
|
2998
|
+
"displayName": "createBrowserSpeechArtifactGraph()",
|
|
2999
|
+
"kind": "function",
|
|
3000
|
+
"signature": "createBrowserSpeechArtifactGraph({ kind='browser-speech-authenticated-artifact-graph', identitySha256, providerId=null, role, model, runtime, files, edges, transforms }={})",
|
|
3001
|
+
"entrypoints": [
|
|
3002
|
+
"arcane-os/ai/browser-speech"
|
|
3003
|
+
],
|
|
3004
|
+
"primaryImport": "arcane-os/ai/browser-speech",
|
|
3005
|
+
"group": "Browser speech providers",
|
|
3006
|
+
"summary": "Validates, canonicalizes, identifies, and freezes one complete caller-owned browser speech artifact graph.",
|
|
3007
|
+
"availability": "Browser metadata; construction starts no fetch, cache, Worker, provider, or event operation",
|
|
3008
|
+
"protocol": "arcane-ai-browser-speech-artifact-graph/1",
|
|
3009
|
+
"normalization": "Returns one closed graph with lexically normalized inventories, a canonical SHA-256 identity, declared runtime edges, explicit STT/TTS model policy, and no SDK-selected artifacts"
|
|
3010
|
+
},
|
|
2759
3011
|
{
|
|
2760
3012
|
"id": "browser-speech:createBrowserSpeechAuthority",
|
|
2761
3013
|
"name": "createBrowserSpeechAuthority",
|
|
@@ -2803,6 +3055,230 @@
|
|
|
2803
3055
|
"availability": "Browser with a ready DBOPFS instance, Web Locks, Fetch or an explicit fetch implementation, File/Blob, and object URLs",
|
|
2804
3056
|
"protocol": "arcane.ai.browser-speech.assets.v1 completion manifests under arcane-ai-browser-speech-artifacts/1",
|
|
2805
3057
|
"normalization": "Serializes each authority, commits its completion manifest last, deletes partial state on failure, and supports strict offline cache admission"
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
"id": "mail:DEFAULT_MAIL_REQUEST_TIMEOUT_MS",
|
|
3061
|
+
"name": "DEFAULT_MAIL_REQUEST_TIMEOUT_MS",
|
|
3062
|
+
"displayName": "DEFAULT_MAIL_REQUEST_TIMEOUT_MS",
|
|
3063
|
+
"kind": "constant",
|
|
3064
|
+
"signature": "const DEFAULT_MAIL_REQUEST_TIMEOUT_MS",
|
|
3065
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3066
|
+
"primaryImport": "arcane-os/mail",
|
|
3067
|
+
"group": "Portable Mail",
|
|
3068
|
+
"summary": "Default upper bound for one Mail HTTP request in milliseconds.",
|
|
3069
|
+
"availability": "Node and browser with Fetch and AbortController for transport use",
|
|
3070
|
+
"protocol": "Arcane Mail HTTP transport",
|
|
3071
|
+
"normalization": "Exact immutable value of 590000 milliseconds"
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
"id": "mail:MAIL_OUTBOX_ACCEPTANCE_AUTHORITIES",
|
|
3075
|
+
"name": "MAIL_OUTBOX_ACCEPTANCE_AUTHORITIES",
|
|
3076
|
+
"displayName": "MAIL_OUTBOX_ACCEPTANCE_AUTHORITIES",
|
|
3077
|
+
"kind": "constant",
|
|
3078
|
+
"signature": "const MAIL_OUTBOX_ACCEPTANCE_AUTHORITIES",
|
|
3079
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3080
|
+
"primaryImport": "arcane-os/mail",
|
|
3081
|
+
"group": "Portable Mail",
|
|
3082
|
+
"summary": "Frozen acceptance-authority allowlist for durable outbox delivery evidence.",
|
|
3083
|
+
"availability": "Node and browser metadata",
|
|
3084
|
+
"protocol": "arcane-mail-outbox/1",
|
|
3085
|
+
"normalization": "Exact immutable authority names; acceptance means admitted provider or Core acceptance, not inbox delivery"
|
|
3086
|
+
},
|
|
3087
|
+
{
|
|
3088
|
+
"id": "mail:MAIL_OUTBOX_IDEMPOTENCY_WINDOW_MS",
|
|
3089
|
+
"name": "MAIL_OUTBOX_IDEMPOTENCY_WINDOW_MS",
|
|
3090
|
+
"displayName": "MAIL_OUTBOX_IDEMPOTENCY_WINDOW_MS",
|
|
3091
|
+
"kind": "constant",
|
|
3092
|
+
"signature": "const MAIL_OUTBOX_IDEMPOTENCY_WINDOW_MS",
|
|
3093
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3094
|
+
"primaryImport": "arcane-os/mail",
|
|
3095
|
+
"group": "Portable Mail",
|
|
3096
|
+
"summary": "Duration for same-key retry before an ambiguous delivery requires reconciliation.",
|
|
3097
|
+
"availability": "Node and browser metadata",
|
|
3098
|
+
"protocol": "arcane-mail-outbox/1",
|
|
3099
|
+
"normalization": "Exact immutable value of 86400000 milliseconds"
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
"id": "mail:MAIL_OUTBOX_PROTOCOL",
|
|
3103
|
+
"name": "MAIL_OUTBOX_PROTOCOL",
|
|
3104
|
+
"displayName": "MAIL_OUTBOX_PROTOCOL",
|
|
3105
|
+
"kind": "constant",
|
|
3106
|
+
"signature": "const MAIL_OUTBOX_PROTOCOL",
|
|
3107
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3108
|
+
"primaryImport": "arcane-os/mail",
|
|
3109
|
+
"group": "Portable Mail",
|
|
3110
|
+
"summary": "Stable protocol identifier written to durable Mail outbox records.",
|
|
3111
|
+
"availability": "Node and browser metadata",
|
|
3112
|
+
"protocol": "arcane-mail-outbox/1",
|
|
3113
|
+
"normalization": "Exact immutable protocol value"
|
|
3114
|
+
},
|
|
3115
|
+
{
|
|
3116
|
+
"id": "mail:MAIL_OUTBOX_STATES",
|
|
3117
|
+
"name": "MAIL_OUTBOX_STATES",
|
|
3118
|
+
"displayName": "MAIL_OUTBOX_STATES",
|
|
3119
|
+
"kind": "constant",
|
|
3120
|
+
"signature": "const MAIL_OUTBOX_STATES",
|
|
3121
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3122
|
+
"primaryImport": "arcane-os/mail",
|
|
3123
|
+
"group": "Portable Mail",
|
|
3124
|
+
"summary": "Frozen ordered vocabulary for durable Mail outbox lifecycle states.",
|
|
3125
|
+
"availability": "Node and browser metadata",
|
|
3126
|
+
"protocol": "arcane-mail-outbox/1",
|
|
3127
|
+
"normalization": "Exact queued, sending, retry_wait, accepted, failed, and reconciliation_required state list"
|
|
3128
|
+
},
|
|
3129
|
+
{
|
|
3130
|
+
"id": "mail:MAIL_OUTBOX_TABLE",
|
|
3131
|
+
"name": "MAIL_OUTBOX_TABLE",
|
|
3132
|
+
"displayName": "MAIL_OUTBOX_TABLE",
|
|
3133
|
+
"kind": "constant",
|
|
3134
|
+
"signature": "const MAIL_OUTBOX_TABLE",
|
|
3135
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3136
|
+
"primaryImport": "arcane-os/mail",
|
|
3137
|
+
"group": "Portable Mail",
|
|
3138
|
+
"summary": "Default DBOPFS-compatible table name for durable Mail outbox records.",
|
|
3139
|
+
"availability": "Node and browser metadata",
|
|
3140
|
+
"protocol": "arcane-mail-outbox/1",
|
|
3141
|
+
"normalization": "Exact immutable value mail_outbox"
|
|
3142
|
+
},
|
|
3143
|
+
{
|
|
3144
|
+
"id": "mail:MAX_MAIL_RESPONSE_BYTES",
|
|
3145
|
+
"name": "MAX_MAIL_RESPONSE_BYTES",
|
|
3146
|
+
"displayName": "MAX_MAIL_RESPONSE_BYTES",
|
|
3147
|
+
"kind": "constant",
|
|
3148
|
+
"signature": "const MAX_MAIL_RESPONSE_BYTES",
|
|
3149
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3150
|
+
"primaryImport": "arcane-os/mail",
|
|
3151
|
+
"group": "Portable Mail",
|
|
3152
|
+
"summary": "Maximum response-body bytes admitted by the Mail HTTP transport.",
|
|
3153
|
+
"availability": "Node and browser metadata",
|
|
3154
|
+
"protocol": "Arcane Mail HTTP transport",
|
|
3155
|
+
"normalization": "Exact immutable value of 65536 bytes"
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
"id": "mail:Mail",
|
|
3159
|
+
"name": "Mail",
|
|
3160
|
+
"displayName": "Mail",
|
|
3161
|
+
"kind": "class",
|
|
3162
|
+
"signature": "new Mail(config=globalThis.arcane?.config?.mail||{}, options={})",
|
|
3163
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3164
|
+
"primaryImport": "arcane-os/mail",
|
|
3165
|
+
"group": "Portable Mail",
|
|
3166
|
+
"summary": "Owns the application Mail singleton, durable lifecycle, report normalization, and explicit transport selection.",
|
|
3167
|
+
"availability": "Node with injected host adapters, or browser/native WebView with durable storage and Web Locks",
|
|
3168
|
+
"protocol": "arcane-mail-outbox/1 with native Arcane.mail or bounded HTTP delivery",
|
|
3169
|
+
"normalization": "Validates bounded reports, persists before delivery, and returns frozen provider-neutral send results"
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
"id": "mail:MailOutbox",
|
|
3173
|
+
"name": "MailOutbox",
|
|
3174
|
+
"displayName": "MailOutbox",
|
|
3175
|
+
"kind": "class",
|
|
3176
|
+
"signature": "new MailOutbox(options={})",
|
|
3177
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3178
|
+
"primaryImport": "arcane-os/mail",
|
|
3179
|
+
"group": "Portable Mail",
|
|
3180
|
+
"summary": "Persists bounded reports before delivery and owns FIFO draining, retry classification, and explicit invalid-record maintenance.",
|
|
3181
|
+
"availability": "Node or browser with injected DBOPFS-compatible storage and a Web Locks-compatible lock manager",
|
|
3182
|
+
"protocol": "arcane-mail-outbox/1",
|
|
3183
|
+
"normalization": "Returns deeply frozen records and bounded summaries; ambiguous attempts remain same-key retries or require reconciliation"
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
"id": "mail:MailTransportError",
|
|
3187
|
+
"name": "MailTransportError",
|
|
3188
|
+
"displayName": "MailTransportError",
|
|
3189
|
+
"kind": "class",
|
|
3190
|
+
"signature": "new MailTransportError(message, options={})",
|
|
3191
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3192
|
+
"primaryImport": "arcane-os/mail",
|
|
3193
|
+
"group": "Portable Mail",
|
|
3194
|
+
"summary": "Normalized Mail transport failure with stable retry, uncertainty, status, and delay metadata.",
|
|
3195
|
+
"availability": "Node and browser",
|
|
3196
|
+
"protocol": "Arcane Mail HTTP transport",
|
|
3197
|
+
"normalization": "Exposes code, retryable, retryAfterMs, statusCode, and uncertain without unbounded remote detail"
|
|
3198
|
+
},
|
|
3199
|
+
{
|
|
3200
|
+
"id": "mail:createMailOutbox",
|
|
3201
|
+
"name": "createMailOutbox",
|
|
3202
|
+
"displayName": "createMailOutbox()",
|
|
3203
|
+
"kind": "function",
|
|
3204
|
+
"signature": "createMailOutbox(options)",
|
|
3205
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3206
|
+
"primaryImport": "arcane-os/mail",
|
|
3207
|
+
"group": "Portable Mail",
|
|
3208
|
+
"summary": "Creates a MailOutbox from caller-owned storage, locking, delivery, and lifecycle adapters.",
|
|
3209
|
+
"availability": "Node or browser with the required injected outbox adapters",
|
|
3210
|
+
"protocol": "arcane-mail-outbox/1",
|
|
3211
|
+
"normalization": "Returns the same validated MailOutbox contract as direct construction"
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
"id": "mail:default",
|
|
3215
|
+
"name": "default",
|
|
3216
|
+
"displayName": "Mail default export",
|
|
3217
|
+
"kind": "class",
|
|
3218
|
+
"signature": "default as Mail",
|
|
3219
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3220
|
+
"primaryImport": "arcane-os/mail",
|
|
3221
|
+
"group": "Portable Mail",
|
|
3222
|
+
"summary": "Default package binding for the same Mail class exposed by the named export.",
|
|
3223
|
+
"availability": "Node with injected host adapters, or browser/native WebView with durable storage and Web Locks",
|
|
3224
|
+
"protocol": "arcane-mail-outbox/1 with native Arcane.mail or bounded HTTP delivery",
|
|
3225
|
+
"normalization": "Binding identity is exactly equal to the named Mail export"
|
|
3226
|
+
},
|
|
3227
|
+
{
|
|
3228
|
+
"id": "mail:normalizeMailEndpoint",
|
|
3229
|
+
"name": "normalizeMailEndpoint",
|
|
3230
|
+
"displayName": "normalizeMailEndpoint()",
|
|
3231
|
+
"kind": "function",
|
|
3232
|
+
"signature": "normalizeMailEndpoint(endpoint, base=globalThis.location?.href)",
|
|
3233
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3234
|
+
"primaryImport": "arcane-os/mail",
|
|
3235
|
+
"group": "Portable Mail",
|
|
3236
|
+
"summary": "Resolves and validates one credential-free HTTPS or loopback-HTTP Mail endpoint.",
|
|
3237
|
+
"availability": "Node and browser with URL support; relative endpoints require an explicit or global base URL",
|
|
3238
|
+
"protocol": "Arcane Mail HTTP transport",
|
|
3239
|
+
"normalization": "Returns an absolute URL and rejects credentials, query strings, fragments, and insecure non-loopback transport"
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
"id": "mail:resolveMailConfig",
|
|
3243
|
+
"name": "resolveMailConfig",
|
|
3244
|
+
"displayName": "resolveMailConfig()",
|
|
3245
|
+
"kind": "function",
|
|
3246
|
+
"signature": "resolveMailConfig(config=globalThis.arcane?.config?.mail||{}, options={})",
|
|
3247
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3248
|
+
"primaryImport": "arcane-os/mail",
|
|
3249
|
+
"group": "Portable Mail",
|
|
3250
|
+
"summary": "Resolves application identity, key, endpoint, and timeout from explicit or host Mail configuration.",
|
|
3251
|
+
"availability": "Node with explicit configuration, or browser/native WebView with optional document and location defaults",
|
|
3252
|
+
"protocol": "Arcane Mail configuration",
|
|
3253
|
+
"normalization": "Returns a frozen appName, appKey, endpoint, and requestTimeout record without initiating delivery"
|
|
3254
|
+
},
|
|
3255
|
+
{
|
|
3256
|
+
"id": "mail:sendMailReport",
|
|
3257
|
+
"name": "sendMailReport",
|
|
3258
|
+
"displayName": "sendMailReport()",
|
|
3259
|
+
"kind": "function",
|
|
3260
|
+
"signature": "sendMailReport({ appKey, appName, endpoint, fetchImpl=globalThis.fetch, report, reportKey, requestTimeout=590000, serializedReport, signal })",
|
|
3261
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3262
|
+
"primaryImport": "arcane-os/mail",
|
|
3263
|
+
"group": "Portable Mail",
|
|
3264
|
+
"summary": "Sends one immutable Mail report with an idempotency key through a bounded HTTP request.",
|
|
3265
|
+
"availability": "Node and browser with Fetch and AbortController, or an explicit fetch implementation",
|
|
3266
|
+
"protocol": "Arcane Mail HTTP transport",
|
|
3267
|
+
"normalization": "Validates request identity and body equality, bounds response bytes, and returns normalized acceptance or throws MailTransportError"
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
"id": "mail:serializeMailReport",
|
|
3271
|
+
"name": "serializeMailReport",
|
|
3272
|
+
"displayName": "serializeMailReport()",
|
|
3273
|
+
"kind": "function",
|
|
3274
|
+
"signature": "serializeMailReport(report)",
|
|
3275
|
+
"entrypoints": ["arcane-os/mail"],
|
|
3276
|
+
"primaryImport": "arcane-os/mail",
|
|
3277
|
+
"group": "Portable Mail",
|
|
3278
|
+
"summary": "Serializes one JSON-object Mail report for immutable request-body comparison and delivery.",
|
|
3279
|
+
"availability": "Node and browser",
|
|
3280
|
+
"protocol": "Arcane Mail HTTP transport",
|
|
3281
|
+
"normalization": "Returns compact JSON and rejects non-object or non-serializable reports"
|
|
2806
3282
|
}
|
|
2807
3283
|
]
|
|
2808
3284
|
}
|