arcane-os 0.51.1 → 0.51.2
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 +11 -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 +26 -17
- 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 +62 -56
- package/docs/reference/pwa.md +20 -13
- 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 +225 -65
- package/docs/roadmap.md +32 -26
- package/package.json +1 -1
- package/runtime/arcane/modules/AI.js +20 -6
|
@@ -4448,7 +4448,8 @@ class AI {
|
|
|
4448
4448
|
signal,
|
|
4449
4449
|
payload.reasoningEffort,
|
|
4450
4450
|
onRetry,
|
|
4451
|
-
payload.model
|
|
4451
|
+
payload.model,
|
|
4452
|
+
payload.temperature
|
|
4452
4453
|
);
|
|
4453
4454
|
}
|
|
4454
4455
|
|
|
@@ -4480,7 +4481,8 @@ class AI {
|
|
|
4480
4481
|
payload.reasoningEffort,
|
|
4481
4482
|
observeToolText,
|
|
4482
4483
|
onRetry,
|
|
4483
|
-
payload.model
|
|
4484
|
+
payload.model,
|
|
4485
|
+
payload.temperature
|
|
4484
4486
|
);
|
|
4485
4487
|
}
|
|
4486
4488
|
|
|
@@ -4810,7 +4812,8 @@ class AI {
|
|
|
4810
4812
|
normalizedReasoningEffort,
|
|
4811
4813
|
observeToolText,
|
|
4812
4814
|
onRetry,
|
|
4813
|
-
model
|
|
4815
|
+
model,
|
|
4816
|
+
temperature
|
|
4814
4817
|
);
|
|
4815
4818
|
const structuralToolCalls=normalizeAICompletionToolCalls(
|
|
4816
4819
|
completion
|
|
@@ -4920,7 +4923,8 @@ class AI {
|
|
|
4920
4923
|
reasoningEffort,
|
|
4921
4924
|
observeToolText=null,
|
|
4922
4925
|
onRetry = null,
|
|
4923
|
-
model=this.model
|
|
4926
|
+
model=this.model,
|
|
4927
|
+
temperature
|
|
4924
4928
|
){
|
|
4925
4929
|
let speechTurnCompleted=false;
|
|
4926
4930
|
|
|
@@ -4949,6 +4953,10 @@ class AI {
|
|
|
4949
4953
|
stream:true
|
|
4950
4954
|
}
|
|
4951
4955
|
|
|
4956
|
+
if(this.llmService==='TWIN' && temperature!==undefined){
|
|
4957
|
+
request.temperature=temperature;
|
|
4958
|
+
}
|
|
4959
|
+
|
|
4952
4960
|
if(structuredOutputFormat){
|
|
4953
4961
|
request.response_format=openAIResponseFormat(
|
|
4954
4962
|
structuredOutputFormat
|
|
@@ -5740,7 +5748,8 @@ class AI {
|
|
|
5740
5748
|
signal,
|
|
5741
5749
|
normalizedReasoningEffort,
|
|
5742
5750
|
onRetry,
|
|
5743
|
-
model
|
|
5751
|
+
model,
|
|
5752
|
+
temperature
|
|
5744
5753
|
);
|
|
5745
5754
|
}
|
|
5746
5755
|
|
|
@@ -5795,7 +5804,8 @@ class AI {
|
|
|
5795
5804
|
signal=null,
|
|
5796
5805
|
reasoningEffort,
|
|
5797
5806
|
onRetry = null,
|
|
5798
|
-
model=this.model
|
|
5807
|
+
model=this.model,
|
|
5808
|
+
temperature
|
|
5799
5809
|
){
|
|
5800
5810
|
validateAIStructuralRequest(messages,tools,parallel_tool_calls);
|
|
5801
5811
|
this.#assertServiceConfigured(this.llmService);
|
|
@@ -5819,6 +5829,10 @@ class AI {
|
|
|
5819
5829
|
stream:false
|
|
5820
5830
|
}
|
|
5821
5831
|
|
|
5832
|
+
if(this.llmService==='TWIN' && temperature!==undefined){
|
|
5833
|
+
request.temperature=temperature;
|
|
5834
|
+
}
|
|
5835
|
+
|
|
5822
5836
|
if(structuredOutputFormat){
|
|
5823
5837
|
request.response_format=openAIResponseFormat(
|
|
5824
5838
|
structuredOutputFormat
|