arcane-os 0.5.9 → 0.5.11
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 +28 -0
- package/README.md +117 -26
- package/browser-runtime/ai/browser-speech-providers.mjs +1 -1
- package/browser-runtime/ai/browser-wasm-llm-provider.mjs +63 -39
- package/docs/architecture.md +303 -0
- package/docs/compatibility.md +38 -0
- package/docs/event-manager.md +263 -0
- package/docs/platform-targets.md +104 -0
- package/docs/publishing.md +126 -0
- package/docs/reference/README.md +206 -0
- package/docs/reference/ai/browser-speech.md +813 -0
- package/docs/reference/ai/browser-wasm.md +637 -0
- package/docs/reference/ai/twin-cloud.md +156 -0
- package/docs/reference/arcane-ollama.md +288 -0
- package/docs/reference/availability-and-normalization.md +224 -0
- package/docs/reference/behavioral-testing.md +129 -0
- package/docs/reference/cli.md +820 -0
- package/docs/reference/core/README.md +61 -0
- package/docs/reference/core/arcane-ai-contracts.md +907 -0
- package/docs/reference/core/arcane-api.md +601 -0
- package/docs/reference/core/arcane-entities.md +59 -0
- package/docs/reference/core/arcane-events.md +134 -0
- package/docs/reference/core/ollama-module.md +181 -0
- package/docs/reference/core/reference/arcane-api/ai-and-ollama.md +1909 -0
- package/docs/reference/core/reference/arcane-api/applications-terminal-capabilities.md +1057 -0
- package/docs/reference/core/reference/arcane-api/core-and-events.md +320 -0
- package/docs/reference/core/reference/arcane-api/filesystem-storage-preferences-appearance.md +610 -0
- package/docs/reference/core/reference/arcane-api/namespaces.md +1157 -0
- package/docs/reference/core/reference/arcane-api/platform-installation-users-system.md +1423 -0
- package/docs/reference/core/reference/arcane-api/session-provisioning-diagnostics-development.md +315 -0
- package/docs/reference/event-manager.md +1409 -0
- package/docs/reference/inventory/package-api.json +3194 -0
- package/docs/reference/inventory/runtime-components.json +1015 -0
- package/docs/reference/inventory/runtime-entities.json +25 -0
- package/docs/reference/inventory/runtime-modules.json +1367 -0
- package/docs/reference/mail.md +309 -0
- package/docs/reference/protocols.md +749 -0
- package/docs/reference/runtime-components.md +1529 -0
- package/docs/reference/runtime-entities.md +305 -0
- package/docs/reference/runtime-modules.md +3275 -0
- package/docs/reference/sdk-api.md +6733 -0
- package/docs/roadmap.md +79 -0
- package/docs/work-amplification.md +66 -0
- package/examples/wasm-ai-demo/README.md +80 -0
- package/examples/wasm-ai-demo/app.js +787 -0
- package/examples/wasm-ai-demo/index.html +343 -0
- package/examples/wasm-ai-demo/profile-tools.js +217 -0
- package/examples/wasm-ai-demo/profiles/BOSS.Modelfile +106 -0
- package/examples/wasm-ai-demo/profiles/PreCrisis.Modelfile +693 -0
- package/examples/wasm-ai-demo/rag/boss-library.json +3006 -0
- package/examples/wasm-ai-demo/rag.js +295 -0
- package/examples/wasm-ai-demo/server.mjs +71 -0
- package/package.json +11 -2
- package/runtime/arcane/modules/AI.js +1 -1
- package/runtime/arcane/modules/AIProviderRuntime.js +26 -5
|
@@ -0,0 +1,1367 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"source": {
|
|
4
|
+
"authority": "sdk-canonical",
|
|
5
|
+
"repository": "https://github.com/TheWizardNexus/arcane-os-sdk.git",
|
|
6
|
+
"branch": "main",
|
|
7
|
+
"path": "runtime/arcane",
|
|
8
|
+
"sdkVersion": "0.5.11",
|
|
9
|
+
"protocol": "arcane/1"
|
|
10
|
+
},
|
|
11
|
+
"artifactCount": 84,
|
|
12
|
+
"javascriptArtifactCount": 82,
|
|
13
|
+
"esmExportCount": 353,
|
|
14
|
+
"artifacts": [
|
|
15
|
+
{
|
|
16
|
+
"file": "runtime/arcane/modules/AI.js",
|
|
17
|
+
"name": "AI.js",
|
|
18
|
+
"kind": "esm",
|
|
19
|
+
"exports": [
|
|
20
|
+
"AI_BROWSER_SPEECH_CONFIGURATION_PROTOCOL",
|
|
21
|
+
"AI_BROWSER_SPEECH_ERROR_CODES",
|
|
22
|
+
"AI_BROWSER_SPEECH_EVENT_TYPES",
|
|
23
|
+
"AI_BROWSER_SPEECH_REASONS",
|
|
24
|
+
"AI_INITIALIZATION_ERROR_CODES",
|
|
25
|
+
"AI_INITIALIZATION_REASONS",
|
|
26
|
+
"AI_READY_EVENT",
|
|
27
|
+
"default"
|
|
28
|
+
],
|
|
29
|
+
"summary": "Owns provider-selectable chat and the one-time caller-authority browser STT/TTS configuration, lifecycle, synthesis, transcription, and playback boundary.",
|
|
30
|
+
"availability": "Browser + native bridge + TWiN Cloud",
|
|
31
|
+
"protocol": "arcane-ai-browser-speech-configuration/1, AIProviderRuntime arcane-ai-provider/2 routes, globalThis.arcaneEvents, TWiN Cloud HTTPS, Arcane.ollama, Arcane.speech, Android WebView bridge",
|
|
32
|
+
"normalization": "Complete mutable caller-owned browser speech authority, SDK-owned provider registration/replacement/disposal, explicit STT/TTS activation, normalized Kokoro TTS execution with default capacity 4, explicit provider-neutral execution snapshots through status(role,{execution:true}), sticky readiness, canonical window.user readiness without compatibility-event object-identity admission or polling, exact ordered structural calls with required arguments.message, atomic nonblank all-ID tool-result sequencing, complete all-choice streaming/data validation, native Ollama structural adaptation, complete-response then all validated tool callbacks then completion ordering, observed async callbacks, Blob/File transcription, immediate exact-segment synthesis, ordered audio-clock scheduling, playable audio, active-generation TTS operation-failure routing, mute, and cancellation are normalized; provider/model/runtime/voice policy remains caller-owned.",
|
|
33
|
+
"surface": "Browser-speech protocol/event/error/reason constants; default `AI`; read-only `providerRuntime`, `browserSpeechConfiguration`, and `browserSpeechDescriptor`; explicit `providerRuntime.status(role,{execution:true})` snapshots; configure/dispose speech, route lifecycle, declaration-validated chat/stream requests with exact ordered calls, synthesis/transcription, and playback controls; initializes from current canonical user readiness, installs `window.ai`, and projects `ai-ready` plus active-generation `ai-tts-failure`."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"file": "runtime/arcane/modules/AIPreferenceRuntime.js",
|
|
37
|
+
"name": "AIPreferenceRuntime.js",
|
|
38
|
+
"kind": "esm",
|
|
39
|
+
"exports": [
|
|
40
|
+
"getAIPreferencesForRuntime",
|
|
41
|
+
"setAIPreferenceRuntimeOverride"
|
|
42
|
+
],
|
|
43
|
+
"summary": "Applies and reads non-persistent per-user AI preference overrides.",
|
|
44
|
+
"availability": "Cross-host",
|
|
45
|
+
"protocol": "In-process only",
|
|
46
|
+
"normalization": "Normalized six-slot preference state.",
|
|
47
|
+
"surface": "`setAIPreferenceRuntimeOverride()`, `getAIPreferencesForRuntime()`."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"file": "runtime/arcane/modules/AIPreferenceTuple.js",
|
|
51
|
+
"name": "AIPreferenceTuple.js",
|
|
52
|
+
"kind": "esm",
|
|
53
|
+
"exports": [
|
|
54
|
+
"AI_PREFERENCE_SLOT_KEYS",
|
|
55
|
+
"aiPreferenceTuplesEqual",
|
|
56
|
+
"normalizeAIPreferenceTuple"
|
|
57
|
+
],
|
|
58
|
+
"summary": "Normalizes and compares the six provider/model preference slots.",
|
|
59
|
+
"availability": "Cross-host",
|
|
60
|
+
"protocol": "In-process only",
|
|
61
|
+
"normalization": "Fully normalized frozen tuple.",
|
|
62
|
+
"surface": "`AI_PREFERENCE_SLOT_KEYS`, `normalizeAIPreferenceTuple()`, `aiPreferenceTuplesEqual()`."
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"file": "runtime/arcane/modules/AIProviderRuntime.js",
|
|
66
|
+
"name": "AIProviderRuntime.js",
|
|
67
|
+
"kind": "esm",
|
|
68
|
+
"exports": [
|
|
69
|
+
"AI_MODEL_AUTHORITY_PROTOCOL",
|
|
70
|
+
"AI_PROVIDER_PROTOCOL",
|
|
71
|
+
"AI_PROVIDER_RUNTIME_PROTOCOL",
|
|
72
|
+
"AIProviderRuntime",
|
|
73
|
+
"aiProviderRuntime",
|
|
74
|
+
"getAIProviderRuntime"
|
|
75
|
+
],
|
|
76
|
+
"summary": "Provider-neutral selection, lifecycle, routing, startup, request, streaming, cancellation, and independent LLM/STT/TTS state.",
|
|
77
|
+
"availability": "Cross-host in-process runtime; registered providers remain browser, native, or cloud specific",
|
|
78
|
+
"protocol": "arcane-ai-runtime/2, arcane-ai-provider/2, arcane-ai-model-authority/1",
|
|
79
|
+
"normalization": "Normalizes mutable complete per-role routes, lifecycle/status, cancellation, streaming cleanup, capacity-1 FIFO LLM/STT lanes, bounded provider-declared parallel TTS requests with FIFO overflow, local-only selection, direct LLM history/declaration/terminal structural contracts, complete all-choice content/reasoning FIFO iteration, private automatic provider draining with result-first buffering, terminal-only structural calls, exact per-choice observed/terminal correlation, and a separate complete validated terminal result without creating a fallback.",
|
|
80
|
+
"surface": "Protocol constants; singleton-only `AIProviderRuntime`; `aiProviderRuntime`; `getAIProviderRuntime()`; provider registration/identity/selection, closed three-role and STT/TTS-only validation/configuration/replacement, status/catalog/inspection, startup, per-role load/unload/dispose/cancel, dispose-all, request/stream/speech aliases, and mute controls."
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"file": "runtime/arcane/modules/AIResponseLength.js",
|
|
84
|
+
"name": "AIResponseLength.js",
|
|
85
|
+
"kind": "esm",
|
|
86
|
+
"exports": [
|
|
87
|
+
"AI_RESPONSE_LENGTH_DEFAULT",
|
|
88
|
+
"AI_RESPONSE_LENGTH_OPTIONS",
|
|
89
|
+
"aiResponseLengthInstruction",
|
|
90
|
+
"applyAIResponseLength",
|
|
91
|
+
"normalizeAIResponseLength"
|
|
92
|
+
],
|
|
93
|
+
"summary": "Normalizes low/medium/high response-preference selectors while leaving complete prompts unchanged.",
|
|
94
|
+
"availability": "Cross-host",
|
|
95
|
+
"protocol": "In-process only",
|
|
96
|
+
"normalization": "Selectors normalize to low, medium, or high; every label is Complete, the instruction is empty, and prompt content remains unchanged.",
|
|
97
|
+
"surface": "Response-preference constants plus `normalizeAIResponseLength()`, `aiResponseLengthInstruction()`, and `applyAIResponseLength()`."
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"file": "runtime/arcane/modules/AIResponseURLPolicy.js",
|
|
101
|
+
"name": "AIResponseURLPolicy.js",
|
|
102
|
+
"kind": "esm",
|
|
103
|
+
"exports": [
|
|
104
|
+
"auditAIResponseLinks",
|
|
105
|
+
"decodeHTMLCharacterReferences",
|
|
106
|
+
"extractAIResponseLinks",
|
|
107
|
+
"normalizeAIResponseLink"
|
|
108
|
+
],
|
|
109
|
+
"summary": "Extracts and audits links from AI Markdown, rendered HTML, CSS, srcset, bare URLs, and email text.",
|
|
110
|
+
"availability": "Cross-host",
|
|
111
|
+
"protocol": "In-process; bundled Marked parser",
|
|
112
|
+
"normalization": "Normalized frozen allowlist audit.",
|
|
113
|
+
"surface": "`auditAIResponseLinks()`, `extractAIResponseLinks()`, `normalizeAIResponseLink()`, `decodeHTMLCharacterReferences()`."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"file": "runtime/arcane/modules/AIRuntimeState.js",
|
|
117
|
+
"name": "AIRuntimeState.js",
|
|
118
|
+
"kind": "esm",
|
|
119
|
+
"exports": [
|
|
120
|
+
"AI_RUNTIME_INTENT_EVENT",
|
|
121
|
+
"AI_RUNTIME_PROTOCOL",
|
|
122
|
+
"AI_RUNTIME_ROLES",
|
|
123
|
+
"AI_RUNTIME_STARTUP_EVENT",
|
|
124
|
+
"AI_RUNTIME_STATES",
|
|
125
|
+
"AI_RUNTIME_STATE_EVENT",
|
|
126
|
+
"getAIRuntimeState",
|
|
127
|
+
"publishAIRuntimeRoleState",
|
|
128
|
+
"publishAIRuntimeRolesState",
|
|
129
|
+
"requestAIRuntimeIntent",
|
|
130
|
+
"startAIRuntime",
|
|
131
|
+
"subscribeAIRuntimeIntents",
|
|
132
|
+
"subscribeAIRuntimeState"
|
|
133
|
+
],
|
|
134
|
+
"summary": "Sticky mutable LLM, speech-to-text, and text-to-speech lifecycle snapshots, intents, subscriptions, and startup-settlement barriers.",
|
|
135
|
+
"availability": "Cross-host in-process state contract; actual role readiness remains provider specific",
|
|
136
|
+
"protocol": "arcane-ai-runtime-state/1 over the per-realm globalThis.arcaneEvents authority",
|
|
137
|
+
"normalization": "Closed monotonic sticky role snapshots, transient lifecycle intents, synchronous current-state replay, AbortSignal cleanup, and startup settlement are normalized; events report state but grant no authority.",
|
|
138
|
+
"surface": "Protocol/event/role/state constants; snapshot, state subscribe/publish, intent request/subscribe, and `startAIRuntime({startMuted,startTranscription,signal})` returning `{barrier,settled,cancel}`."
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"file": "runtime/arcane/modules/AnsiText.js",
|
|
142
|
+
"name": "AnsiText.js",
|
|
143
|
+
"kind": "esm",
|
|
144
|
+
"exports": [
|
|
145
|
+
"parseAnsi",
|
|
146
|
+
"stripAnsi"
|
|
147
|
+
],
|
|
148
|
+
"summary": "Parses terminal ANSI sequences into display spans or strips them to plain text.",
|
|
149
|
+
"availability": "Cross-host",
|
|
150
|
+
"protocol": "In-process only",
|
|
151
|
+
"normalization": "Normalized text/span output.",
|
|
152
|
+
"surface": "`parseAnsi()`, `stripAnsi()`."
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"file": "runtime/arcane/modules/ApiModelDatabase.js",
|
|
156
|
+
"name": "ApiModelDatabase.js",
|
|
157
|
+
"kind": "esm",
|
|
158
|
+
"exports": [
|
|
159
|
+
"API_MODEL_ERRORS",
|
|
160
|
+
"API_MODEL_EVENTS",
|
|
161
|
+
"appendParameters",
|
|
162
|
+
"default",
|
|
163
|
+
"publicEndpoint"
|
|
164
|
+
],
|
|
165
|
+
"summary": "Fetches an injectable HTTP JSON model with parser, cache, redacted public endpoint records, and request lifecycle events.",
|
|
166
|
+
"availability": "Browser / native WebView / server with fetch",
|
|
167
|
+
"protocol": "HTTP(S) fetch + per-realm globalThis.arcaneEvents authority",
|
|
168
|
+
"normalization": "Request records are normalized; fetch/provider failures remain mixed.",
|
|
169
|
+
"surface": "`API_MODEL_EVENTS`, `API_MODEL_ERRORS`, default `ApiModelDatabase`; `setEndpoint()`, `fetch()`, `cached()`, and `dispose()`; state-free EventTarget/on compatibility for request, success, and error occurrences."
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"file": "runtime/arcane/modules/AppDataScope.js",
|
|
173
|
+
"name": "AppDataScope.js",
|
|
174
|
+
"kind": "esm",
|
|
175
|
+
"exports": [
|
|
176
|
+
"APPLICATION_ID_MAX_LENGTH",
|
|
177
|
+
"APPLICATION_ID_PATTERN",
|
|
178
|
+
"APP_DATA_DIRECTORY",
|
|
179
|
+
"APP_LOCAL_STORAGE_PREFIX",
|
|
180
|
+
"canonicalApplicationId",
|
|
181
|
+
"declaredApplicationId",
|
|
182
|
+
"openApplicationDataDirectory",
|
|
183
|
+
"resolveApplicationId",
|
|
184
|
+
"resolveApplicationLocalStorageKey",
|
|
185
|
+
"resolveBrowserApplicationId"
|
|
186
|
+
],
|
|
187
|
+
"summary": "Reconciles declared and native application identity and scopes OPFS/localStorage ownership fail-closed.",
|
|
188
|
+
"availability": "Browser / native WebView hybrid",
|
|
189
|
+
"protocol": "Arcane.app.current, DOM declaration, OPFS",
|
|
190
|
+
"normalization": "Strict normalized identifiers and coded mismatch failures.",
|
|
191
|
+
"surface": "Identity constants and `canonicalApplicationId()`, `resolveApplicationId()`, `resolveApplicationLocalStorageKey()`, `openApplicationDataDirectory()`."
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"file": "runtime/arcane/modules/AppearancePreferences.js",
|
|
195
|
+
"name": "AppearancePreferences.js",
|
|
196
|
+
"kind": "esm",
|
|
197
|
+
"exports": [
|
|
198
|
+
"appearancePreferenceSchema",
|
|
199
|
+
"applyAppearancePreferences",
|
|
200
|
+
"createAppearancePreferenceStore",
|
|
201
|
+
"loadAndApplyAppearancePreferences"
|
|
202
|
+
],
|
|
203
|
+
"summary": "Defines, stores, and applies color scheme, density, reduced motion, and large-text preferences.",
|
|
204
|
+
"availability": "Browser / native WebView hybrid",
|
|
205
|
+
"protocol": "PreferenceStore, DOM, optional Arcane preferences",
|
|
206
|
+
"normalization": "Normalized values; storage/host failures remain mixed.",
|
|
207
|
+
"surface": "`appearancePreferenceSchema`, `createAppearancePreferenceStore()`, `applyAppearancePreferences()`, `loadAndApplyAppearancePreferences()`."
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"file": "runtime/arcane/modules/ArcaneCommunicationBridge.js",
|
|
211
|
+
"name": "ArcaneCommunicationBridge.js",
|
|
212
|
+
"kind": "esm",
|
|
213
|
+
"exports": [
|
|
214
|
+
"default"
|
|
215
|
+
],
|
|
216
|
+
"summary": "Maps provider HTTP threads/messages/connect/disconnect endpoints to normalized communication entities.",
|
|
217
|
+
"availability": "Browser / native WebView / server with fetch",
|
|
218
|
+
"protocol": "JSON HTTP(S), default loopback 127.0.0.1:8020",
|
|
219
|
+
"normalization": "Entity results are normalized; provider/transport failures remain mixed.",
|
|
220
|
+
"surface": "default `ArcaneCommunicationBridge`; `request()`, `listThreads()`, `getMessages()`, `send()`, `connect()`, `disconnect()`."
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"file": "runtime/arcane/modules/ArcaneNavigationPolicy.js",
|
|
224
|
+
"name": "ArcaneNavigationPolicy.js",
|
|
225
|
+
"kind": "esm",
|
|
226
|
+
"exports": [
|
|
227
|
+
"createArcaneNavigationGuard"
|
|
228
|
+
],
|
|
229
|
+
"summary": "Creates an HTTP(S) navigation guard with explicit secure-mode domain and CIDR policy decisions.",
|
|
230
|
+
"availability": "Cross-host",
|
|
231
|
+
"protocol": "Arcane network-policy document",
|
|
232
|
+
"normalization": "Complete mutable allow/block decision; ordinary mode warns and continues, while explicitly selected secure:true fails closed.",
|
|
233
|
+
"surface": "`createArcaneNavigationGuard({ secure })`."
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"file": "runtime/arcane/modules/ArcaneNetworkPolicy.js",
|
|
237
|
+
"name": "ArcaneNetworkPolicy.js",
|
|
238
|
+
"kind": "esm",
|
|
239
|
+
"exports": [
|
|
240
|
+
"ARCANE_NETWORK_POLICY_SCHEMA_VERSION",
|
|
241
|
+
"ARCANE_NETWORK_POLICY_URL",
|
|
242
|
+
"canonicalNetworkHostname",
|
|
243
|
+
"emptyArcaneNetworkPolicy",
|
|
244
|
+
"findDeniedDomainRule",
|
|
245
|
+
"findDeniedNetworkRule",
|
|
246
|
+
"invalidateArcaneNetworkPolicyCache",
|
|
247
|
+
"loadArcaneNetworkPolicy",
|
|
248
|
+
"validateArcaneNetworkPolicy"
|
|
249
|
+
],
|
|
250
|
+
"summary": "Validates the Arcane domain/network deny policy and matches domain, IPv4/IPv6 CIDR, protocol, and port rules.",
|
|
251
|
+
"availability": "Cross-host",
|
|
252
|
+
"protocol": "Same-origin policy fetch",
|
|
253
|
+
"normalization": "Strict coded normalization.",
|
|
254
|
+
"surface": "Policy constants plus validate/load/cache/match helpers."
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"file": "runtime/arcane/modules/AsyncBoundary.js",
|
|
258
|
+
"name": "AsyncBoundary.js",
|
|
259
|
+
"kind": "esm",
|
|
260
|
+
"exports": [
|
|
261
|
+
"AsyncBoundaryAbortError",
|
|
262
|
+
"AsyncBoundaryTimeoutError",
|
|
263
|
+
"asyncBoundaryDefaults",
|
|
264
|
+
"default",
|
|
265
|
+
"runAsyncBoundary"
|
|
266
|
+
],
|
|
267
|
+
"summary": "Runs one asynchronous operation with timeout, abort, result validation, and stable boundary errors.",
|
|
268
|
+
"availability": "Cross-host",
|
|
269
|
+
"protocol": "AbortController and timers",
|
|
270
|
+
"normalization": "Fully normalized timeout/abort errors.",
|
|
271
|
+
"surface": "`AsyncBoundaryTimeoutError`, `AsyncBoundaryAbortError`, defaults, `runAsyncBoundary()`, and default alias."
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"file": "runtime/arcane/modules/BrowserTestSuite.js",
|
|
275
|
+
"name": "BrowserTestSuite.js",
|
|
276
|
+
"kind": "esm",
|
|
277
|
+
"exports": [
|
|
278
|
+
"BROWSER_TEST_SUITE_ERROR_CODES",
|
|
279
|
+
"BROWSER_TEST_SUITE_EVENT_TYPES",
|
|
280
|
+
"BROWSER_TEST_SUITE_REASONS",
|
|
281
|
+
"assertionError",
|
|
282
|
+
"default",
|
|
283
|
+
"skipError"
|
|
284
|
+
],
|
|
285
|
+
"summary": "Runs a complete sequential browser test list with explicit cancellation and full-detail lifecycle events.",
|
|
286
|
+
"availability": "Browser / standard Web APIs",
|
|
287
|
+
"protocol": "Explicit AbortSignal cancellation + per-realm globalThis.arcaneEvents authority",
|
|
288
|
+
"normalization": "Complete mutable descriptors, results, lifecycle events, and context; malformed result and skip/assertion errors remain normalized.",
|
|
289
|
+
"surface": "Event/error/reason constants; default `BrowserTestSuite`; `list()`, `run()`, and `dispose()`; state-free EventTarget/on compatibility for suite/test lifecycle occurrences."
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"file": "runtime/arcane/modules/CalculatorEngine.js",
|
|
293
|
+
"name": "CalculatorEngine.js",
|
|
294
|
+
"kind": "esm",
|
|
295
|
+
"exports": [
|
|
296
|
+
"CALCULATOR_ENGINE_ERROR_CODES",
|
|
297
|
+
"default",
|
|
298
|
+
"evaluateExpression"
|
|
299
|
+
],
|
|
300
|
+
"summary": "Evaluates complete arithmetic expressions, powers, constants, and common functions without `eval`.",
|
|
301
|
+
"availability": "Cross-host",
|
|
302
|
+
"protocol": "arcane-event-source/1 on the per-realm globalThis.arcaneEvents authority",
|
|
303
|
+
"normalization": "Mutable complete canonical result/error details, source-instance operation IDs, and exact parser/evaluation error codes.",
|
|
304
|
+
"surface": "CALCULATOR_ENGINE_ERROR_CODES; default CalculatorEngine with calculate() and dispose()/destroy(); evaluateExpression()."
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"file": "runtime/arcane/modules/ChartLibrary.js",
|
|
308
|
+
"name": "ChartLibrary.js",
|
|
309
|
+
"kind": "esm",
|
|
310
|
+
"exports": [
|
|
311
|
+
"default"
|
|
312
|
+
],
|
|
313
|
+
"summary": "Loads the bundled uPlot classic script once and returns its global constructor.",
|
|
314
|
+
"availability": "Browser / native WebView",
|
|
315
|
+
"protocol": "DOM script injection",
|
|
316
|
+
"normalization": "Load state/errors normalized; uPlot result is vendor-native.",
|
|
317
|
+
"surface": "default `loadChartLibrary()`."
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"file": "runtime/arcane/modules/ChatRecords.js",
|
|
321
|
+
"name": "ChatRecords.js",
|
|
322
|
+
"kind": "esm",
|
|
323
|
+
"exports": [
|
|
324
|
+
"hasConversationEntry",
|
|
325
|
+
"hasUserEntry",
|
|
326
|
+
"recurringChatMessages"
|
|
327
|
+
],
|
|
328
|
+
"summary": "Detects conversation entries and projects retained state into provider-safe recurring chat context.",
|
|
329
|
+
"availability": "Cross-host",
|
|
330
|
+
"protocol": "In-process only",
|
|
331
|
+
"normalization": "Boolean conversation-entry results and recurring provider context are normalized.",
|
|
332
|
+
"surface": "`hasUserEntry()`, `hasConversationEntry()`, and `recurringChatMessages(chat,{settleCompleteToolTail=false}={})`; the optional flag settles a completed restored tail that has no active provider continuation."
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"file": "runtime/arcane/modules/CommunicationAppController.js",
|
|
336
|
+
"name": "CommunicationAppController.js",
|
|
337
|
+
"kind": "esm",
|
|
338
|
+
"exports": [
|
|
339
|
+
"COMMUNICATION_APP_CONTROLLER_ERROR_CODES",
|
|
340
|
+
"default"
|
|
341
|
+
],
|
|
342
|
+
"summary": "Binds shared inbox, conversation, settings, theme, and provider workflows into one UI controller.",
|
|
343
|
+
"availability": "Browser / native WebView hybrid",
|
|
344
|
+
"protocol": "DOM plus communication providers",
|
|
345
|
+
"normalization": "Controller state normalized; provider/DOM failures mixed.",
|
|
346
|
+
"surface": "default controller with `start()`, `bind()`, `configure()`, `refresh()`, `select()`, `send()`, and settings actions."
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"file": "runtime/arcane/modules/CommunicationHub.js",
|
|
350
|
+
"name": "CommunicationHub.js",
|
|
351
|
+
"kind": "esm",
|
|
352
|
+
"exports": [
|
|
353
|
+
"COMMUNICATION_HUB_ERROR_CODES",
|
|
354
|
+
"COMMUNICATION_HUB_EVENTS",
|
|
355
|
+
"COMMUNICATION_HUB_REFRESH_REASONS",
|
|
356
|
+
"COMMUNICATION_HUB_REFRESH_STATES",
|
|
357
|
+
"default"
|
|
358
|
+
],
|
|
359
|
+
"summary": "Fans out provider refresh/send operations and aggregates normalized threads/messages.",
|
|
360
|
+
"availability": "Cross-host with injected providers",
|
|
361
|
+
"protocol": "Injected provider contract + per-realm globalThis.arcaneEvents authority",
|
|
362
|
+
"normalization": "Normalized aggregates; refresh contains per-provider failures.",
|
|
363
|
+
"surface": "Event/state/reason/error constants; default `CommunicationHub`; provider enablement, `refresh()`, `messages()`, `send()`, state-free EventTarget/on compatibility, and `dispose()`."
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"file": "runtime/arcane/modules/CommunicationPreferences.js",
|
|
367
|
+
"name": "CommunicationPreferences.js",
|
|
368
|
+
"kind": "esm",
|
|
369
|
+
"exports": [
|
|
370
|
+
"default"
|
|
371
|
+
],
|
|
372
|
+
"summary": "Stores app-scoped, non-secret communication provider preferences.",
|
|
373
|
+
"availability": "Browser / native WebView hybrid",
|
|
374
|
+
"protocol": "Arcane.preferences or localStorage",
|
|
375
|
+
"normalization": "Normalized preference record; storage failures mixed.",
|
|
376
|
+
"surface": "default `CommunicationPreferences`; `load()`, `save()`."
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"file": "runtime/arcane/modules/CommunicationProviderRegistry.js",
|
|
380
|
+
"name": "CommunicationProviderRegistry.js",
|
|
381
|
+
"kind": "esm",
|
|
382
|
+
"exports": [
|
|
383
|
+
"default"
|
|
384
|
+
],
|
|
385
|
+
"summary": "Registers and queries validated provider definitions, channels, and required methods.",
|
|
386
|
+
"availability": "Cross-host",
|
|
387
|
+
"protocol": "In-process only",
|
|
388
|
+
"normalization": "Strict normalized registry.",
|
|
389
|
+
"surface": "default registry with `register()`, `get()`, `has()`, `list()`."
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"file": "runtime/arcane/modules/ComponentContracts.js",
|
|
393
|
+
"name": "ComponentContracts.js",
|
|
394
|
+
"kind": "esm",
|
|
395
|
+
"exports": [
|
|
396
|
+
"CHART_LABELS",
|
|
397
|
+
"DASHBOARD_LABELS",
|
|
398
|
+
"MARKDOWN_FORMATS",
|
|
399
|
+
"MARKDOWN_LABELS",
|
|
400
|
+
"STT_ACTIVATION_ERROR_CODES",
|
|
401
|
+
"STT_ACTIVATION_EVENT_TYPES",
|
|
402
|
+
"STT_ACTIVATION_REASONS",
|
|
403
|
+
"VOICE_LABELS",
|
|
404
|
+
"VOICE_MESSAGES",
|
|
405
|
+
"appendTranscription",
|
|
406
|
+
"applyMarkdownFormat",
|
|
407
|
+
"createSTTActivationController",
|
|
408
|
+
"effectiveDashboardVisibility",
|
|
409
|
+
"formatAIRuntimeProgress",
|
|
410
|
+
"normalizeChartOptions",
|
|
411
|
+
"normalizeChartRows",
|
|
412
|
+
"normalizeDashboardDefinitions",
|
|
413
|
+
"normalizeDashboardOptions",
|
|
414
|
+
"normalizeDashboardVisibility",
|
|
415
|
+
"normalizeMarkdownFormats",
|
|
416
|
+
"normalizeMarkdownOptions",
|
|
417
|
+
"normalizeVoiceOptions"
|
|
418
|
+
],
|
|
419
|
+
"summary": "Owns normalized configuration/value contracts and shared explicit STT activation behavior for chart, dashboard, Markdown, and voice components.",
|
|
420
|
+
"availability": "Cross-host with an injected event constructor outside DOM hosts",
|
|
421
|
+
"protocol": "In-process only",
|
|
422
|
+
"normalization": "Fully normalized labels, rows, definitions, visibility, formats, editor and voice options, plus capability-neutral STT activation intent and presentation state. Complete finite progress measures remain visible, including fractional and over-total values.",
|
|
423
|
+
"surface": "Constant sets plus normalization, complete finite-progress formatting, and explicit STT activation helpers."
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"file": "runtime/arcane/modules/ConfiguredAIChatSession.js",
|
|
427
|
+
"name": "ConfiguredAIChatSession.js",
|
|
428
|
+
"kind": "esm",
|
|
429
|
+
"exports": [
|
|
430
|
+
"normalizeStructuralToolCall",
|
|
431
|
+
"default"
|
|
432
|
+
],
|
|
433
|
+
"summary": "Owns complete ordinary visible recurring AI turns, one active structural continuation, context construction, provider response preservation, and atomic history commit.",
|
|
434
|
+
"availability": "Native bridge by default; cross-host with injected chat",
|
|
435
|
+
"protocol": "Arcane.ai.chat or injected provider",
|
|
436
|
+
"normalization": "Complete mutable session/result; declarations and emitted calls require nonempty user-facing arguments.message; ordered parallel calls and their exact IDs/names/arguments/extensions remain raw only through the active matching tool continuation, then settled recurrence becomes complete ordinary visible content; one atomic result batch must settle every pending ID; per-turn request options cannot replace session-owned messages or signal; persisted sequencing has stable coded failures; and provider rejection remains visible.",
|
|
437
|
+
"surface": "default `ConfiguredAIChatSession`, named `normalizeStructuralToolCall`; constructor accepts complete initial messages and one unresolved ordered structural-call tail; history/clear/prepare/send; per-turn request overrides preserve session-owned messages/signal; every pending ID requires exactly one matching nonblank role=tool result in the same request batch; settled raw protocol does not recur."
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"file": "runtime/arcane/modules/ConversationActionItems.js",
|
|
441
|
+
"name": "ConversationActionItems.js",
|
|
442
|
+
"kind": "esm",
|
|
443
|
+
"exports": [
|
|
444
|
+
"CONVERSATION_ACTION_ITEM_BASES",
|
|
445
|
+
"CONVERSATION_ACTION_ITEM_PRESENTATION_COOLDOWN_MS",
|
|
446
|
+
"CONVERSATION_ACTION_ITEM_STATUSES",
|
|
447
|
+
"conversationActionItemsInstruction",
|
|
448
|
+
"createConversationActionItem",
|
|
449
|
+
"formatConversationActionItemCheckIn",
|
|
450
|
+
"markConversationActionItemsPresented",
|
|
451
|
+
"normalizeConversationActionItem",
|
|
452
|
+
"normalizeConversationActionItems",
|
|
453
|
+
"normalizeRememberedConversationActions",
|
|
454
|
+
"outstandingConversationActionItems",
|
|
455
|
+
"rememberConversationActionItems",
|
|
456
|
+
"removeConversationActionItem",
|
|
457
|
+
"selectConversationActionItemsForPresentation",
|
|
458
|
+
"updateConversationActionItem"
|
|
459
|
+
],
|
|
460
|
+
"summary": "Normalizes, creates, updates, remembers, selects, and formats complete conversation action items.",
|
|
461
|
+
"availability": "Cross-host",
|
|
462
|
+
"protocol": "In-process only",
|
|
463
|
+
"normalization": "Fully normalized status/base/presentation contract.",
|
|
464
|
+
"surface": "Action-item constants and lifecycle/formatting helpers."
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"file": "runtime/arcane/modules/ConversationClosingReport.js",
|
|
468
|
+
"name": "ConversationClosingReport.js",
|
|
469
|
+
"kind": "esm",
|
|
470
|
+
"exports": [
|
|
471
|
+
"CONVERSATION_CLOSING_REPORT_TOOL_NAME",
|
|
472
|
+
"classifyConversationClosingReportCalls",
|
|
473
|
+
"conversationClosingReportInstruction",
|
|
474
|
+
"createConversationClosingReportTool",
|
|
475
|
+
"formatConversationClosingReport",
|
|
476
|
+
"normalizeConversationClosingReport"
|
|
477
|
+
],
|
|
478
|
+
"summary": "Defines the closing-report tool, instruction, result normalizer, call classifier, and formatter.",
|
|
479
|
+
"availability": "Cross-host",
|
|
480
|
+
"protocol": "In-process only",
|
|
481
|
+
"normalization": "Required user-facing message remains distinct from the complete final_message; normalized results expose message, finalMessage, and rememberedActions.",
|
|
482
|
+
"surface": "Six constants/helpers for closing reports; the sole-call schema requires message and final_message."
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"file": "runtime/arcane/modules/ConversationTimebox.js",
|
|
486
|
+
"name": "ConversationTimebox.js",
|
|
487
|
+
"kind": "esm",
|
|
488
|
+
"exports": [
|
|
489
|
+
"CONVERSATION_TIMEBOX_ERROR_CODES",
|
|
490
|
+
"CONVERSATION_TIMEBOX_EVENT_TYPES",
|
|
491
|
+
"CONVERSATION_TIMEBOX_LIMIT_MESSAGE",
|
|
492
|
+
"CONVERSATION_TIMEBOX_OPENING_INSTRUCTION",
|
|
493
|
+
"CONVERSATION_TIMEBOX_REASONS",
|
|
494
|
+
"CONVERSATION_TIMEBOX_TOOL_NAME",
|
|
495
|
+
"ConversationSubmissionBarrier",
|
|
496
|
+
"appendConversationTimeboxOpeningInstruction",
|
|
497
|
+
"consumeConversationTimeboxCall",
|
|
498
|
+
"conversationTimeboxSubmissionKey",
|
|
499
|
+
"conversationTimeboxTool",
|
|
500
|
+
"createConversationTimeboxControlMessage",
|
|
501
|
+
"default",
|
|
502
|
+
"formatConversationElapsed",
|
|
503
|
+
"normalizeConversationTimeboxCommand",
|
|
504
|
+
"requireConversationTimeboxDelivery"
|
|
505
|
+
],
|
|
506
|
+
"summary": "Owns conversation limits, control messages, submission barriers, elapsed formatting, and delivery proof.",
|
|
507
|
+
"availability": "Cross-host",
|
|
508
|
+
"protocol": "Clock/timers, callbacks, and per-realm globalThis.arcaneEvents authority",
|
|
509
|
+
"normalization": "State/command/delivery errors plus exact required user-facing message are normalized.",
|
|
510
|
+
"surface": "Event/error/reason constants; default `ConversationTimebox`, `ConversationSubmissionBarrier`, control constants/helpers, required message tool schema, state-free on/addEventListener compatibility, and `dispose()`."
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"file": "runtime/arcane/modules/CoreLocalModelCatalog.js",
|
|
514
|
+
"name": "CoreLocalModelCatalog.js",
|
|
515
|
+
"kind": "esm",
|
|
516
|
+
"exports": [
|
|
517
|
+
"USER_MANAGED_LOOPBACK_PROVIDER_MODE",
|
|
518
|
+
"getCoreLocalModelCatalog",
|
|
519
|
+
"getCoreLocalModelCatalogWithAdmissionFailures",
|
|
520
|
+
"getCoreLocalSpeechAvailability",
|
|
521
|
+
"isUserManagedLoopbackLocalAIStatus"
|
|
522
|
+
],
|
|
523
|
+
"summary": "Projects Core local-AI status into UI-safe admitted model and speech availability catalogs.",
|
|
524
|
+
"availability": "Cross-host",
|
|
525
|
+
"protocol": "In-process projection of Core status",
|
|
526
|
+
"normalization": "Fully normalized descriptors and stable admission labels.",
|
|
527
|
+
"surface": "Provider-mode constant and four catalog/availability helpers."
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"file": "runtime/arcane/modules/DataMaintenance.js",
|
|
531
|
+
"name": "DataMaintenance.js",
|
|
532
|
+
"kind": "esm",
|
|
533
|
+
"exports": [
|
|
534
|
+
"clearEmptyChatsAndMemories",
|
|
535
|
+
"hasConversationEntry",
|
|
536
|
+
"hasMemoryContent",
|
|
537
|
+
"hasUserEntry"
|
|
538
|
+
],
|
|
539
|
+
"summary": "Deletes empty chats and associated/empty memory records inside the current app data scope.",
|
|
540
|
+
"availability": "Browser / native WebView",
|
|
541
|
+
"protocol": "Global DBOPFS",
|
|
542
|
+
"normalization": "Normalized counts; destructive storage failures preserved.",
|
|
543
|
+
"surface": "`clearEmptyChatsAndMemories()` plus content predicates."
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"file": "runtime/arcane/modules/DBLS.js",
|
|
547
|
+
"name": "DBLS.js",
|
|
548
|
+
"kind": "esm",
|
|
549
|
+
"exports": [
|
|
550
|
+
"DBLS_EVENT_TYPES",
|
|
551
|
+
"DBLS_REASONS",
|
|
552
|
+
"default"
|
|
553
|
+
],
|
|
554
|
+
"summary": "Provides app-scoped localStorage tables, batch reads/writes, filtering, deletion, and counts.",
|
|
555
|
+
"availability": "Browser / native WebView",
|
|
556
|
+
"protocol": "localStorage + AppDataScope + per-realm globalThis.arcaneEvents authority",
|
|
557
|
+
"normalization": "Scoped keys and values normalized; storage failures mixed.",
|
|
558
|
+
"surface": "default `DBLS`; installs `window.dbls`, emits `dbls-ready`; CRUD/batch/key APIs."
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"file": "runtime/arcane/modules/DBOPFS.js",
|
|
562
|
+
"name": "DBOPFS.js",
|
|
563
|
+
"kind": "esm",
|
|
564
|
+
"exports": [
|
|
565
|
+
"DBOPFS_EVENT_TYPES",
|
|
566
|
+
"DBOPFS_REASONS",
|
|
567
|
+
"default"
|
|
568
|
+
],
|
|
569
|
+
"summary": "Provides app-scoped OPFS tables, worker I/O, backup/restore, compression, and CRUD/batch APIs.",
|
|
570
|
+
"availability": "Browser / native WebView",
|
|
571
|
+
"protocol": "OPFS, DBOPFSWorker, Compression Streams, and per-realm globalThis.arcaneEvents authority",
|
|
572
|
+
"normalization": "App scope and recognized file parsing are normalized; nonblank unreadable JSONL rows remain complete raw strings, and DOM/storage errors are preserved.",
|
|
573
|
+
"surface": "default `DBOPFS`; installs `window.dbopfs`, emits `dbopfs-ready`; table/file/backup APIs."
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"file": "runtime/arcane/modules/DBOPFSDocumentLibrary.js",
|
|
577
|
+
"name": "DBOPFSDocumentLibrary.js",
|
|
578
|
+
"kind": "esm",
|
|
579
|
+
"exports": [
|
|
580
|
+
"DBOPFSDocumentLibrary",
|
|
581
|
+
"createDBOPFSDocumentLibrary",
|
|
582
|
+
"default",
|
|
583
|
+
"normalizeDBOPFSDocumentSchema"
|
|
584
|
+
],
|
|
585
|
+
"summary": "Application-defined complete document corpus bootstrap, caller-source evaluation, atomic DBOPFS generations, lexical search, and request-context construction.",
|
|
586
|
+
"availability": "Browser or compatible host with an existing DBOPFS-style database adapter",
|
|
587
|
+
"protocol": "Existing DBOPFS get/set/getAllKeys/delete methods; no new storage protocol",
|
|
588
|
+
"normalization": "Preserves DBOPFS method semantics, commits a completion manifest last, rejects malformed stored generations, exposes explicit reject or default preserve-readable read-failure policy, and returns complete mutable context.",
|
|
589
|
+
"surface": "`DBOPFSDocumentLibrary`, `createDBOPFSDocumentLibrary()`, `normalizeDBOPFSDocumentSchema()`; `schema`, `bootstrap()`, `search()`, `evaluate()`, `buildContext()`, and `createContextBuilder()`."
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"file": "runtime/arcane/modules/DBOPFSWorker.js",
|
|
593
|
+
"name": "DBOPFSWorker.js",
|
|
594
|
+
"kind": "worker",
|
|
595
|
+
"exports": [],
|
|
596
|
+
"summary": "Serializes OPFS sync-handle read/write requests from a MessagePort.",
|
|
597
|
+
"availability": "Dedicated worker",
|
|
598
|
+
"protocol": "MessageChannel + OPFS sync access handle",
|
|
599
|
+
"normalization": "Responses normalize to `{success,fileData?}` or `{error:{name,message}}`.",
|
|
600
|
+
"surface": "No ESM exports; accepts `read` and `write` port requests."
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"file": "runtime/arcane/modules/DevelopmentWorkspace.js",
|
|
604
|
+
"name": "DevelopmentWorkspace.js",
|
|
605
|
+
"kind": "esm",
|
|
606
|
+
"exports": [
|
|
607
|
+
"contextQuery",
|
|
608
|
+
"default",
|
|
609
|
+
"setupTaskId",
|
|
610
|
+
"workspaceRoot"
|
|
611
|
+
],
|
|
612
|
+
"summary": "Provides complete workspace inspection, context, setup task, and Node installer clients without arbitrary command execution.",
|
|
613
|
+
"availability": "Native bridge",
|
|
614
|
+
"protocol": "Arcane.development",
|
|
615
|
+
"normalization": "Complete plain-text inputs and provider result/error preserved.",
|
|
616
|
+
"surface": "default `DevelopmentWorkspace` and input validators; `inspect()`, `context()`, `setup()`, `installNode()`."
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"file": "runtime/arcane/modules/DirectoryPicker.js",
|
|
620
|
+
"name": "DirectoryPicker.js",
|
|
621
|
+
"kind": "esm",
|
|
622
|
+
"exports": [
|
|
623
|
+
"default",
|
|
624
|
+
"normalizeDirectoryPickerOptions",
|
|
625
|
+
"normalizeDirectorySelection"
|
|
626
|
+
],
|
|
627
|
+
"summary": "Wraps the provider-owned native directory chooser and normalizes selected/cancelled/error results.",
|
|
628
|
+
"availability": "Native bridge",
|
|
629
|
+
"protocol": "Arcane.filesystem.selectDirectory",
|
|
630
|
+
"normalization": "Complete mutable caller options and provider result fields; coded cancellation and malformed-result errors.",
|
|
631
|
+
"surface": "default `DirectoryPicker`, `normalizeDirectoryPickerOptions()`, `normalizeDirectorySelection()`."
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"file": "runtime/arcane/modules/DocumentLexicalSearch.js",
|
|
635
|
+
"name": "DocumentLexicalSearch.js",
|
|
636
|
+
"kind": "esm",
|
|
637
|
+
"exports": [
|
|
638
|
+
"DOCUMENT_SEARCH_FIELD_ORDER",
|
|
639
|
+
"DocumentLexicalSearch",
|
|
640
|
+
"createDocumentLexicalIndex",
|
|
641
|
+
"default",
|
|
642
|
+
"documentContextExcerpt",
|
|
643
|
+
"documentSearchTokens",
|
|
644
|
+
"normalizedDocumentSearchText",
|
|
645
|
+
"scoreDocumentBody",
|
|
646
|
+
"scoreDocumentLexicalIndex"
|
|
647
|
+
],
|
|
648
|
+
"summary": "Dependency-free deterministic document indexing, complete ranked metadata/body search, complete excerpts, and stable tie-breaking.",
|
|
649
|
+
"availability": "Cross-host in-process only",
|
|
650
|
+
"protocol": "In-process mutable record contract",
|
|
651
|
+
"normalization": "Normalizes text and filters, preserves deterministic field priority, and returns complete mutable results without network, storage, or provider side effects.",
|
|
652
|
+
"surface": "Search-field constant; `DocumentLexicalSearch`; index/token/score/excerpt helpers; complete `rank()` and `search()`."
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"file": "runtime/arcane/modules/DocumentNavigation.js",
|
|
656
|
+
"name": "DocumentNavigation.js",
|
|
657
|
+
"kind": "esm",
|
|
658
|
+
"exports": [
|
|
659
|
+
"applyDocumentNavigationFilter",
|
|
660
|
+
"bindDocumentNavigation",
|
|
661
|
+
"clearDocumentNavigationFilter",
|
|
662
|
+
"initializeDocumentNavigation",
|
|
663
|
+
"revealCurrentDocumentNavigationItem"
|
|
664
|
+
],
|
|
665
|
+
"summary": "Binds document navigation, filtering, history, current-item reveal, and load initialization.",
|
|
666
|
+
"availability": "Browser / native WebView",
|
|
667
|
+
"protocol": "DOM and history",
|
|
668
|
+
"normalization": "Normalized filter/navigation state; DOM effects preserved.",
|
|
669
|
+
"surface": "Five binding/filter/reveal helpers."
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"file": "runtime/arcane/modules/Errors.js",
|
|
673
|
+
"name": "Errors.js",
|
|
674
|
+
"kind": "esm",
|
|
675
|
+
"exports": [
|
|
676
|
+
"GLOBAL_ERROR_EVENT_CODES",
|
|
677
|
+
"GLOBAL_ERROR_EVENT_TYPES",
|
|
678
|
+
"GLOBAL_ERROR_REASONS",
|
|
679
|
+
"default",
|
|
680
|
+
"normalizeErrorEvent",
|
|
681
|
+
"normalizeRejectionEvent"
|
|
682
|
+
],
|
|
683
|
+
"summary": "Normalizes global errors/rejections, assigns occurrence identifiers, persists a ledger, and performs bounded delivery.",
|
|
684
|
+
"availability": "Browser / native WebView hybrid",
|
|
685
|
+
"protocol": "Window error input, DBOPFS, Mail, and per-realm globalThis.arcaneEvents authority",
|
|
686
|
+
"normalization": "Incident records normalized; storage/mail failures isolated.",
|
|
687
|
+
"surface": "Global error event/code/reason constants; default `Errors`; event normalizers plus lifecycle, capture, delivery, state-free compatibility observation, and teardown methods."
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"file": "runtime/arcane/modules/GifEncoder.js",
|
|
691
|
+
"name": "GifEncoder.js",
|
|
692
|
+
"kind": "esm",
|
|
693
|
+
"exports": [
|
|
694
|
+
"default",
|
|
695
|
+
"indexPixels",
|
|
696
|
+
"lzw"
|
|
697
|
+
],
|
|
698
|
+
"summary": "Encodes indexed frames into a bounded animated GIF using palette mapping and LZW.",
|
|
699
|
+
"availability": "Cross-host",
|
|
700
|
+
"protocol": "In-process only",
|
|
701
|
+
"normalization": "Normalized byte output and bounds.",
|
|
702
|
+
"surface": "default `GifEncoder`, `indexPixels()`, `lzw()`."
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"file": "runtime/arcane/modules/HTMLImport.js",
|
|
706
|
+
"name": "HTMLImport.js",
|
|
707
|
+
"kind": "esm",
|
|
708
|
+
"exports": [
|
|
709
|
+
"default"
|
|
710
|
+
],
|
|
711
|
+
"summary": "Defines the same-origin `<html-import>` loader with open shadow root, inline script execution, and readiness/error events.",
|
|
712
|
+
"availability": "Browser / native WebView",
|
|
713
|
+
"protocol": "Same-origin fetch + DOM",
|
|
714
|
+
"normalization": "Public error detail normalized; fetch/DOM failure preserved.",
|
|
715
|
+
"surface": "default `HTMLImport`; registers `html-import`; `connectedCallback()` and `ready`."
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"file": "runtime/arcane/modules/InMemoryCommunicationProvider.js",
|
|
719
|
+
"name": "InMemoryCommunicationProvider.js",
|
|
720
|
+
"kind": "esm",
|
|
721
|
+
"exports": [
|
|
722
|
+
"default"
|
|
723
|
+
],
|
|
724
|
+
"summary": "Implements deterministic in-memory thread/message/send behavior for demos and tests.",
|
|
725
|
+
"availability": "Cross-host",
|
|
726
|
+
"protocol": "In-process only",
|
|
727
|
+
"normalization": "Normalized communication entities.",
|
|
728
|
+
"surface": "default provider with `listThreads()`, `getMessages()`, `send()`."
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"file": "runtime/arcane/modules/IsolatedModelQuestionRunner.js",
|
|
732
|
+
"name": "IsolatedModelQuestionRunner.js",
|
|
733
|
+
"kind": "esm",
|
|
734
|
+
"exports": [
|
|
735
|
+
"IsolatedModelQuestionRunner",
|
|
736
|
+
"countSentences",
|
|
737
|
+
"default"
|
|
738
|
+
],
|
|
739
|
+
"summary": "Inspects one exact model and runs one isolated question while preserving complete results.",
|
|
740
|
+
"availability": "Native bridge or injected provider",
|
|
741
|
+
"protocol": "localAI isolated-model methods",
|
|
742
|
+
"normalization": "Complete inspection/question forwarding, complete provider results, informative sentence counts, and coded malformed-result errors are normalized.",
|
|
743
|
+
"surface": "default/named runner, `countSentences()`, `inspectModel()`, `runQuestion()`."
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"file": "runtime/arcane/modules/LocalAIReadiness.js",
|
|
747
|
+
"name": "LocalAIReadiness.js",
|
|
748
|
+
"kind": "esm",
|
|
749
|
+
"exports": [
|
|
750
|
+
"LOCAL_AI_BROWSER_ENDPOINTS",
|
|
751
|
+
"checkLocalAIReadiness",
|
|
752
|
+
"deriveLocalAIRequirements",
|
|
753
|
+
"evaluateLocalSpeechHealth"
|
|
754
|
+
],
|
|
755
|
+
"summary": "Derives selected AI requirements and returns a complete readiness/recovery report across browser, desktop, and Android modes.",
|
|
756
|
+
"availability": "Browser/native hybrid",
|
|
757
|
+
"protocol": "Arcane.localAI, Arcane.speech, complete browser speech health",
|
|
758
|
+
"normalization": "Fully normalized report and stable error codes; browsers never probe Ollama.",
|
|
759
|
+
"surface": "Endpoint constant plus requirements, speech-health, and readiness helpers."
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"file": "runtime/arcane/modules/LocalAIReadinessController.js",
|
|
763
|
+
"name": "LocalAIReadinessController.js",
|
|
764
|
+
"kind": "esm",
|
|
765
|
+
"exports": [
|
|
766
|
+
"LOCAL_AI_READINESS_CONTROLLER_ERROR_CODES",
|
|
767
|
+
"LOCAL_AI_READINESS_CONTROLLER_EVENT_TYPES",
|
|
768
|
+
"LOCAL_AI_READINESS_CONTROLLER_REASONS",
|
|
769
|
+
"availabilityFromReport",
|
|
770
|
+
"createLocalAIReadinessController"
|
|
771
|
+
],
|
|
772
|
+
"summary": "Coordinates local-AI status component checks, ensured recovery, availability projection, and teardown.",
|
|
773
|
+
"availability": "Browser/native hybrid",
|
|
774
|
+
"protocol": "LocalAIReadiness + per-realm globalThis.arcaneEvents authority + one-way component projections",
|
|
775
|
+
"normalization": "Normalized controller state and change events.",
|
|
776
|
+
"surface": "Event/error/reason constants, `createLocalAIReadinessController()`, and `availabilityFromReport()`; returned controller owns abort, refresh/ensure, subscription, and `destroy()` cleanup."
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"file": "runtime/arcane/modules/Mail.js",
|
|
780
|
+
"name": "Mail.js",
|
|
781
|
+
"kind": "esm",
|
|
782
|
+
"exports": [
|
|
783
|
+
"default",
|
|
784
|
+
"resolveMailConfig"
|
|
785
|
+
],
|
|
786
|
+
"summary": "Builds complete reports and prefers the native mail capability with an explicit HTTP transport fallback.",
|
|
787
|
+
"availability": "Browser/native hybrid + cloud",
|
|
788
|
+
"protocol": "Arcane.mail.send or MailTransport HTTP(S)",
|
|
789
|
+
"normalization": "Mail inputs/results normalized; transport failures mixed.",
|
|
790
|
+
"surface": "default `Mail`, `resolveMailConfig()`; installs `window.mail`; `send()`."
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"file": "runtime/arcane/modules/MailOutbox.mjs",
|
|
794
|
+
"name": "MailOutbox.mjs",
|
|
795
|
+
"kind": "esm",
|
|
796
|
+
"exports": [
|
|
797
|
+
"MAIL_OUTBOX_IDEMPOTENCY_WINDOW_MS",
|
|
798
|
+
"MAIL_OUTBOX_PROTOCOL",
|
|
799
|
+
"MAIL_OUTBOX_STATES",
|
|
800
|
+
"MAIL_OUTBOX_TABLE",
|
|
801
|
+
"MailOutbox",
|
|
802
|
+
"createMailOutbox",
|
|
803
|
+
"default"
|
|
804
|
+
],
|
|
805
|
+
"summary": "Persists complete mail reports before delivery and normalizes idempotent enqueue, retry, reconciliation, and invalid-record maintenance.",
|
|
806
|
+
"availability": "Browser/native WebView or compatible injected host with durable storage, Web Locks, and a delivery function",
|
|
807
|
+
"protocol": "arcane-mail-outbox/1 + injected durable storage + Web Locks + AbortSignal + online EventTarget",
|
|
808
|
+
"normalization": "Complete records, idempotency and retry/reconciliation state, full drains/inventory, cancellation, and invalid-record maintenance are normalized; storage, lock, and delivery failures are coded.",
|
|
809
|
+
"surface": "Protocol/table/window/state constants; `MailOutbox`, factory/default; read-only lifecycle diagnostics; record inspection and maintenance; enqueue, drain, start, and stop."
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"file": "runtime/arcane/modules/MailTransport.mjs",
|
|
813
|
+
"name": "MailTransport.mjs",
|
|
814
|
+
"kind": "esm",
|
|
815
|
+
"exports": [
|
|
816
|
+
"MailTransportError",
|
|
817
|
+
"normalizeMailEndpoint",
|
|
818
|
+
"serializeMailReport",
|
|
819
|
+
"sendMailReport"
|
|
820
|
+
],
|
|
821
|
+
"summary": "Sends one complete mail report to a normalized HTTP(S) endpoint with timeout and complete response handling.",
|
|
822
|
+
"availability": "Browser/server with fetch + cloud",
|
|
823
|
+
"protocol": "HTTP(S) fetch + AbortController",
|
|
824
|
+
"normalization": "Endpoint, timeout, cancellation, network, HTTP, and response-contract errors are normalized.",
|
|
825
|
+
"surface": "`MailTransportError`, `normalizeMailEndpoint()`, `serializeMailReport()`, and `sendMailReport()`."
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"file": "runtime/arcane/modules/Marked.min.js",
|
|
829
|
+
"name": "Marked.min.js",
|
|
830
|
+
"kind": "esm",
|
|
831
|
+
"exports": [
|
|
832
|
+
"Hooks",
|
|
833
|
+
"Lexer",
|
|
834
|
+
"Marked",
|
|
835
|
+
"Parser",
|
|
836
|
+
"Renderer",
|
|
837
|
+
"TextRenderer",
|
|
838
|
+
"Tokenizer",
|
|
839
|
+
"defaults",
|
|
840
|
+
"getDefaults",
|
|
841
|
+
"lexer",
|
|
842
|
+
"marked",
|
|
843
|
+
"options",
|
|
844
|
+
"parse",
|
|
845
|
+
"parseInline",
|
|
846
|
+
"parser",
|
|
847
|
+
"setOptions",
|
|
848
|
+
"use",
|
|
849
|
+
"walkTokens"
|
|
850
|
+
],
|
|
851
|
+
"summary": "Vendored Marked 18.0.5 Markdown lexer, parser, renderer, extension, and walk-token API.",
|
|
852
|
+
"availability": "Cross-host vendor module",
|
|
853
|
+
"protocol": "In-process only",
|
|
854
|
+
"normalization": "Vendor-native Marked contract.",
|
|
855
|
+
"surface": "Twenty named/default-style Marked exports; see bundled license notice."
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"file": "runtime/arcane/modules/MD.js",
|
|
859
|
+
"name": "MD.js",
|
|
860
|
+
"kind": "esm",
|
|
861
|
+
"exports": [
|
|
862
|
+
"default"
|
|
863
|
+
],
|
|
864
|
+
"summary": "Renders complete Markdown with Marked and exposes the complete rendered markup.",
|
|
865
|
+
"availability": "Browser / native WebView",
|
|
866
|
+
"protocol": "Marked",
|
|
867
|
+
"normalization": "Complete raw and rendered Marked values; parse errors remain vendor-native.",
|
|
868
|
+
"surface": "default `MD`; `raw`, `rendered`, `safeRendered`, `append()`."
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"file": "runtime/arcane/modules/MemoryRecords.js",
|
|
872
|
+
"name": "MemoryRecords.js",
|
|
873
|
+
"kind": "esm",
|
|
874
|
+
"exports": [
|
|
875
|
+
"hasMemoryContent",
|
|
876
|
+
"normalizeMemoryContent"
|
|
877
|
+
],
|
|
878
|
+
"summary": "Normalizes memory content and detects meaningful stored memory.",
|
|
879
|
+
"availability": "Cross-host",
|
|
880
|
+
"protocol": "In-process only",
|
|
881
|
+
"normalization": "Fully normalized string/boolean results.",
|
|
882
|
+
"surface": "`normalizeMemoryContent()`, `hasMemoryContent()`."
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"file": "runtime/arcane/modules/MessageAdvisory.js",
|
|
886
|
+
"name": "MessageAdvisory.js",
|
|
887
|
+
"kind": "esm",
|
|
888
|
+
"exports": [
|
|
889
|
+
"inspectMessageRecords",
|
|
890
|
+
"normalizeContentAdvisory",
|
|
891
|
+
"unavailableMessageInspection"
|
|
892
|
+
],
|
|
893
|
+
"summary": "Normalizes message content advisories and contains per-message inspection failures.",
|
|
894
|
+
"availability": "Cross-host",
|
|
895
|
+
"protocol": "Injected inspector",
|
|
896
|
+
"normalization": "Complete mutable advisory records preserve all supplied text and signals; inspector failures become unavailable results.",
|
|
897
|
+
"surface": "Three advisory/inspection helpers."
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"file": "runtime/arcane/modules/ModelDefinition.js",
|
|
901
|
+
"name": "ModelDefinition.js",
|
|
902
|
+
"kind": "esm",
|
|
903
|
+
"exports": [
|
|
904
|
+
"loadModelDefinitionSystemPrompt",
|
|
905
|
+
"parseModelDefinition"
|
|
906
|
+
],
|
|
907
|
+
"summary": "Parses the deterministic packaged Modelfile subset and extracts the SYSTEM prompt.",
|
|
908
|
+
"availability": "Cross-host",
|
|
909
|
+
"protocol": "Optional ordinary read-only fetch",
|
|
910
|
+
"normalization": "Complete mutable definition data with coded syntax errors for malformed input.",
|
|
911
|
+
"surface": "`parseModelDefinition()`, `loadModelDefinitionSystemPrompt()`."
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"file": "runtime/arcane/modules/Ollama.js",
|
|
915
|
+
"name": "Ollama.js",
|
|
916
|
+
"kind": "esm",
|
|
917
|
+
"exports": [
|
|
918
|
+
"OLLAMA_EVENT_TYPES",
|
|
919
|
+
"OLLAMA_REASONS",
|
|
920
|
+
"Ollama",
|
|
921
|
+
"default",
|
|
922
|
+
"ollama"
|
|
923
|
+
],
|
|
924
|
+
"summary": "Provides the first-class Arcane Ollama client without direct access to localhost:11434.",
|
|
925
|
+
"availability": "Native bridge",
|
|
926
|
+
"protocol": "Arcane.ollama through Core + per-realm globalThis.arcaneEvents authority",
|
|
927
|
+
"normalization": "Principal methods preserve provider-native envelopes; readiness/text/unload helpers normalize.",
|
|
928
|
+
"surface": "`Ollama`, singleton/default `ollama`; 24 methods; installs `globalThis.arcaneOllama`, emits `arcane-ollama-ready`."
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"file": "runtime/arcane/modules/OllamaModelIdentifier.js",
|
|
932
|
+
"name": "OllamaModelIdentifier.js",
|
|
933
|
+
"kind": "esm",
|
|
934
|
+
"exports": [
|
|
935
|
+
"isOllamaModelIdentifier",
|
|
936
|
+
"normalizeOllamaModelIdentifier"
|
|
937
|
+
],
|
|
938
|
+
"summary": "Validates and canonicalizes the syntax of Ollama model identifiers without granting model admission.",
|
|
939
|
+
"availability": "Cross-host",
|
|
940
|
+
"protocol": "In-process only",
|
|
941
|
+
"normalization": "Fully normalized string/boolean result.",
|
|
942
|
+
"surface": "`normalizeOllamaModelIdentifier()`, `isOllamaModelIdentifier()`."
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"file": "runtime/arcane/modules/OllamaSettings.js",
|
|
946
|
+
"name": "OllamaSettings.js",
|
|
947
|
+
"kind": "esm",
|
|
948
|
+
"exports": [
|
|
949
|
+
"arcaneBrainModelName",
|
|
950
|
+
"ollamaRuntimeSchema",
|
|
951
|
+
"ollamaServiceSchema"
|
|
952
|
+
],
|
|
953
|
+
"summary": "Defines bounded runtime/service preference schemas and deterministic Arcane brain alias names.",
|
|
954
|
+
"availability": "Cross-host",
|
|
955
|
+
"protocol": "In-process only",
|
|
956
|
+
"normalization": "Fully normalized settings/name contract.",
|
|
957
|
+
"surface": "`ollamaRuntimeSchema`, `ollamaServiceSchema`, `arcaneBrainModelName()`."
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"file": "runtime/arcane/modules/OpenMeteoWeatherProvider.js",
|
|
961
|
+
"name": "OpenMeteoWeatherProvider.js",
|
|
962
|
+
"kind": "esm",
|
|
963
|
+
"exports": [
|
|
964
|
+
"OPEN_METEO_ENDPOINTS",
|
|
965
|
+
"OPEN_METEO_WEATHER_ERRORS",
|
|
966
|
+
"OPEN_METEO_WEATHER_EVENTS",
|
|
967
|
+
"default",
|
|
968
|
+
"mapForecast"
|
|
969
|
+
],
|
|
970
|
+
"summary": "Searches and loads Open-Meteo data into complete mutable Arcane weather entities.",
|
|
971
|
+
"availability": "Browser / native WebView / server with fetch + cloud",
|
|
972
|
+
"protocol": "Open-Meteo HTTPS + per-realm globalThis.arcaneEvents authority",
|
|
973
|
+
"normalization": "Provider data normalized to entities; transport errors mixed.",
|
|
974
|
+
"surface": "Endpoint/event/error constants, default provider, `mapForecast()`; search/load methods, state-free EventTarget/on lifecycle compatibility, and `dispose()`."
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"file": "runtime/arcane/modules/PersistentAIChatSession.js",
|
|
978
|
+
"name": "PersistentAIChatSession.js",
|
|
979
|
+
"kind": "esm",
|
|
980
|
+
"exports": [
|
|
981
|
+
"PersistentAIChatSession",
|
|
982
|
+
"createPersistentAIChatSession",
|
|
983
|
+
"default"
|
|
984
|
+
],
|
|
985
|
+
"summary": "Composes complete configured chat with an existing ChatEntity so each user, assistant, and structural tool turn has an explicit persistence and transport policy.",
|
|
986
|
+
"availability": "Browser or native WebView with the projected ChatEntity, DBOPFS, and a configured chat function or normalized Arcane.ai surface",
|
|
987
|
+
"protocol": "Existing ChatEntity/DBOPFS methods plus provider-neutral chat request/result records",
|
|
988
|
+
"normalization": "Preserves complete ordinary visible recurring provider history, one active raw structural continuation, every sanitized timestamped transcript record, and arbitrary nonempty caller-owned chat file names; commits live context atomically; falls back from optional streaming to configured non-stream transport; carries per-turn generation options while owning lifecycle callbacks; exposes complete data callbacks; accepts terminal-only structural calls; correlates every observed per-choice call against the exact validated terminal envelope before callback/persistence; atomically settles every pending ID once; and keeps malformed stored records readable without inventing or rewriting messages.",
|
|
989
|
+
"surface": "Default/named `PersistentAIChatSession`, `createPersistentAIChatSession()`; `create()`, `ai`, `chatEntity`, `fileName`, `ready()`, `history()`, `transcript()`, `settleMemory()`, `send()`, and `stream()`."
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"file": "runtime/arcane/modules/PreferenceStore.js",
|
|
993
|
+
"name": "PreferenceStore.js",
|
|
994
|
+
"kind": "esm",
|
|
995
|
+
"exports": [
|
|
996
|
+
"PREFERENCE_STORE_ERROR_CODES",
|
|
997
|
+
"PREFERENCE_STORE_EVENT_TYPES",
|
|
998
|
+
"Preference",
|
|
999
|
+
"default",
|
|
1000
|
+
"preferenceSchema"
|
|
1001
|
+
],
|
|
1002
|
+
"summary": "Loads and updates schema-defined app preferences through native storage with a narrow browser fallback.",
|
|
1003
|
+
"availability": "Browser/native hybrid",
|
|
1004
|
+
"protocol": "Arcane.preferences or app-scoped localStorage + per-realm globalThis.arcaneEvents authority",
|
|
1005
|
+
"normalization": "Complete ordinary values remain mutable; setAll uses one optional atomic adapter batch for every selected value when advertised, otherwise retains complete serial per-key compatibility, never retries a rejected dispatched batch serially, and only exact unsupported native capability changes future operations to the browser fallback.",
|
|
1006
|
+
"surface": "Event/error constants, default `PreferenceStore`, re-exported `Preference`/schema; load/set/setAll/reset APIs, required adapter get/set/delete plus optional setMany, state-free EventTarget/on compatibility, and `dispose()`."
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"file": "runtime/arcane/modules/QRCode.min.js",
|
|
1010
|
+
"name": "QRCode.min.js",
|
|
1011
|
+
"kind": "classic-script",
|
|
1012
|
+
"exports": [],
|
|
1013
|
+
"summary": "Vendored QRCode generator for DOM, canvas, SVG, and image output.",
|
|
1014
|
+
"availability": "Browser vendor script",
|
|
1015
|
+
"protocol": "Classic script global + DOM/canvas/SVG",
|
|
1016
|
+
"normalization": "Vendor-native.",
|
|
1017
|
+
"surface": "No ESM exports; global `QRCode`, `makeCode()`, `makeImage()`, `clear()`, `CorrectLevel`."
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"file": "runtime/arcane/modules/Questionnaire.js",
|
|
1021
|
+
"name": "Questionnaire.js",
|
|
1022
|
+
"kind": "esm",
|
|
1023
|
+
"exports": [
|
|
1024
|
+
"DEFAULT_QUESTIONNAIRE_NOTIFICATION_TIME_MS",
|
|
1025
|
+
"Questionnaire"
|
|
1026
|
+
],
|
|
1027
|
+
"summary": "Evaluates whether a one-time questionnaire prompt is due without performing the prompt.",
|
|
1028
|
+
"availability": "Cross-host",
|
|
1029
|
+
"protocol": "In-process clock only",
|
|
1030
|
+
"normalization": "Normalized fail-closed boolean.",
|
|
1031
|
+
"surface": "Notification default and `Questionnaire` with timing/check methods."
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"file": "runtime/arcane/modules/RecordLinkIndex.js",
|
|
1035
|
+
"name": "RecordLinkIndex.js",
|
|
1036
|
+
"kind": "esm",
|
|
1037
|
+
"exports": [
|
|
1038
|
+
"buildRecordLinkIndex",
|
|
1039
|
+
"parseRecordLinks"
|
|
1040
|
+
],
|
|
1041
|
+
"summary": "Parses record links and builds their normalized index.",
|
|
1042
|
+
"availability": "Cross-host",
|
|
1043
|
+
"protocol": "In-process only",
|
|
1044
|
+
"normalization": "Supported URLs and bare video IDs normalize to mutable locators; ordinary hosting is the default and privacy enhancement is opt-in.",
|
|
1045
|
+
"surface": "`parseRecordLinks()`, `buildRecordLinkIndex()`."
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"file": "runtime/arcane/modules/RecordPassageIndex.js",
|
|
1049
|
+
"name": "RecordPassageIndex.js",
|
|
1050
|
+
"kind": "esm",
|
|
1051
|
+
"exports": [
|
|
1052
|
+
"cleanExcerpt",
|
|
1053
|
+
"extractDateMentions",
|
|
1054
|
+
"findRulePassages",
|
|
1055
|
+
"pageAtLine",
|
|
1056
|
+
"pageMarkers",
|
|
1057
|
+
"parseDateMention",
|
|
1058
|
+
"textLines",
|
|
1059
|
+
"validIsoDate"
|
|
1060
|
+
],
|
|
1061
|
+
"summary": "Indexes text lines, page markers, dates, rules, and excerpts for record review.",
|
|
1062
|
+
"availability": "Cross-host",
|
|
1063
|
+
"protocol": "In-process only",
|
|
1064
|
+
"normalization": "Complete selected excerpts and every unique date/rule finding are preserved without character or result-count caps.",
|
|
1065
|
+
"surface": "Eight text/page/date/rule helper exports."
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"file": "runtime/arcane/modules/RecordReviewStore.js",
|
|
1069
|
+
"name": "RecordReviewStore.js",
|
|
1070
|
+
"kind": "esm",
|
|
1071
|
+
"exports": [
|
|
1072
|
+
"RECORD_REVIEW_STORE_ERROR_CODES",
|
|
1073
|
+
"RECORD_REVIEW_STORE_EVENT_TYPES",
|
|
1074
|
+
"default",
|
|
1075
|
+
"normalizeRecordId",
|
|
1076
|
+
"normalizeReview"
|
|
1077
|
+
],
|
|
1078
|
+
"summary": "Stores normalized record-review decisions through native storage or app-scoped local fallback.",
|
|
1079
|
+
"availability": "Browser/native hybrid",
|
|
1080
|
+
"protocol": "Arcane.storage or localStorage + per-realm globalThis.arcaneEvents authority",
|
|
1081
|
+
"normalization": "Complete records preserved; unreadable stored content fails observably.",
|
|
1082
|
+
"surface": "Event/error constants, default store, record/review normalizers; `load()`, `get()`, `set()`, `snapshot()`, state-free EventTarget/on change compatibility, and `dispose()`."
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"file": "runtime/arcane/modules/RiskSignalAnalyzer.js",
|
|
1086
|
+
"name": "RiskSignalAnalyzer.js",
|
|
1087
|
+
"kind": "esm",
|
|
1088
|
+
"exports": [
|
|
1089
|
+
"DEFAULT_LEVELS",
|
|
1090
|
+
"analyzeRiskSignals"
|
|
1091
|
+
],
|
|
1092
|
+
"summary": "Matches configured risk signals and levels against complete text.",
|
|
1093
|
+
"availability": "Cross-host",
|
|
1094
|
+
"protocol": "In-process only",
|
|
1095
|
+
"normalization": "Fully normalized.",
|
|
1096
|
+
"surface": "`DEFAULT_LEVELS`, `analyzeRiskSignals()`."
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"file": "runtime/arcane/modules/ScamRiskPolicy.js",
|
|
1100
|
+
"name": "ScamRiskPolicy.js",
|
|
1101
|
+
"kind": "esm",
|
|
1102
|
+
"exports": [
|
|
1103
|
+
"assessScamRisk",
|
|
1104
|
+
"loadScamNetworkPolicy",
|
|
1105
|
+
"scamRiskSignals",
|
|
1106
|
+
"scamSafetyGuidance"
|
|
1107
|
+
],
|
|
1108
|
+
"summary": "Combines deterministic scam signals with optional Arcane blocked-domain evidence and safety guidance.",
|
|
1109
|
+
"availability": "Cross-host",
|
|
1110
|
+
"protocol": "Arcane network policy fetch",
|
|
1111
|
+
"normalization": "Complete mutable results; blocked-domain policy requires secure:true.",
|
|
1112
|
+
"surface": "Signals plus load, assess, and guidance helpers."
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"file": "runtime/arcane/modules/ScopedOPFSCache.js",
|
|
1116
|
+
"name": "ScopedOPFSCache.js",
|
|
1117
|
+
"kind": "esm",
|
|
1118
|
+
"exports": [
|
|
1119
|
+
"default"
|
|
1120
|
+
],
|
|
1121
|
+
"summary": "Provides a narrow exact-key JSON cache inside one app-owned OPFS namespace.",
|
|
1122
|
+
"availability": "Browser / native WebView",
|
|
1123
|
+
"protocol": "OPFS + AppDataScope",
|
|
1124
|
+
"normalization": "Filename-safe scope and key segments, complete JSON values, and malformed-cache cleanup are normalized; storage errors remain mixed.",
|
|
1125
|
+
"surface": "default `ScopedOPFSCache`; support check and get/set/delete APIs."
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"file": "runtime/arcane/modules/ScreenCapture.js",
|
|
1129
|
+
"name": "ScreenCapture.js",
|
|
1130
|
+
"kind": "esm",
|
|
1131
|
+
"exports": [
|
|
1132
|
+
"SCREEN_CAPTURE_ERROR_CODES",
|
|
1133
|
+
"SCREEN_CAPTURE_ERRORS",
|
|
1134
|
+
"SCREEN_CAPTURE_EVENT_TYPES",
|
|
1135
|
+
"SCREEN_CAPTURE_IMAGE_TYPE_FALLBACK",
|
|
1136
|
+
"SCREEN_CAPTURE_REASONS",
|
|
1137
|
+
"SCREEN_CAPTURE_STATUSES",
|
|
1138
|
+
"default"
|
|
1139
|
+
],
|
|
1140
|
+
"summary": "Captures a display surface as image, video, or GIF with explicit lifecycle events.",
|
|
1141
|
+
"availability": "Browser / native WebView",
|
|
1142
|
+
"protocol": "getDisplayMedia, MediaRecorder, canvas, GifEncoder, and per-realm globalThis.arcaneEvents authority",
|
|
1143
|
+
"normalization": "State/events normalized; permission and codec errors mixed.",
|
|
1144
|
+
"surface": "Event/status/error/reason and image-fallback constants; default `ScreenCapture`; acquire/capture/start/stop/reset methods, state-free EventTarget/on compatibility, and `destroy()`."
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"file": "runtime/arcane/modules/SpeechPlayback.js",
|
|
1148
|
+
"name": "SpeechPlayback.js",
|
|
1149
|
+
"kind": "esm",
|
|
1150
|
+
"exports": [
|
|
1151
|
+
"SPEECH_PLAYBACK_STATE_EVENT",
|
|
1152
|
+
"SpeechPlayback",
|
|
1153
|
+
"default",
|
|
1154
|
+
"splitSpeechText"
|
|
1155
|
+
],
|
|
1156
|
+
"summary": "Preserves exact nonblank text as one segment without trimming, splitting, or freezing it; queues latest-request synthesis and controls lookahead HTML audio playback.",
|
|
1157
|
+
"availability": "Browser + compatible AI/native bridge",
|
|
1158
|
+
"protocol": "AI.fetchTTS or compatible Arcane.speech.synthesize, globalThis.arcaneEvents, Blob URLs, audio element",
|
|
1159
|
+
"normalization": "Exact nonblank split/part input strings are preserved in mutable records while playback policy, cancellation, Blob results, and lifecycle state are normalized; provider failures remain external.",
|
|
1160
|
+
"surface": "SpeechPlayback class/default, `SPEECH_PLAYBACK_STATE_EVENT`, `splitSpeechText()`, canonical playback lifecycle events, cancellation, and destroy APIs."
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"file": "runtime/arcane/modules/StaticDocumentCatalog.js",
|
|
1164
|
+
"name": "StaticDocumentCatalog.js",
|
|
1165
|
+
"kind": "esm",
|
|
1166
|
+
"exports": [
|
|
1167
|
+
"CATALOG_SCHEMA_VERSION",
|
|
1168
|
+
"default",
|
|
1169
|
+
"normalizeStaticDocumentCatalog",
|
|
1170
|
+
"staticDocumentCacheKey"
|
|
1171
|
+
],
|
|
1172
|
+
"summary": "Loads a positive static document inventory with complete cache, search, hydration, and context content.",
|
|
1173
|
+
"availability": "Browser / native WebView / server with fetch",
|
|
1174
|
+
"protocol": "HTTP(S), optional cache",
|
|
1175
|
+
"normalization": "Complete mutable catalog, hydration, search, and context content; malformed catalog/cache data and transport failures remain visible.",
|
|
1176
|
+
"surface": "default catalog, schema constant, catalog normalizer/cache-key; list/get/search/hydrate/context APIs."
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"file": "runtime/arcane/modules/SystemAppearance.js",
|
|
1180
|
+
"name": "SystemAppearance.js",
|
|
1181
|
+
"kind": "esm",
|
|
1182
|
+
"exports": [
|
|
1183
|
+
"default"
|
|
1184
|
+
],
|
|
1185
|
+
"summary": "Reads or applies native appearance, returning an explicit unsupported browser state when no bridge exists.",
|
|
1186
|
+
"availability": "Browser/native hybrid",
|
|
1187
|
+
"protocol": "Arcane.appearance",
|
|
1188
|
+
"normalization": "Absent bridge normalized; native result/error preserved.",
|
|
1189
|
+
"surface": "default `SystemAppearance`; `available()`, `current()`, `apply()`."
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"file": "runtime/arcane/modules/SystemPlatformPresentation.js",
|
|
1193
|
+
"name": "SystemPlatformPresentation.js",
|
|
1194
|
+
"kind": "classic-script",
|
|
1195
|
+
"exports": [],
|
|
1196
|
+
"summary": "Maps kernel names to presentation labels/classes without granting platform authority.",
|
|
1197
|
+
"availability": "Browser / native WebView classic script",
|
|
1198
|
+
"protocol": "DOM",
|
|
1199
|
+
"normalization": "Fully normalized presentation only.",
|
|
1200
|
+
"surface": "No ESM exports; global `ArcaneSystemPlatformPresentation` with `kernelType()`, `displayName()`, `apply()`."
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"file": "runtime/arcane/modules/SystemToolRegistry.js",
|
|
1204
|
+
"name": "SystemToolRegistry.js",
|
|
1205
|
+
"kind": "esm",
|
|
1206
|
+
"exports": [
|
|
1207
|
+
"default",
|
|
1208
|
+
"quoteArgument"
|
|
1209
|
+
],
|
|
1210
|
+
"summary": "Registers validated command builders and constructs command strings without executing them.",
|
|
1211
|
+
"availability": "Cross-host",
|
|
1212
|
+
"protocol": "In-process only",
|
|
1213
|
+
"normalization": "Fully normalized definitions/quoting.",
|
|
1214
|
+
"surface": "default registry, `quoteArgument()`, register/list/get/build APIs."
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"file": "runtime/arcane/modules/TerminalClient.js",
|
|
1218
|
+
"name": "TerminalClient.js",
|
|
1219
|
+
"kind": "esm",
|
|
1220
|
+
"exports": [
|
|
1221
|
+
"TERMINAL_CLIENT_ERROR_CODES",
|
|
1222
|
+
"TERMINAL_CLIENT_EVENT_TYPES",
|
|
1223
|
+
"TERMINAL_CLIENT_REASONS",
|
|
1224
|
+
"default"
|
|
1225
|
+
],
|
|
1226
|
+
"summary": "Maps native terminal sessions and Arcane events into an EventTarget client.",
|
|
1227
|
+
"availability": "Native bridge",
|
|
1228
|
+
"protocol": "Arcane.terminal host transport projected once through the per-realm globalThis.arcaneEvents authority",
|
|
1229
|
+
"normalization": "Client events/state normalized; native result/error mixed.",
|
|
1230
|
+
"surface": "Event/error/reason constants; default `TerminalClient`; start/write/resize/signal/close/receive/destroy APIs and state-free EventTarget/on terminal compatibility."
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"file": "runtime/arcane/modules/TerminalCommandRegistry.js",
|
|
1234
|
+
"name": "TerminalCommandRegistry.js",
|
|
1235
|
+
"kind": "esm",
|
|
1236
|
+
"exports": [
|
|
1237
|
+
"default",
|
|
1238
|
+
"splitCommandLine"
|
|
1239
|
+
],
|
|
1240
|
+
"summary": "Routes parsed command lines to injected handlers and provides definitions/completions.",
|
|
1241
|
+
"availability": "Cross-host",
|
|
1242
|
+
"protocol": "Injected handlers",
|
|
1243
|
+
"normalization": "Parsing/routing normalized; handler result/error preserved.",
|
|
1244
|
+
"surface": "default registry, `splitCommandLine()`, register/resolve/definitions/completions/execute APIs."
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"file": "runtime/arcane/modules/ThemeBootstrap.js",
|
|
1248
|
+
"name": "ThemeBootstrap.js",
|
|
1249
|
+
"kind": "esm",
|
|
1250
|
+
"exports": [
|
|
1251
|
+
"arcaneThemeReady",
|
|
1252
|
+
"bootstrapArcaneTheme",
|
|
1253
|
+
"default",
|
|
1254
|
+
"disposeArcaneThemeBootstrap"
|
|
1255
|
+
],
|
|
1256
|
+
"summary": "Performs import-time Arcane theme loading and subscribes to native appearance changes.",
|
|
1257
|
+
"availability": "Browser/native hybrid",
|
|
1258
|
+
"protocol": "ThemeManager + host Arcane.events projected once through the per-realm globalThis.arcaneEvents authority",
|
|
1259
|
+
"normalization": "Theme state normalized; storage/native errors mixed.",
|
|
1260
|
+
"surface": "`bootstrapArcaneTheme()`, `disposeArcaneThemeBootstrap()`, `arcaneThemeReady`, and default ready promise."
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"file": "runtime/arcane/modules/ThemeManager.js",
|
|
1264
|
+
"name": "ThemeManager.js",
|
|
1265
|
+
"kind": "esm",
|
|
1266
|
+
"exports": [
|
|
1267
|
+
"default",
|
|
1268
|
+
"loadAndApplyTheme"
|
|
1269
|
+
],
|
|
1270
|
+
"summary": "Loads, applies, previews, saves, resets, and synchronizes semantic Arcane themes.",
|
|
1271
|
+
"availability": "Browser/native hybrid",
|
|
1272
|
+
"protocol": "PreferenceStore, DOM, Arcane.appearance",
|
|
1273
|
+
"normalization": "Theme values/events normalized; storage/native failures mixed.",
|
|
1274
|
+
"surface": "default `ThemeManager`, `loadAndApplyTheme()`; scheme/custom/system APIs and `arcane-theme-change`."
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"file": "runtime/arcane/modules/TimeGuard.js",
|
|
1278
|
+
"name": "TimeGuard.js",
|
|
1279
|
+
"kind": "esm",
|
|
1280
|
+
"exports": [
|
|
1281
|
+
"default"
|
|
1282
|
+
],
|
|
1283
|
+
"summary": "Persists and evaluates clock rollback and grace-period state.",
|
|
1284
|
+
"availability": "Browser / native WebView",
|
|
1285
|
+
"protocol": "User + DBOPFS",
|
|
1286
|
+
"normalization": "Time decisions normalized; storage lifecycle mixed.",
|
|
1287
|
+
"surface": "default `TimeGuard`; installs `window.timeguard`, emits `time-guard-ready`; clock methods."
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"file": "runtime/arcane/modules/ToolCallRouter.js",
|
|
1291
|
+
"name": "ToolCallRouter.js",
|
|
1292
|
+
"kind": "esm",
|
|
1293
|
+
"exports": [
|
|
1294
|
+
"handleResponse",
|
|
1295
|
+
"handleStreamedCalls",
|
|
1296
|
+
"parseArguments"
|
|
1297
|
+
],
|
|
1298
|
+
"summary": "Parses OpenAI-style tool calls and dispatches complete or streamed calls to injected handlers.",
|
|
1299
|
+
"availability": "Cross-host",
|
|
1300
|
+
"protocol": "Injected handlers",
|
|
1301
|
+
"normalization": "Object.prototype or null-prototype argument records require a nonempty user-facing message and retain every field unchanged; handler results are returned or all-settled.",
|
|
1302
|
+
"surface": "`parseArguments()`, `handleResponse()`, `handleStreamedCalls()`; invalid or missing message fails `AI_TOOL_MESSAGE_REQUIRED`."
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
"file": "runtime/arcane/modules/uPlot.iife.min.js",
|
|
1306
|
+
"name": "uPlot.iife.min.js",
|
|
1307
|
+
"kind": "classic-script",
|
|
1308
|
+
"exports": [],
|
|
1309
|
+
"summary": "Vendored uPlot chart constructor and rendering runtime.",
|
|
1310
|
+
"availability": "Browser vendor script",
|
|
1311
|
+
"protocol": "Classic script + canvas/DOM",
|
|
1312
|
+
"normalization": "Vendor-native.",
|
|
1313
|
+
"surface": "No ESM exports; global `uPlot` with data/series/scale/cursor/hook/selection/destroy APIs."
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"file": "runtime/arcane/modules/uPlot.LICENSE.txt",
|
|
1317
|
+
"name": "uPlot.LICENSE.txt",
|
|
1318
|
+
"kind": "license",
|
|
1319
|
+
"exports": [],
|
|
1320
|
+
"summary": "License companion for the bundled uPlot vendor runtime.",
|
|
1321
|
+
"availability": "Documentation asset",
|
|
1322
|
+
"protocol": "None",
|
|
1323
|
+
"normalization": "Not executable.",
|
|
1324
|
+
"surface": "MIT license text."
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"file": "runtime/arcane/modules/uPlot.min.css",
|
|
1328
|
+
"name": "uPlot.min.css",
|
|
1329
|
+
"kind": "stylesheet",
|
|
1330
|
+
"exports": [],
|
|
1331
|
+
"summary": "Bundled uPlot presentation stylesheet.",
|
|
1332
|
+
"availability": "Browser stylesheet",
|
|
1333
|
+
"protocol": "CSS",
|
|
1334
|
+
"normalization": "Presentation only.",
|
|
1335
|
+
"surface": "Load with a stylesheet link before rendering uPlot charts."
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
"file": "runtime/arcane/modules/WaitForComponent.js",
|
|
1339
|
+
"name": "WaitForComponent.js",
|
|
1340
|
+
"kind": "esm",
|
|
1341
|
+
"exports": [
|
|
1342
|
+
"COMPONENT_WAIT_ERROR_CODES",
|
|
1343
|
+
"COMPONENT_WAIT_REASONS",
|
|
1344
|
+
"default"
|
|
1345
|
+
],
|
|
1346
|
+
"summary": "Waits for a component property, method, or readiness event with optional error event and bounded timeout.",
|
|
1347
|
+
"availability": "Cross-host EventTarget / browser component",
|
|
1348
|
+
"protocol": "EventTarget + timers",
|
|
1349
|
+
"normalization": "Normalized coded readiness, error, and timeout results.",
|
|
1350
|
+
"surface": "default `waitForComponent()`."
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"file": "runtime/arcane/modules/YouTubeMedia.js",
|
|
1354
|
+
"name": "YouTubeMedia.js",
|
|
1355
|
+
"kind": "esm",
|
|
1356
|
+
"exports": [
|
|
1357
|
+
"parseYouTubeMedia",
|
|
1358
|
+
"youtubeEmbedUrl"
|
|
1359
|
+
],
|
|
1360
|
+
"summary": "Parses YouTube video/playlist locators and constructs ordinary embed URLs with opt-in privacy enhancement.",
|
|
1361
|
+
"availability": "Cross-host",
|
|
1362
|
+
"protocol": "URL construction only",
|
|
1363
|
+
"normalization": "Fully normalized.",
|
|
1364
|
+
"surface": "`parseYouTubeMedia()`, `youtubeEmbedUrl()`."
|
|
1365
|
+
}
|
|
1366
|
+
]
|
|
1367
|
+
}
|