arcane-os 0.13.2 → 0.14.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 +16 -0
- package/browser-runtime/ai/browser-wasm-llm-provider.mjs +79 -14
- package/browser-runtime/ai/model-controller.mjs +32 -4
- package/browser-runtime/ai/tool-text-stream.mjs +364 -0
- package/docs/reference/ai/browser-speech.md +6 -0
- package/docs/reference/ai/browser-wasm.md +62 -0
- package/docs/reference/inventory/package-api.json +18 -2
- package/docs/reference/inventory/runtime-modules.json +4 -3
- package/docs/reference/runtime-modules.md +36 -8
- package/docs/reference/sdk-api.md +72 -3
- package/package.json +2 -1
- package/runtime/arcane/modules/AI.js +69 -11
- package/runtime/arcane/modules/AIProviderRuntime.js +24 -7
- package/runtime/arcane/modules/ConversationClosingReport.js +2 -2
- package/src/import-map.mjs +1 -0
|
@@ -74,7 +74,7 @@ function parseArguments(value){
|
|
|
74
74
|
return value;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
function
|
|
77
|
+
export function formatConversationClosingReportText(value){
|
|
78
78
|
return value
|
|
79
79
|
.replaceAll('&','&')
|
|
80
80
|
.replaceAll('<','<')
|
|
@@ -240,7 +240,7 @@ export function formatConversationClosingReport(value){
|
|
|
240
240
|
remembered_actions:value.rememberedActions,
|
|
241
241
|
}
|
|
242
242
|
:value;
|
|
243
|
-
return
|
|
243
|
+
return formatConversationClosingReportText(
|
|
244
244
|
normalizeConversationClosingReport(normalizedInput).finalMessage
|
|
245
245
|
);
|
|
246
246
|
}
|
package/src/import-map.mjs
CHANGED
|
@@ -27,6 +27,7 @@ const SDK_BROWSER_SELF_IMPORTS=new Map([
|
|
|
27
27
|
['arcane-os/pwa','sdk/pwa.mjs'],
|
|
28
28
|
['arcane-os/speech-text','sdk/speech-text.mjs'],
|
|
29
29
|
['arcane-os/ai/browser-wasm',SDK_BROWSER_AI_ENTRY],
|
|
30
|
+
['arcane-os/ai/tool-text-stream','sdk/ai/tool-text-stream.mjs'],
|
|
30
31
|
['arcane-os/ai/browser-speech',SDK_BROWSER_SPEECH_ENTRY]
|
|
31
32
|
]);
|
|
32
33
|
function fail(message,code='ARCANE_IMPORT_MAP_INVALID'){
|