@fugood/bricks-project 2.25.0-beta.30 → 2.25.0-beta.34

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.
@@ -955,10 +955,12 @@ export const templateActionNameMap = {
955
955
  GENERATOR_APPLE_STT_TRANSCRIBE_FILE: {
956
956
  fileUrl: 'GENERATOR_APPLE_STT_FILE_URL',
957
957
  language: 'GENERATOR_APPLE_STT_LANGUAGE',
958
+ contextualStrings: 'GENERATOR_APPLE_STT_CONTEXTUAL_STRINGS',
958
959
  },
959
960
  GENERATOR_APPLE_STT_TRANSCRIBE_DATA: {
960
961
  data: 'GENERATOR_APPLE_STT_DATA',
961
962
  language: 'GENERATOR_APPLE_STT_LANGUAGE',
963
+ contextualStrings: 'GENERATOR_APPLE_STT_CONTEXTUAL_STRINGS',
962
964
  },
963
965
  },
964
966
  GENERATOR_APPLE_TTS: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fugood/bricks-project",
3
- "version": "2.25.0-beta.30",
3
+ "version": "2.25.0-beta.34",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "typecheck": "tsc --noEmit",
package/package.json.bak CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fugood/bricks-ctor",
3
- "version": "2.25.0-beta.30",
3
+ "version": "2.25.0-beta.34",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "typecheck": "tsc --noEmit",
@@ -1,13 +1,13 @@
1
1
  /* Auto generated by build script
2
2
  *
3
- * Speech recognition on iOS 26+ (Not supported on tvOS)
3
+ * Speech recognition on iOS 26+ and Desktop (macOS 26+). Not supported on tvOS
4
4
  *
5
5
  * ## Features
6
6
  * - Native Apple speech recognition
7
7
  * - High accuracy transcription
8
8
  * - Privacy-focused on-device processing
9
9
  * - Supports file and data transcription
10
- * - Requires iOS 26+ (Not supported on tvOS)
10
+ * - Requires iOS 26+ or Desktop on macOS 26+. Not supported on tvOS
11
11
  */
12
12
  import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
13
13
  import type { Data, DataLink } from '../data'
@@ -41,6 +41,11 @@ export type GeneratorAppleSTTActionTranscribeFile = ActionWithParams & {
41
41
  value?: string | DataLink | EventProperty
42
42
  mapping?: string
43
43
  }
44
+ | {
45
+ input: 'contextualStrings'
46
+ value?: Array<any> | DataLink | EventProperty
47
+ mapping?: string
48
+ }
44
49
  >
45
50
  }
46
51
 
@@ -58,15 +63,26 @@ export type GeneratorAppleSTTActionTranscribeData = ActionWithParams & {
58
63
  value?: string | DataLink | EventProperty
59
64
  mapping?: string
60
65
  }
66
+ | {
67
+ input: 'contextualStrings'
68
+ value?: Array<any> | DataLink | EventProperty
69
+ mapping?: string
70
+ }
61
71
  >
62
72
  }
63
73
 
74
+ /* Release context */
75
+ export type GeneratorAppleSTTActionReleaseContext = Action & {
76
+ __actionName: 'GENERATOR_APPLE_STT_RELEASE_CONTEXT'
77
+ }
78
+
64
79
  interface GeneratorAppleSTTDef {
65
80
  /*
66
81
  Default property:
67
82
  {
68
83
  "init": false,
69
84
  "language": "en-US",
85
+ "contextualStrings": [],
70
86
  "enablePartialResults": true
71
87
  }
72
88
  */
@@ -75,6 +91,13 @@ Default property:
75
91
  init?: boolean | DataLink
76
92
  /* Language/locale for recognition (e.g., 'en-US') */
77
93
  language?: string | DataLink
94
+ /* Phrases that should be recognized, even if they are not in the system vocabulary. */
95
+ contextualStrings?:
96
+ | Array<string | DataLink>
97
+ | DataLink
98
+ | Record<string, Array<string | DataLink> | DataLink>
99
+ | DataLink
100
+ | DataLink
78
101
  /* Enable partial results during transcription */
79
102
  enablePartialResults?: boolean | DataLink
80
103
  /* The file URL or path to be transcribed */
@@ -100,14 +123,14 @@ Default property:
100
123
  }
101
124
  }
102
125
 
103
- /* Speech recognition on iOS 26+ (Not supported on tvOS)
126
+ /* Speech recognition on iOS 26+ and Desktop (macOS 26+). Not supported on tvOS
104
127
 
105
128
  ## Features
106
129
  - Native Apple speech recognition
107
130
  - High accuracy transcription
108
131
  - Privacy-focused on-device processing
109
132
  - Supports file and data transcription
110
- - Requires iOS 26+ (Not supported on tvOS) */
133
+ - Requires iOS 26+ or Desktop on macOS 26+. Not supported on tvOS */
111
134
  export type GeneratorAppleSTT = Generator &
112
135
  GeneratorAppleSTTDef & {
113
136
  templateKey: 'GENERATOR_APPLE_STT'