@fugood/bricks-project 2.24.11 → 2.24.13
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/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fugood/bricks-project",
|
|
3
|
-
"version": "2.24.
|
|
3
|
+
"version": "2.24.13",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"typecheck": "tsc --noEmit",
|
|
7
7
|
"build": "bun scripts/build.js"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@fugood/bricks-cli": "^2.24.
|
|
10
|
+
"@fugood/bricks-cli": "^2.24.13",
|
|
11
11
|
"@huggingface/gguf": "^0.3.2",
|
|
12
12
|
"@iarna/toml": "^3.0.0",
|
|
13
13
|
"@modelcontextprotocol/sdk": "^1.15.0",
|
|
@@ -26,6 +26,7 @@ This skill covers advanced BRICKS features not in the main project instructions.
|
|
|
26
26
|
|
|
27
27
|
- **Complex flows**: See [Architecture Patterns](references/architecture-patterns.md) for decomposing multi-step workflows
|
|
28
28
|
- **Multi-device**: See [Local Sync](references/local-sync.md) for LAN coordination
|
|
29
|
+
- **Fonts**: See [Font Families](references/fonts.md) for supported `fontFamily` names, native fallback behavior, and Google Font fallback guidance
|
|
29
30
|
- **Cloud data**: See [Remote Data Bank](references/remote-data-bank.md) for sync and API access
|
|
30
31
|
- **Media assets**: See [Media Flow](references/media-flow.md) for centralized asset management
|
|
31
32
|
- **AI offloading**: See [Buttress](references/buttress.md) for GPU server delegation
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
# Font Families
|
|
2
|
+
|
|
3
|
+
Use this when choosing or answering questions about `fontFamily` for Text, TextInput, RichText, or nested Items text Bricks.
|
|
4
|
+
|
|
5
|
+
## Runtime Rules
|
|
6
|
+
|
|
7
|
+
- Use exact family names from the target platform list; BRICKS matches comma-separated fallbacks left-to-right on native platforms.
|
|
8
|
+
- Prefer cross-platform stacks such as `Arial, sans-serif`, `Helvetica, Roboto, sans-serif`, `Times New Roman, serif`, or `Courier New, monospace` when the same project runs on iOS/tvOS and Android.
|
|
9
|
+
- Android supports generic system families plus `Roboto`; iOS/tvOS use the larger built-in Apple font set below.
|
|
10
|
+
- Web keeps the supplied CSS font-family value. Native ignores unsupported names unless a dynamically loaded or Google Font preload resolves them.
|
|
11
|
+
- Google Fonts can be used by setting a Google font family and letting the config preload path materialize it; keep a platform fallback after it, for example `Roboto Mono, monospace`.
|
|
12
|
+
|
|
13
|
+
## Android
|
|
14
|
+
|
|
15
|
+
- normal
|
|
16
|
+
- notoserif
|
|
17
|
+
- sans-serif
|
|
18
|
+
- sans-serif-light
|
|
19
|
+
- sans-serif-thin
|
|
20
|
+
- sans-serif-condensed
|
|
21
|
+
- sans-serif-medium
|
|
22
|
+
- serif
|
|
23
|
+
- Roboto
|
|
24
|
+
- monospace
|
|
25
|
+
|
|
26
|
+
## iOS/tvOS
|
|
27
|
+
|
|
28
|
+
- San Francisco
|
|
29
|
+
- Academy Engraved LET
|
|
30
|
+
- AcademyEngravedLetPlain
|
|
31
|
+
- Al Nile
|
|
32
|
+
- AlNile-Bold
|
|
33
|
+
- American Typewriter
|
|
34
|
+
- AmericanTypewriter-Bold
|
|
35
|
+
- AmericanTypewriter-Condensed
|
|
36
|
+
- AmericanTypewriter-CondensedBold
|
|
37
|
+
- AmericanTypewriter-CondensedLight
|
|
38
|
+
- AmericanTypewriter-Light
|
|
39
|
+
- Apple Color Emoji
|
|
40
|
+
- Apple SD Gothic Neo
|
|
41
|
+
- AppleColorEmoji
|
|
42
|
+
- AppleSDGothicNeo-Bold
|
|
43
|
+
- AppleSDGothicNeo-Light
|
|
44
|
+
- AppleSDGothicNeo-Medium
|
|
45
|
+
- AppleSDGothicNeo-Regular
|
|
46
|
+
- AppleSDGothicNeo-SemiBold
|
|
47
|
+
- AppleSDGothicNeo-Thin
|
|
48
|
+
- AppleSDGothicNeo-UltraLight
|
|
49
|
+
- Arial
|
|
50
|
+
- Arial Hebrew
|
|
51
|
+
- Arial Rounded MT Bold
|
|
52
|
+
- Arial-BoldItalicMT
|
|
53
|
+
- Arial-BoldMT
|
|
54
|
+
- Arial-ItalicMT
|
|
55
|
+
- ArialHebrew
|
|
56
|
+
- ArialHebrew-Bold
|
|
57
|
+
- ArialHebrew-Light
|
|
58
|
+
- ArialMT
|
|
59
|
+
- ArialRoundedMTBold
|
|
60
|
+
- Avenir
|
|
61
|
+
- Avenir Next
|
|
62
|
+
- Avenir Next Condensed
|
|
63
|
+
- Avenir-Black
|
|
64
|
+
- Avenir-BlackOblique
|
|
65
|
+
- Avenir-Book
|
|
66
|
+
- Avenir-BookOblique
|
|
67
|
+
- Avenir-Heavy
|
|
68
|
+
- Avenir-HeavyOblique
|
|
69
|
+
- Avenir-Light
|
|
70
|
+
- Avenir-LightOblique
|
|
71
|
+
- Avenir-Medium
|
|
72
|
+
- Avenir-MediumOblique
|
|
73
|
+
- Avenir-Oblique
|
|
74
|
+
- Avenir-Roman
|
|
75
|
+
- AvenirNext-Bold
|
|
76
|
+
- AvenirNext-BoldItalic
|
|
77
|
+
- AvenirNext-DemiBold
|
|
78
|
+
- AvenirNext-DemiBoldItalic
|
|
79
|
+
- AvenirNext-Heavy
|
|
80
|
+
- AvenirNext-HeavyItalic
|
|
81
|
+
- AvenirNext-Italic
|
|
82
|
+
- AvenirNext-Medium
|
|
83
|
+
- AvenirNext-MediumItalic
|
|
84
|
+
- AvenirNext-Regular
|
|
85
|
+
- AvenirNext-UltraLight
|
|
86
|
+
- AvenirNext-UltraLightItalic
|
|
87
|
+
- AvenirNextCondensed-Bold
|
|
88
|
+
- AvenirNextCondensed-BoldItalic
|
|
89
|
+
- AvenirNextCondensed-DemiBold
|
|
90
|
+
- AvenirNextCondensed-DemiBoldItalic
|
|
91
|
+
- AvenirNextCondensed-Heavy
|
|
92
|
+
- AvenirNextCondensed-HeavyItalic
|
|
93
|
+
- AvenirNextCondensed-Italic
|
|
94
|
+
- AvenirNextCondensed-Medium
|
|
95
|
+
- AvenirNextCondensed-MediumItalic
|
|
96
|
+
- AvenirNextCondensed-Regular
|
|
97
|
+
- AvenirNextCondensed-UltraLight
|
|
98
|
+
- AvenirNextCondensed-UltraLightItalic
|
|
99
|
+
- Bangla Sangam MN
|
|
100
|
+
- Baskerville
|
|
101
|
+
- Baskerville-Bold
|
|
102
|
+
- Baskerville-BoldItalic
|
|
103
|
+
- Baskerville-Italic
|
|
104
|
+
- Baskerville-SemiBold
|
|
105
|
+
- Baskerville-SemiBoldItalic
|
|
106
|
+
- Bodoni 72
|
|
107
|
+
- Bodoni 72 Oldstyle
|
|
108
|
+
- Bodoni 72 Smallcaps
|
|
109
|
+
- Bodoni Ornaments
|
|
110
|
+
- BodoniOrnamentsITCTT
|
|
111
|
+
- BodoniSvtyTwoITCTT-Bold
|
|
112
|
+
- BodoniSvtyTwoITCTT-Book
|
|
113
|
+
- BodoniSvtyTwoITCTT-BookIta
|
|
114
|
+
- BodoniSvtyTwoOSITCTT-Bold
|
|
115
|
+
- BodoniSvtyTwoOSITCTT-Book
|
|
116
|
+
- BodoniSvtyTwoSCITCTT-Book
|
|
117
|
+
- Bradley Hand
|
|
118
|
+
- BradleyHandITCTT-Bold
|
|
119
|
+
- Chalkboard SE
|
|
120
|
+
- ChalkboardSE-Bold
|
|
121
|
+
- ChalkboardSE-Light
|
|
122
|
+
- ChalkboardSE-Regular
|
|
123
|
+
- Chalkduster
|
|
124
|
+
- Cochin
|
|
125
|
+
- Cochin-Bold
|
|
126
|
+
- Cochin-BoldItalic
|
|
127
|
+
- Cochin-Italic
|
|
128
|
+
- Copperplate
|
|
129
|
+
- Copperplate-Bold
|
|
130
|
+
- Copperplate-Light
|
|
131
|
+
- Courier
|
|
132
|
+
- Courier New
|
|
133
|
+
- Courier-Bold
|
|
134
|
+
- Courier-BoldOblique
|
|
135
|
+
- Courier-Oblique
|
|
136
|
+
- CourierNewPS-BoldItalicMT
|
|
137
|
+
- CourierNewPS-BoldMT
|
|
138
|
+
- CourierNewPS-ItalicMT
|
|
139
|
+
- CourierNewPSMT
|
|
140
|
+
- Damascus
|
|
141
|
+
- DamascusBold
|
|
142
|
+
- DamascusLight
|
|
143
|
+
- DamascusMedium
|
|
144
|
+
- DamascusSemiBold
|
|
145
|
+
- Devanagari Sangam MN
|
|
146
|
+
- DevanagariSangamMN
|
|
147
|
+
- DevanagariSangamMN-Bold
|
|
148
|
+
- Didot
|
|
149
|
+
- Didot-Bold
|
|
150
|
+
- Didot-Italic
|
|
151
|
+
- DiwanMishafi
|
|
152
|
+
- Euphemia UCAS
|
|
153
|
+
- EuphemiaUCAS-Bold
|
|
154
|
+
- EuphemiaUCAS-Italic
|
|
155
|
+
- Farah
|
|
156
|
+
- Futura
|
|
157
|
+
- Futura-CondensedExtraBold
|
|
158
|
+
- Futura-CondensedMedium
|
|
159
|
+
- Futura-Medium
|
|
160
|
+
- Futura-MediumItalic
|
|
161
|
+
- Geeza Pro
|
|
162
|
+
- GeezaPro-Bold
|
|
163
|
+
- Georgia
|
|
164
|
+
- Georgia-Bold
|
|
165
|
+
- Georgia-BoldItalic
|
|
166
|
+
- Georgia-Italic
|
|
167
|
+
- Gill Sans
|
|
168
|
+
- GillSans-Bold
|
|
169
|
+
- GillSans-BoldItalic
|
|
170
|
+
- GillSans-Italic
|
|
171
|
+
- GillSans-Light
|
|
172
|
+
- GillSans-LightItalic
|
|
173
|
+
- GillSans-SemiBold
|
|
174
|
+
- GillSans-SemiBoldItalic
|
|
175
|
+
- GillSans-UltraBold
|
|
176
|
+
- Gujarati Sangam MN
|
|
177
|
+
- GujaratiSangamMN
|
|
178
|
+
- GujaratiSangamMN-Bold
|
|
179
|
+
- Gurmukhi MN
|
|
180
|
+
- GurmukhiMN-Bold
|
|
181
|
+
- Heiti SC
|
|
182
|
+
- Heiti TC
|
|
183
|
+
- Helvetica
|
|
184
|
+
- Helvetica Neue
|
|
185
|
+
- Helvetica-Bold
|
|
186
|
+
- Helvetica-BoldOblique
|
|
187
|
+
- Helvetica-Light
|
|
188
|
+
- Helvetica-LightOblique
|
|
189
|
+
- Helvetica-Oblique
|
|
190
|
+
- HelveticaNeue-Bold
|
|
191
|
+
- HelveticaNeue-BoldItalic
|
|
192
|
+
- HelveticaNeue-CondensedBlack
|
|
193
|
+
- HelveticaNeue-CondensedBold
|
|
194
|
+
- HelveticaNeue-Italic
|
|
195
|
+
- HelveticaNeue-Light
|
|
196
|
+
- HelveticaNeue-LightItalic
|
|
197
|
+
- HelveticaNeue-Medium
|
|
198
|
+
- HelveticaNeue-MediumItalic
|
|
199
|
+
- HelveticaNeue-Thin
|
|
200
|
+
- HelveticaNeue-ThinItalic
|
|
201
|
+
- HelveticaNeue-UltraLight
|
|
202
|
+
- HelveticaNeue-UltraLightItalic
|
|
203
|
+
- Hiragino Mincho ProN
|
|
204
|
+
- Hiragino Sans
|
|
205
|
+
- HiraginoSans-W3
|
|
206
|
+
- HiraginoSans-W6
|
|
207
|
+
- HiraMinProN-W3
|
|
208
|
+
- HiraMinProN-W6
|
|
209
|
+
- Hoefler Text
|
|
210
|
+
- HoeflerText-Black
|
|
211
|
+
- HoeflerText-BlackItalic
|
|
212
|
+
- HoeflerText-Italic
|
|
213
|
+
- HoeflerText-Regular
|
|
214
|
+
- Iowan Old Style
|
|
215
|
+
- IowanOldStyle-Bold
|
|
216
|
+
- IowanOldStyle-BoldItalic
|
|
217
|
+
- IowanOldStyle-Italic
|
|
218
|
+
- IowanOldStyle-Roman
|
|
219
|
+
- Kailasa
|
|
220
|
+
- Kailasa-Bold
|
|
221
|
+
- Kannada Sangam MN
|
|
222
|
+
- KannadaSangamMN
|
|
223
|
+
- KannadaSangamMN-Bold
|
|
224
|
+
- Khmer Sangam MN
|
|
225
|
+
- Kohinoor Bangla
|
|
226
|
+
- Kohinoor Devanagari
|
|
227
|
+
- Kohinoor Telugu
|
|
228
|
+
- KohinoorBangla-Light
|
|
229
|
+
- KohinoorBangla-Regular
|
|
230
|
+
- KohinoorBangla-Semibold
|
|
231
|
+
- KohinoorDevanagari-Light
|
|
232
|
+
- KohinoorDevanagari-Regular
|
|
233
|
+
- KohinoorDevanagari-Semibold
|
|
234
|
+
- KohinoorTelugu-Light
|
|
235
|
+
- KohinoorTelugu-Medium
|
|
236
|
+
- KohinoorTelugu-Regular
|
|
237
|
+
- Lao Sangam MN
|
|
238
|
+
- Malayalam Sangam MN
|
|
239
|
+
- MalayalamSangamMN
|
|
240
|
+
- MalayalamSangamMN-Bold
|
|
241
|
+
- Marker Felt
|
|
242
|
+
- MarkerFelt-Thin
|
|
243
|
+
- MarkerFelt-Wide
|
|
244
|
+
- Menlo
|
|
245
|
+
- Menlo-Bold
|
|
246
|
+
- Menlo-BoldItalic
|
|
247
|
+
- Menlo-Italic
|
|
248
|
+
- Menlo-Regular
|
|
249
|
+
- Mishafi
|
|
250
|
+
- Noteworthy
|
|
251
|
+
- Noteworthy-Bold
|
|
252
|
+
- Noteworthy-Light
|
|
253
|
+
- Optima
|
|
254
|
+
- Optima-Bold
|
|
255
|
+
- Optima-BoldItalic
|
|
256
|
+
- Optima-ExtraBlack
|
|
257
|
+
- Optima-Italic
|
|
258
|
+
- Optima-Regular
|
|
259
|
+
- Oriya Sangam MN
|
|
260
|
+
- OriyaSangamMN
|
|
261
|
+
- OriyaSangamMN-Bold
|
|
262
|
+
- Palatino
|
|
263
|
+
- Palatino-Bold
|
|
264
|
+
- Palatino-BoldItalic
|
|
265
|
+
- Palatino-Italic
|
|
266
|
+
- Palatino-Roman
|
|
267
|
+
- Papyrus
|
|
268
|
+
- Papyrus-Condensed
|
|
269
|
+
- Party LET
|
|
270
|
+
- PartyLetPlain
|
|
271
|
+
- PingFang HK
|
|
272
|
+
- PingFang SC
|
|
273
|
+
- PingFang TC
|
|
274
|
+
- PingFangHK-Light
|
|
275
|
+
- PingFangHK-Medium
|
|
276
|
+
- PingFangHK-Regular
|
|
277
|
+
- PingFangHK-Semibold
|
|
278
|
+
- PingFangHK-Thin
|
|
279
|
+
- PingFangHK-Ultralight
|
|
280
|
+
- PingFangSC-Light
|
|
281
|
+
- PingFangSC-Medium
|
|
282
|
+
- PingFangSC-Regular
|
|
283
|
+
- PingFangSC-Semibold
|
|
284
|
+
- PingFangSC-Thin
|
|
285
|
+
- PingFangSC-Ultralight
|
|
286
|
+
- PingFangTC-Light
|
|
287
|
+
- PingFangTC-Medium
|
|
288
|
+
- PingFangTC-Regular
|
|
289
|
+
- PingFangTC-Semibold
|
|
290
|
+
- PingFangTC-Thin
|
|
291
|
+
- PingFangTC-Ultralight
|
|
292
|
+
- Savoye LET
|
|
293
|
+
- SavoyeLetPlain
|
|
294
|
+
- Sinhala Sangam MN
|
|
295
|
+
- SinhalaSangamMN
|
|
296
|
+
- SinhalaSangamMN-Bold
|
|
297
|
+
- Snell Roundhand
|
|
298
|
+
- SnellRoundhand-Black
|
|
299
|
+
- SnellRoundhand-Bold
|
|
300
|
+
- Symbol
|
|
301
|
+
- Tamil Sangam MN
|
|
302
|
+
- TamilSangamMN-Bold
|
|
303
|
+
- Telugu Sangam MN
|
|
304
|
+
- Thonburi
|
|
305
|
+
- Thonburi-Bold
|
|
306
|
+
- Thonburi-Light
|
|
307
|
+
- Times New Roman
|
|
308
|
+
- TimesNewRomanPS-BoldItalicMT
|
|
309
|
+
- TimesNewRomanPS-BoldMT
|
|
310
|
+
- TimesNewRomanPS-ItalicMT
|
|
311
|
+
- TimesNewRomanPSMT
|
|
312
|
+
- Trebuchet MS
|
|
313
|
+
- Trebuchet-BoldItalic
|
|
314
|
+
- TrebuchetMS-Bold
|
|
315
|
+
- TrebuchetMS-Italic
|
|
316
|
+
- Verdana
|
|
317
|
+
- Verdana-Bold
|
|
318
|
+
- Verdana-BoldItalic
|
|
319
|
+
- Verdana-Italic
|
|
320
|
+
- Zapf Dingbats
|
|
321
|
+
- ZapfDingbatsITC
|
|
322
|
+
- Zapfino
|
package/types/bricks/Text.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ Default property:
|
|
|
36
36
|
property?: BrickBasicProperty & {
|
|
37
37
|
/* The text content */
|
|
38
38
|
text?: string | DataLink | number | DataLink | boolean | DataLink | string | DataLink | DataLink
|
|
39
|
-
/* Data to be used in the text template
|
|
39
|
+
/* Data to be used in the text template. Must be an OBJECT whose keys are the template variable names: `Hello ${name}` needs `{ name: ... }` (a linked data must resolve to such an object — linking a scalar leaves the template unresolved). Supports nested data, such as `Hello ${user.name}`. */
|
|
40
40
|
templateData?: {} | DataLink
|
|
41
41
|
/* The text template type */
|
|
42
42
|
templateType?: '${}' | '{{}}' | DataLink
|
|
@@ -80,6 +80,14 @@ Default property:
|
|
|
80
80
|
letterSpacing?: number | DataLink
|
|
81
81
|
/* The line height of text content (grid) */
|
|
82
82
|
lineHeight?: number | DataLink
|
|
83
|
+
/* The text top padding (grid) */
|
|
84
|
+
paddingTop?: number | DataLink
|
|
85
|
+
/* The text left padding (grid) */
|
|
86
|
+
paddingLeft?: number | DataLink
|
|
87
|
+
/* The text right padding (grid) */
|
|
88
|
+
paddingRight?: number | DataLink
|
|
89
|
+
/* The text bottom padding (grid) */
|
|
90
|
+
paddingBottom?: number | DataLink
|
|
83
91
|
/* The line number limit of text content */
|
|
84
92
|
lineNumber?: number | DataLink
|
|
85
93
|
/* The text align */
|
|
@@ -177,7 +177,7 @@ Default property:
|
|
|
177
177
|
onEmpty?: Array<EventAction>
|
|
178
178
|
/* Event of the TextInput value change */
|
|
179
179
|
onChange?: Array<EventAction<string & keyof TemplateEventPropsMap['TextInput']['onChange']>>
|
|
180
|
-
/* Event of the TextInput submit */
|
|
180
|
+
/* Event of the TextInput submit. Fires on EVERY submit attempt, even when the value does not match `regex` — to react only to a valid submit, gate on a data updated from the result outlet (e.g. `valueHit`), or handle the invalid case via `onResultNotMatch` */
|
|
181
181
|
onSubmit?: Array<EventAction<string & keyof TemplateEventPropsMap['TextInput']['onSubmit']>>
|
|
182
182
|
/* Event of the TextInput match regex (check every value change) */
|
|
183
183
|
onMatch?: Array<EventAction<string & keyof TemplateEventPropsMap['TextInput']['onMatch']>>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* Auto generated by build script
|
|
2
2
|
*
|
|
3
|
-
* LLM inference using Apple Intelligence on iOS
|
|
3
|
+
* LLM inference using Apple Intelligence on iOS 26+
|
|
4
4
|
*
|
|
5
5
|
* ## Features
|
|
6
6
|
* - Native Apple Intelligence integration
|
|
7
7
|
* - No model download required
|
|
8
8
|
* - Privacy-focused on-device processing
|
|
9
9
|
* - Optimized for Apple Silicon
|
|
10
|
-
* - Requires iOS 26+
|
|
10
|
+
* - Requires iOS 26+
|
|
11
11
|
*/
|
|
12
12
|
import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
|
|
13
13
|
import type { Data, DataLink } from '../data'
|
|
@@ -125,14 +125,14 @@ Default property:
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
/* LLM inference using Apple Intelligence on iOS
|
|
128
|
+
/* LLM inference using Apple Intelligence on iOS 26+
|
|
129
129
|
|
|
130
130
|
## Features
|
|
131
131
|
- Native Apple Intelligence integration
|
|
132
132
|
- No model download required
|
|
133
133
|
- Privacy-focused on-device processing
|
|
134
134
|
- Optimized for Apple Silicon
|
|
135
|
-
- Requires iOS 26+
|
|
135
|
+
- Requires iOS 26+ */
|
|
136
136
|
export type GeneratorAppleLLM = Generator &
|
|
137
137
|
GeneratorAppleLLMDef & {
|
|
138
138
|
templateKey: 'GENERATOR_APPLE_LLM'
|
|
@@ -493,6 +493,8 @@ Default property:
|
|
|
493
493
|
"ctxShift": true,
|
|
494
494
|
"cpuMoeLayers": 0,
|
|
495
495
|
"mtpSpeculativeDecoding": false,
|
|
496
|
+
"mtpDraftCacheKType": "f16",
|
|
497
|
+
"mtpDraftCacheVType": "f16",
|
|
496
498
|
"mtpDraftTokens": 3,
|
|
497
499
|
"transformScriptEnabled": false,
|
|
498
500
|
"transformScriptCode": "\/\* Global variable: inputs = { prompt, messages, variables }, members = { llmUtils } \*\/\nreturn inputs.prompt",
|
|
@@ -606,6 +608,36 @@ Default property:
|
|
|
606
608
|
cpuMoeLayers?: number | DataLink
|
|
607
609
|
/* Enable MTP speculative decoding for GGUF models that contain MTP / NextN layers */
|
|
608
610
|
mtpSpeculativeDecoding?: boolean | DataLink
|
|
611
|
+
/* URL or path of an optional separate GGUF draft model for speculative decoding. Leave empty for models with embedded MTP / NextN layers */
|
|
612
|
+
modelDraftUrl?: string | DataLink
|
|
613
|
+
/* Hash type of the separate draft model */
|
|
614
|
+
modelDraftHashType?: 'md5' | 'sha256' | 'sha1' | DataLink
|
|
615
|
+
/* Hash of the separate draft model */
|
|
616
|
+
modelDraftHash?: string | DataLink
|
|
617
|
+
/* Number of draft model layers stored in VRAM (-1 = auto, -2 = all) */
|
|
618
|
+
mtpDraftGpuLayers?: number | DataLink
|
|
619
|
+
/* KV cache data type for the separate draft model's K cache */
|
|
620
|
+
mtpDraftCacheKType?:
|
|
621
|
+
| 'f16'
|
|
622
|
+
| 'f32'
|
|
623
|
+
| 'q8_0'
|
|
624
|
+
| 'q4_0'
|
|
625
|
+
| 'q4_1'
|
|
626
|
+
| 'iq4_nl'
|
|
627
|
+
| 'q5_0'
|
|
628
|
+
| 'q5_1'
|
|
629
|
+
| DataLink
|
|
630
|
+
/* KV cache data type for the separate draft model's V cache */
|
|
631
|
+
mtpDraftCacheVType?:
|
|
632
|
+
| 'f16'
|
|
633
|
+
| 'f32'
|
|
634
|
+
| 'q8_0'
|
|
635
|
+
| 'q4_0'
|
|
636
|
+
| 'q4_1'
|
|
637
|
+
| 'iq4_nl'
|
|
638
|
+
| 'q5_0'
|
|
639
|
+
| 'q5_1'
|
|
640
|
+
| DataLink
|
|
609
641
|
/* Maximum number of MTP draft tokens */
|
|
610
642
|
mtpDraftTokens?: number | DataLink
|
|
611
643
|
/* Minimum number of MTP draft tokens */
|