@fugood/bricks-project 2.23.0-beta.1 → 2.23.0-beta.3
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fugood/bricks-project",
|
|
3
|
-
"version": "2.23.0-beta.
|
|
3
|
+
"version": "2.23.0-beta.3",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node scripts/build.js"
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"lodash": "^4.17.4",
|
|
15
15
|
"uuid": "^8.3.1"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "dc9fcb1792c91cb150ffc976017fd8fcaf8c32a7"
|
|
18
18
|
}
|
|
@@ -15,6 +15,7 @@ Default property:
|
|
|
15
15
|
{
|
|
16
16
|
"enabled": true,
|
|
17
17
|
"keyMap": {},
|
|
18
|
+
"keyOutletPrefer": "auto",
|
|
18
19
|
"batchStopKeys": [
|
|
19
20
|
13
|
|
20
21
|
],
|
|
@@ -24,15 +25,18 @@ Default property:
|
|
|
24
25
|
property?: {
|
|
25
26
|
/* Enable listening for input */
|
|
26
27
|
enabled?: boolean | DataLink
|
|
27
|
-
/* Key map to transform key or key code to the designated content
|
|
28
|
+
/* Key map to transform key or key code to the designated content
|
|
29
|
+
Example: { 37: 'left', 38: 'up', 39: 'right', 40: 'down', 'Enter': 'confirm' }
|
|
30
|
+
Supports both key codes (numbers) and key names (strings) as keys */
|
|
28
31
|
keyMap?: {} | DataLink
|
|
29
32
|
/* Key outlet preference use key code or key. */
|
|
30
33
|
keyOutletPrefer?: 'auto' | 'key-code' | 'key' | DataLink
|
|
31
|
-
/* Key or code to finish
|
|
34
|
+
/* Key or code to finish batch input
|
|
35
|
+
Common values: 13 (Enter), 27 (Escape), 'Enter', 'Escape' */
|
|
32
36
|
batchStopKeys?: Array<string | DataLink | number | DataLink | DataLink> | DataLink
|
|
33
|
-
/* Debounce time (ms) to finish
|
|
37
|
+
/* Debounce time (ms) to finish batch input */
|
|
34
38
|
batchDebounce?: number | DataLink
|
|
35
|
-
/* Maximum wait time (ms) to finish
|
|
39
|
+
/* Maximum wait time (ms) to finish batch input (default: unlimited) */
|
|
36
40
|
batchDebounceMaxWait?: number | DataLink
|
|
37
41
|
}
|
|
38
42
|
events?: {
|
|
@@ -40,7 +44,7 @@ Default property:
|
|
|
40
44
|
onDown?: Array<EventAction>
|
|
41
45
|
/* Event on key up */
|
|
42
46
|
onUp?: Array<EventAction>
|
|
43
|
-
/* Event on
|
|
47
|
+
/* Event on batch input complete */
|
|
44
48
|
onBatch?: Array<EventAction>
|
|
45
49
|
}
|
|
46
50
|
outlets?: {
|
|
@@ -52,7 +56,7 @@ Default property:
|
|
|
52
56
|
lastKeyUp?: () => Data
|
|
53
57
|
/* Modifier key information on last key release */
|
|
54
58
|
lastKeyUpFlags?: () => Data
|
|
55
|
-
/* Last
|
|
59
|
+
/* Last batch event */
|
|
56
60
|
lastBatchEvents?: () => Data
|
|
57
61
|
}
|
|
58
62
|
}
|
|
@@ -633,6 +633,14 @@ Default property:
|
|
|
633
633
|
completionTypicalP?: number | DataLink
|
|
634
634
|
/* Repeat alpha frequency penalty (default: 0.1, 0.0 = disabled) */
|
|
635
635
|
completionIgnoreEOS?: boolean | DataLink
|
|
636
|
+
/* Buttress connection settings for remote inference */
|
|
637
|
+
buttressConnectionSettings?:
|
|
638
|
+
| DataLink
|
|
639
|
+
| {
|
|
640
|
+
url?: string | DataLink
|
|
641
|
+
trpcPath?: string | DataLink
|
|
642
|
+
fallbackType?: 'use-local' | 'no-op' | DataLink
|
|
643
|
+
}
|
|
636
644
|
}
|
|
637
645
|
events?: {
|
|
638
646
|
/* Event triggered when context state changes */
|
|
@@ -29,7 +29,7 @@ Default property:
|
|
|
29
29
|
init?: boolean | DataLink
|
|
30
30
|
/* URL of crawler request */
|
|
31
31
|
url?: string | DataLink
|
|
32
|
-
/*
|
|
32
|
+
/* Method of crawler request
|
|
33
33
|
|
|
34
34
|
Platform not supported for `webview`: tvOS, Desktop, Web */
|
|
35
35
|
method?: 'webview' | 'http' | DataLink
|
package/utils/data.ts
CHANGED
|
@@ -79,6 +79,7 @@ type SystemDataName =
|
|
|
79
79
|
| 'systemOpenAIApiKey'
|
|
80
80
|
| 'systemAnthropicApiKey'
|
|
81
81
|
| 'systemGeminiApiKey'
|
|
82
|
+
| 'ggmlBackendDevices'
|
|
82
83
|
|
|
83
84
|
type SystemDataInfo = {
|
|
84
85
|
name: SystemDataName
|
|
@@ -468,6 +469,15 @@ export const systemDataList: Array<SystemDataInfo> = [
|
|
|
468
469
|
type: 'string',
|
|
469
470
|
value: '',
|
|
470
471
|
},
|
|
472
|
+
{
|
|
473
|
+
name: 'ggmlBackendDevices',
|
|
474
|
+
id: 'PROPERTY_BANK_DATA_NODE_9e8f7a6b-5c4d-3e2f-1a0b-9c8d7e6f5a4b',
|
|
475
|
+
title: 'SYSTEM: GGML Backend Devices',
|
|
476
|
+
description: 'Available GGML backend devices with supported generators',
|
|
477
|
+
schema: { type: 'object', allowNewItem: false, allowCustomProperty: false },
|
|
478
|
+
type: 'array',
|
|
479
|
+
value: [],
|
|
480
|
+
},
|
|
471
481
|
]
|
|
472
482
|
|
|
473
483
|
export const useSystemData = (name: SystemDataName): Data => {
|
package/utils/event-props.ts
CHANGED
|
@@ -234,7 +234,7 @@ export const templateEventPropsMap = {
|
|
|
234
234
|
'GENERATOR_ALARM_CLOCK_CURRENT_TIME', // type: string
|
|
235
235
|
'GENERATOR_ALARM_CLOCK_CURRENT_TIMESTAMP', // type: number
|
|
236
236
|
'GENERATOR_ALARM_CLOCK_REASON', // type: string
|
|
237
|
-
'GENERATOR_ALARM_CLOCK_MAX_TRIGS', // type:
|
|
237
|
+
'GENERATOR_ALARM_CLOCK_MAX_TRIGS', // type: number
|
|
238
238
|
'GENERATOR_ALARM_CLOCK_STOP_AT', // type: string
|
|
239
239
|
],
|
|
240
240
|
},
|