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

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.25.0-beta.34",
3
+ "version": "2.25.0-beta.35",
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.25.0-beta.30",
10
+ "@fugood/bricks-cli": "^2.25.0-beta.35",
11
11
  "@huggingface/gguf": "^0.3.2",
12
12
  "@iarna/toml": "^3.0.0",
13
13
  "@modelcontextprotocol/sdk": "^1.15.0",
package/package.json.bak CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@fugood/bricks-ctor",
3
- "version": "2.25.0-beta.34",
3
+ "version": "2.25.0-beta.35",
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.25.0-beta.30",
10
+ "@fugood/bricks-cli": "^2.25.0-beta.35",
11
11
  "@huggingface/gguf": "^0.3.2",
12
12
  "@iarna/toml": "^3.0.0",
13
13
  "@modelcontextprotocol/sdk": "^1.15.0",
@@ -11,6 +11,8 @@
11
11
  * - Supported Hexagon NPU for Qualcomm Snapdragon 8 Gen 1+ GPUs.
12
12
  * - Linux / Windows [@nextline - Supported GPU acceleration, you can choose `vulkan` or `cuda` backend in Accel Variant property
13
13
  * - Supported Hexagon NPU for Qualcomm Dragonwing IQ9 series+ (Linux)
14
+ * - Web: Supported with CPU and WebGPU acceleration.
15
+ * - Single thread only in the current web preview (no SharedArrayBuffer due to cross-origin isolation / CORP), so multi-thread is unavailable.
14
16
  */
15
17
  import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
16
18
  import type { Data, DataLink } from '../data'
@@ -863,7 +865,9 @@ Default property:
863
865
  - Supported GPU acceleration by OpenCL, currently only for Qualcomm Adreno 700+ GPUs, other GPUs are not supported.
864
866
  - Supported Hexagon NPU for Qualcomm Snapdragon 8 Gen 1+ GPUs.
865
867
  - Linux / Windows [@nextline - Supported GPU acceleration, you can choose `vulkan` or `cuda` backend in Accel Variant property
866
- - Supported Hexagon NPU for Qualcomm Dragonwing IQ9 series+ (Linux) */
868
+ - Supported Hexagon NPU for Qualcomm Dragonwing IQ9 series+ (Linux)
869
+ - Web: Supported with CPU and WebGPU acceleration.
870
+ - Single thread only in the current web preview (no SharedArrayBuffer due to cross-origin isolation / CORP), so multi-thread is unavailable. */
867
871
  export type GeneratorLLM = Generator &
868
872
  GeneratorLLMDef & {
869
873
  templateKey: 'GENERATOR_LLM'
@@ -12,6 +12,8 @@
12
12
  * - Linux / Windows
13
13
  * - Supported GPU acceleration, you can choose `vulkan` or `cuda` backend in Accel Variant property
14
14
  * - Supported Hexagon NPU for Qualcomm Dragonwing IQ9 series+ (Linux)
15
+ * - Web: Supported with CPU and WebGPU acceleration.
16
+ * - Single thread only in the current web preview (no SharedArrayBuffer due to cross-origin isolation / CORP), so multi-thread is unavailable.
15
17
  */
16
18
  import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from '../switch'
17
19
  import type { Data, DataLink } from '../data'
@@ -163,7 +165,9 @@ Default property:
163
165
  - Supported Hexagon NPU for Qualcomm Snapdragon 8 Gen 2+ GPUs.
164
166
  - Linux / Windows
165
167
  - Supported GPU acceleration, you can choose `vulkan` or `cuda` backend in Accel Variant property
166
- - Supported Hexagon NPU for Qualcomm Dragonwing IQ9 series+ (Linux) */
168
+ - Supported Hexagon NPU for Qualcomm Dragonwing IQ9 series+ (Linux)
169
+ - Web: Supported with CPU and WebGPU acceleration.
170
+ - Single thread only in the current web preview (no SharedArrayBuffer due to cross-origin isolation / CORP), so multi-thread is unavailable. */
167
171
  export type GeneratorReranker = Generator &
168
172
  GeneratorRerankerDef & {
169
173
  templateKey: 'GENERATOR_RERANKER'
@@ -54,7 +54,8 @@ Default property:
54
54
  "autoCuttingVocalFreqMin": 75,
55
55
  "autoCuttingVocalFreqMax": 900,
56
56
  "autoCuttingFreqClarity": 0.5,
57
- "autoCuttingSpeakSpacing": 0.5
57
+ "autoCuttingSpeakSpacing": 0.5,
58
+ "userMediaAudioOptions": {}
58
59
  }
59
60
  */
60
61
  property?: {
@@ -86,6 +87,14 @@ Default property:
86
87
  autoCuttingVolumeThreshold?: number | DataLink
87
88
  /* Speak spacing of cutting fragments */
88
89
  autoCuttingSpeakSpacing?: number | DataLink
90
+ /* Custom getUserMedia audio options for Web / Desktop. Merged into the audio constraints. */
91
+ userMediaAudioOptions?:
92
+ | DataLink
93
+ | {
94
+ autoGainControl?: boolean | DataLink
95
+ echoCancellation?: boolean | DataLink
96
+ noiseSuppression?: boolean | DataLink
97
+ }
89
98
  }
90
99
  events?: {
91
100
  /* Event for chunk data (Base64 encoded PCM) */