arcane-os 0.51.1 → 0.52.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 +26 -0
- package/README.md +81 -44
- package/browser-runtime/ai/twin-cloud.mjs +4 -0
- package/docs/architecture.md +33 -17
- package/docs/platform-targets.md +15 -2
- package/docs/reference/README.md +31 -26
- package/docs/reference/ai/browser-speech.md +106 -31
- package/docs/reference/ai/browser-wasm.md +27 -24
- package/docs/reference/ai/twin-cloud.md +30 -11
- package/docs/reference/asset-versioning.md +34 -37
- package/docs/reference/availability-and-normalization.md +31 -20
- package/docs/reference/cli.md +45 -30
- package/docs/reference/inventory/package-api.json +34 -6
- package/docs/reference/inventory/runtime-components.json +25 -11
- package/docs/reference/inventory/runtime-entities.json +6 -3
- package/docs/reference/inventory/runtime-modules.json +63 -8
- package/docs/reference/protocols.md +110 -66
- package/docs/reference/pwa.md +49 -19
- package/docs/reference/runtime-components.md +9 -2
- package/docs/reference/runtime-entities.md +14 -2
- package/docs/reference/runtime-modules.md +59 -2
- package/docs/reference/sdk-api.md +247 -72
- package/docs/roadmap.md +32 -26
- package/package.json +1 -1
- package/runtime/arcane/modules/AI.js +20 -6
- package/schemas/arcane-app.schema.json +5 -0
- package/schemas/arcane-package.schema.json +10 -0
- package/src/app-descriptor.mjs +6 -1
- package/src/dev-server.mjs +140 -22
- package/src/packager/core.mjs +43 -6
- package/src/templates/workspace-template.mjs +14 -4
- package/src/toolchain.mjs +1 -0
|
@@ -195,10 +195,20 @@ npm run run
|
|
|
195
195
|
|
|
196
196
|
The explicit \`import-map\` command refreshes
|
|
197
197
|
\`${appPrefix}modules/arcane.importmap.json\` and the managed inline browser
|
|
198
|
-
import map in
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
198
|
+
import map in each selected application \`.html\`/\`.htm\` document.
|
|
199
|
+
Optional \`package.documents\` in \`arcane-app.json\` selects literal app-root-relative
|
|
200
|
+
HTML paths already included and not excluded, for example \`["index.html"]\`.
|
|
201
|
+
The entry is always selected first; \`[]\` selects only the entry. Omission
|
|
202
|
+
retains automatic discovery of the entry and included secondary pages with an
|
|
203
|
+
active base. The schema-1 package projection preserves this as \`documents\`,
|
|
204
|
+
including the distinction between omission and an empty list.
|
|
205
|
+
Selected pages retain their existing path-correct base requirement. With an
|
|
206
|
+
explicit list, other included HTML documents retain their exact content, even
|
|
207
|
+
when referenced by an iframe. Document selection leaves serving, packaging and
|
|
208
|
+
offline resource membership unchanged. HTML component processing and shared
|
|
209
|
+
runtime-resource traversal retain their existing behavior.
|
|
210
|
+
Development startup refreshes the selected managed maps; package and build
|
|
211
|
+
consume the saved source maps and the same document selection.
|
|
202
212
|
Commit generated import maps and enabled offline app files. Hosting workflows consume those committed files rather than generating them.
|
|
203
213
|
Named \`${directRuntime?'arcane-os/modules/* and arcane-os/entities/*':'arcane/*'}\` imports resolve through the managed map to the selected SDK files. Packaging copies the complete selected application, runtime, and specifier
|
|
204
214
|
map to \`dist/${appId}\` without running application tests. Run \`verify\` only when
|
package/src/toolchain.mjs
CHANGED
|
@@ -299,6 +299,7 @@ async function refreshPreparedImportMap(prepared,{signal,onEvent,workspaceOperat
|
|
|
299
299
|
signal
|
|
300
300
|
});
|
|
301
301
|
if(inspected.entry!==manifest.entry
|
|
302
|
+
||JSON.stringify(inspected.documents)!==JSON.stringify(manifest.documents)
|
|
302
303
|
||JSON.stringify(inspected.include)!==JSON.stringify(manifest.include)
|
|
303
304
|
||JSON.stringify(inspected.exclude)!==JSON.stringify(manifest.exclude)){
|
|
304
305
|
throw new ArcaneError(
|