@dxos/plugin-transformer 0.13.0 → 0.14.0

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": "@dxos/plugin-transformer",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Client transformer",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -81,12 +81,12 @@
81
81
  "@huggingface/transformers": "^3.8.1",
82
82
  "@xenova/transformers": "^2.17.2",
83
83
  "effect": "4.0.0",
84
- "@dxos/app-framework": "0.13.0",
85
- "@dxos/app-toolkit": "0.13.0",
86
- "@dxos/invariant": "0.13.0",
87
- "@dxos/log": "0.13.0",
88
- "@dxos/plugin-client": "0.13.0",
89
- "@dxos/util": "0.13.0"
84
+ "@dxos/app-toolkit": "0.14.0",
85
+ "@dxos/app-framework": "0.14.0",
86
+ "@dxos/invariant": "0.14.0",
87
+ "@dxos/log": "0.14.0",
88
+ "@dxos/plugin-client": "0.14.0",
89
+ "@dxos/util": "0.14.0"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@storybook/react-vite": "^10.6.0",
@@ -95,16 +95,16 @@
95
95
  "react": "~19.2.7",
96
96
  "react-dom": "~19.2.7",
97
97
  "vite": "^8.2.2",
98
- "@dxos/plugin-testing": "0.13.0",
99
- "@dxos/react-ui": "0.13.0",
100
- "@dxos/ui-theme": "0.13.0"
98
+ "@dxos/plugin-testing": "0.14.0",
99
+ "@dxos/react-ui": "0.14.0",
100
+ "@dxos/ui-theme": "0.14.0"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "effect": "4.0.0",
104
104
  "react": "~19.2.7",
105
105
  "react-dom": "~19.2.7",
106
- "@dxos/react-ui": "^0.13.0",
107
- "@dxos/ui-theme": "^0.13.0"
106
+ "@dxos/react-ui": "^0.14.0",
107
+ "@dxos/ui-theme": "^0.14.0"
108
108
  },
109
109
  "publishConfig": {
110
110
  "access": "public"
@@ -30,32 +30,32 @@ export const DebugInfo: FC<Partial<DebugInfoProps>> = ({
30
30
  return (
31
31
  <div className='p-4'>
32
32
  {error && (
33
- <div className='mb-4 text-red-600'>
33
+ <div className='mb-4 text-error-text'>
34
34
  <strong>Error:</strong> {error}
35
35
  </div>
36
36
  )}
37
37
  {isModelLoading && (
38
38
  <div className='mb-4'>
39
39
  <div>Loading model...</div>
40
- <div className='text-sm text-gray-500'>This may take a few moments</div>
40
+ <div className='text-sm text-fg-muted'>This may take a few moments</div>
41
41
  </div>
42
42
  )}
43
43
  {stream ? (
44
44
  <div>
45
- <div className='mb-2 text-green-600'>
45
+ <div className='mb-2 text-success-text'>
46
46
  <strong>Status:</strong> Microphone is active
47
47
  {debug && audioLevel && (
48
- <div className='mt-2 w-48 h-5 bg-gray-200 rounded-sm relative'>
48
+ <div className='mt-2 w-48 h-5 bg-neutral-surface rounded-sm relative'>
49
49
  <div
50
- className='h-full bg-green-500 transition-all duration-100 rounded-sm'
50
+ className='h-full bg-success-bg transition-all duration-100 rounded-sm'
51
51
  style={{ width: `${(audioLevel / 255) * 100}%` }}
52
52
  />
53
53
  </div>
54
54
  )}
55
55
  </div>
56
- {isTranscribing && <div className='mb-2 text-gray-500'>Processing audio...</div>}
56
+ {isTranscribing && <div className='mb-2 text-fg-muted'>Processing audio...</div>}
57
57
  {debug && (
58
- <div className='mb-4 text-sm text-gray-500 space-y-1'>
58
+ <div className='mb-4 text-sm text-fg-muted space-y-1'>
59
59
  <div>Model: {model}</div>
60
60
  <div>Sample Rate: 16000 Hz</div>
61
61
  <div>Format: audio/wav</div>
@@ -67,12 +67,12 @@ export const DebugInfo: FC<Partial<DebugInfoProps>> = ({
67
67
  {transcription && (
68
68
  <div className='mt-4'>
69
69
  <strong>Transcription:</strong>
70
- <p className='mt-2 p-4 bg-gray-100 rounded-sm whitespace-pre-wrap'>{transcription}</p>
70
+ <p className='mt-2 p-4 bg-group-surface rounded-sm whitespace-pre-wrap'>{transcription}</p>
71
71
  </div>
72
72
  )}
73
73
  </div>
74
74
  ) : (
75
- <div>{!isModelLoading && !error && <div className='text-gray-500'>Microphone is inactive</div>}</div>
75
+ <div>{!isModelLoading && !error && <div className='text-fg-muted'>Microphone is inactive</div>}</div>
76
76
  )}
77
77
  </div>
78
78
  );