arcane-os 0.1.2 → 0.2.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/NOTICE +5 -3
- package/README.md +73 -24
- package/browser-runtime/ARCANE_SDK_BROWSER_RELEASE.json +67 -18
- package/browser-runtime/ai/ARCANE_AI_BROWSER_WASM_COMPONENTS.json +16 -5
- package/browser-runtime/ai/browser-kokoro-worker.mjs +3 -0
- package/browser-runtime/ai/browser-speech-artifacts.mjs +1108 -0
- package/browser-runtime/ai/browser-speech-providers.mjs +475 -0
- package/browser-runtime/ai/browser-speech.mjs +9 -0
- package/browser-runtime/ai/browser-wasm-llm-provider.mjs +1537 -167
- package/browser-runtime/ai/browser-wasm.mjs +46 -1
- package/browser-runtime/ai/browser-whisper-worker.mjs +3 -0
- package/browser-runtime/ai/browser-wllama-runtime.mjs +677 -132
- package/browser-runtime/ai/model-controller.mjs +138 -12
- package/browser-runtime/ai/speech-worker-client.mjs +207 -0
- package/browser-runtime/ai/speech-worker-runtime.mjs +516 -0
- package/browser-runtime/ai/wllama/index.mjs +389 -0
- package/docs/architecture.md +132 -22
- package/docs/reference/README.md +1 -1
- package/docs/reference/ai/browser-wasm.md +101 -42
- package/docs/reference/availability-and-normalization.md +19 -5
- package/docs/reference/behavioral-testing.md +18 -5
- package/docs/reference/cli.md +2 -2
- package/docs/reference/inventory/package-api.json +14 -14
- package/docs/reference/protocols.md +4 -4
- package/docs/reference/sdk-api.md +68 -38
- package/docs/work-amplification.md +8 -4
- package/package.json +7 -3
- package/runtime/ARCANE_RUNTIME_RELEASE.json +50 -20
- package/runtime/arcane/components/chat.html +280 -62
- package/runtime/arcane/components/speech.html +1113 -265
- package/runtime/arcane/entities/Chat.js +246 -43
- package/runtime/arcane/modules/AI.js +713 -162
- package/runtime/arcane/modules/AIProviderRuntime.js +2289 -0
- package/runtime/arcane/modules/AIRuntimeState.js +872 -0
- package/runtime/arcane/modules/ConfiguredAIChatSession.js +293 -27
- package/runtime/arcane/modules/DBOPFSDocumentLibrary.js +682 -0
- package/runtime/arcane/modules/DocumentLexicalSearch.js +292 -0
- package/runtime/arcane/modules/PersistentAIChatSession.js +268 -0
- package/runtime/arcane/modules/StaticDocumentCatalog.js +25 -206
- package/schemas/arcane-lock.schema.json +6 -4
- package/src/cli/main.mjs +14 -2
- package/src/constants.mjs +1 -1
- package/src/dev-server.mjs +244 -13
- package/src/import-map.mjs +59 -1
- package/src/packager/core.mjs +2 -2
- package/src/runtime.mjs +14 -4
- package/src/sdk-browser-runtime.mjs +28 -75
- package/src/templates/workspace-template.mjs +4 -4
- package/src/toolchain.mjs +3 -0
- package/src/workspace-runtime.mjs +1 -1
- package/src/workspace.mjs +1 -1
package/src/toolchain.mjs
CHANGED
|
@@ -791,6 +791,9 @@ export async function developApplication(options={}){
|
|
|
791
791
|
mode:'source',
|
|
792
792
|
workspaceRuntimeReceipt:prepared.workspaceRuntimeReceipt,
|
|
793
793
|
workspaceMode:prepared.workspaceMode,
|
|
794
|
+
...(options.sdkRuntimeSourceRoot===undefined?{}:{
|
|
795
|
+
sdkRuntimeSourceRoot:options.sdkRuntimeSourceRoot
|
|
796
|
+
}),
|
|
794
797
|
host:options.host,
|
|
795
798
|
port:options.port,
|
|
796
799
|
signal:options.signal,
|
|
@@ -543,7 +543,7 @@ export async function verifyWorkspaceRuntime({
|
|
|
543
543
|
sdkVersion:runtimeReceipt.sdkVersion,
|
|
544
544
|
sources:Object.freeze({
|
|
545
545
|
arcane:Object.freeze({
|
|
546
|
-
authority:'arcane-os-
|
|
546
|
+
authority:'arcane-os-sdk',
|
|
547
547
|
location:runtimeReceipt.canonicalLocation,
|
|
548
548
|
manifestSha256:runtimeReceipt.manifestSha256,
|
|
549
549
|
contentSha256:runtimeReceipt.contentSha256,
|
package/src/workspace.mjs
CHANGED
|
@@ -633,7 +633,7 @@ export async function validateWorkspace({
|
|
|
633
633
|
'installed SDK runtime manifest'
|
|
634
634
|
);
|
|
635
635
|
if(installed.contentSha256!==lock.runtime.contentSha256
|
|
636
|
-
||installed.source?.commit!==lock.runtime.upstreamCommit){
|
|
636
|
+
||installed.source?.legacyProjection?.commit!==lock.runtime.upstreamCommit){
|
|
637
637
|
fail('Installed SDK runtime does not match arcane.lock.json.');
|
|
638
638
|
}
|
|
639
639
|
const browserManifestPath=path.join(
|