@fugood/bricks-project 2.23.6 → 2.23.7
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/compile/action-name-map.ts +6 -0
- package/compile/index.ts +26 -20
- package/compile/util.ts +2 -0
- package/package.json +2 -2
- package/tools/deploy.ts +2 -2
- package/tools/preview.ts +1 -1
- package/types/bricks/Camera.ts +5 -2
- package/types/bricks/Chart.ts +4 -1
- package/types/bricks/GenerativeMedia.ts +4 -1
- package/types/bricks/Icon.ts +5 -2
- package/types/bricks/Image.ts +5 -2
- package/types/bricks/Items.ts +5 -2
- package/types/bricks/Lottie.ts +4 -1
- package/types/bricks/Maps.ts +5 -2
- package/types/bricks/QrCode.ts +5 -2
- package/types/bricks/Rect.ts +5 -2
- package/types/bricks/RichText.ts +5 -2
- package/types/bricks/Rive.ts +4 -1
- package/types/bricks/Slideshow.ts +5 -2
- package/types/bricks/Svg.ts +4 -1
- package/types/bricks/Text.ts +5 -2
- package/types/bricks/TextInput.ts +5 -2
- package/types/bricks/Video.ts +5 -2
- package/types/bricks/VideoStreaming.ts +4 -1
- package/types/bricks/WebRtcStream.ts +5 -2
- package/types/bricks/WebView.ts +4 -1
- package/types/generators/AlarmClock.ts +5 -2
- package/types/generators/Assistant.ts +5 -2
- package/types/generators/BleCentral.ts +5 -2
- package/types/generators/BlePeripheral.ts +5 -2
- package/types/generators/CanvasMap.ts +4 -1
- package/types/generators/CastlesPay.ts +5 -2
- package/types/generators/DataBank.ts +5 -2
- package/types/generators/File.ts +5 -2
- package/types/generators/GraphQl.ts +4 -1
- package/types/generators/Http.ts +4 -1
- package/types/generators/HttpServer.ts +4 -1
- package/types/generators/Information.ts +5 -2
- package/types/generators/Intent.ts +4 -1
- package/types/generators/Iterator.ts +4 -1
- package/types/generators/Keyboard.ts +5 -2
- package/types/generators/LlmAnthropicCompat.ts +10 -1
- package/types/generators/LlmAppleBuiltin.ts +11 -1
- package/types/generators/LlmGgml.ts +53 -1
- package/types/generators/LlmMediaTekNeuroPilot.ts +5 -1
- package/types/generators/LlmMlx.ts +11 -1
- package/types/generators/LlmOnnx.ts +5 -1
- package/types/generators/LlmOpenAiCompat.ts +14 -1
- package/types/generators/LlmQualcommAiEngine.ts +4 -1
- package/types/generators/Mcp.ts +4 -1
- package/types/generators/McpServer.ts +4 -1
- package/types/generators/MediaFlow.ts +4 -1
- package/types/generators/MqttBroker.ts +4 -1
- package/types/generators/MqttClient.ts +4 -1
- package/types/generators/Question.ts +5 -2
- package/types/generators/RealtimeTranscription.ts +4 -1
- package/types/generators/RerankerGgml.ts +15 -1
- package/types/generators/SerialPort.ts +5 -2
- package/types/generators/SoundPlayer.ts +4 -1
- package/types/generators/SoundRecorder.ts +4 -1
- package/types/generators/SpeechToTextGgml.ts +10 -1
- package/types/generators/SpeechToTextOnnx.ts +5 -1
- package/types/generators/SpeechToTextPlatform.ts +4 -1
- package/types/generators/SqLite.ts +5 -2
- package/types/generators/Step.ts +4 -1
- package/types/generators/SttAppleBuiltin.ts +11 -1
- package/types/generators/Tcp.ts +5 -2
- package/types/generators/TcpServer.ts +4 -1
- package/types/generators/TextToSpeechAppleBuiltin.ts +11 -1
- package/types/generators/TextToSpeechGgml.ts +16 -1
- package/types/generators/TextToSpeechOnnx.ts +5 -1
- package/types/generators/TextToSpeechOpenAiLike.ts +4 -1
- package/types/generators/ThermalPrinter.ts +5 -2
- package/types/generators/Tick.ts +5 -2
- package/types/generators/Udp.ts +5 -2
- package/types/generators/VadGgml.ts +4 -1
- package/types/generators/VadOnnx.ts +5 -1
- package/types/generators/VadTraditional.ts +5 -1
- package/types/generators/VectorStore.ts +5 -2
- package/types/generators/Watchdog.ts +5 -2
- package/types/generators/WebCrawler.ts +4 -1
- package/types/generators/WebRtc.ts +5 -2
- package/types/generators/WebSocket.ts +4 -1
- package/types/subspace.ts +2 -0
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/* Auto generated by build script
|
|
1
|
+
/* Auto generated by build script
|
|
2
|
+
*
|
|
3
|
+
* Local Voice Activity Detection (VAD) inference based on GGML and [whisper.rn](https://github.com/mybigday/whisper.rn)
|
|
4
|
+
*/
|
|
2
5
|
import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
|
|
3
6
|
import type { Data, DataLink } from '../data'
|
|
4
7
|
import type {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
/* Auto generated by build script
|
|
1
|
+
/* Auto generated by build script
|
|
2
|
+
*
|
|
3
|
+
* Local Voice Activity Detection (VAD) inference based on [transformers.js](https://huggingface.co/docs/transformers.js)
|
|
4
|
+
* You can use any compatible VAD model from HuggingFace (Silero VAD, smart-turn, etc.)
|
|
5
|
+
*/
|
|
2
6
|
import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
|
|
3
7
|
import type { Data, DataLink } from '../data'
|
|
4
8
|
import type {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
/* Auto generated by build script
|
|
1
|
+
/* Auto generated by build script
|
|
2
|
+
*
|
|
3
|
+
* Traditional Voice Activity Detection (VAD) using pitch detection and RMS volume analysis
|
|
4
|
+
* No model download required - pure algorithmic approach
|
|
5
|
+
*/
|
|
2
6
|
import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
|
|
3
7
|
import type { Data, DataLink } from '../data'
|
|
4
8
|
import type {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/* Auto generated by build script
|
|
1
|
+
/* Auto generated by build script
|
|
2
|
+
*
|
|
3
|
+
* Vector database for semantic similarity search using file embeddings
|
|
4
|
+
*/
|
|
2
5
|
import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
|
|
3
6
|
import type { Data, DataLink } from '../data'
|
|
4
7
|
import type {
|
|
@@ -230,7 +233,7 @@ Default property:
|
|
|
230
233
|
}
|
|
231
234
|
}
|
|
232
235
|
|
|
233
|
-
/* Vector
|
|
236
|
+
/* Vector database for semantic similarity search using file embeddings */
|
|
234
237
|
export type GeneratorVectorStore = Generator &
|
|
235
238
|
GeneratorVectorStoreDef & {
|
|
236
239
|
templateKey: 'GENERATOR_VECTOR_STORE'
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/* Auto generated by build script
|
|
1
|
+
/* Auto generated by build script
|
|
2
|
+
*
|
|
3
|
+
* Trigger event with timeout by listening to specified events
|
|
4
|
+
*/
|
|
2
5
|
import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
|
|
3
6
|
import type { Data, DataLink } from '../data'
|
|
4
7
|
import type {
|
|
@@ -75,7 +78,7 @@ Default property:
|
|
|
75
78
|
}
|
|
76
79
|
}
|
|
77
80
|
|
|
78
|
-
/*
|
|
81
|
+
/* Trigger event with timeout by listening to specified events */
|
|
79
82
|
export type GeneratorWatchdog = Generator &
|
|
80
83
|
GeneratorWatchdogDef & {
|
|
81
84
|
templateKey: 'GENERATOR_WATCHDOG'
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/* Auto generated by build script
|
|
1
|
+
/* Auto generated by build script
|
|
2
|
+
*
|
|
3
|
+
* Web crawler to get specific value
|
|
4
|
+
*/
|
|
2
5
|
import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
|
|
3
6
|
import type { Data, DataLink } from '../data'
|
|
4
7
|
import type {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/* Auto generated by build script
|
|
1
|
+
/* Auto generated by build script
|
|
2
|
+
*
|
|
3
|
+
* WebRTC peer connection for real-time audio/video/data communication
|
|
4
|
+
*/
|
|
2
5
|
import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
|
|
3
6
|
import type { Data, DataLink } from '../data'
|
|
4
7
|
import type {
|
|
@@ -142,7 +145,7 @@ Default property:
|
|
|
142
145
|
}
|
|
143
146
|
}
|
|
144
147
|
|
|
145
|
-
/* WebRTC */
|
|
148
|
+
/* WebRTC peer connection for real-time audio/video/data communication */
|
|
146
149
|
export type GeneratorWebRTC = Generator &
|
|
147
150
|
GeneratorWebRTCDef & {
|
|
148
151
|
templateKey: 'GENERATOR_WEBRTC'
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/* Auto generated by build script
|
|
1
|
+
/* Auto generated by build script
|
|
2
|
+
*
|
|
3
|
+
* WebSocket or Socket.IO Generator
|
|
4
|
+
*/
|
|
2
5
|
import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
|
|
3
6
|
import type { Data, DataLink } from '../data'
|
|
4
7
|
import type {
|
package/types/subspace.ts
CHANGED