@kubohiroya/turbowarp-openai-realtime-api 0.1.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.
@@ -0,0 +1,240 @@
1
+ {
2
+ "formatVersion": 1,
3
+ "id": "kubohiroyaopenairealtime",
4
+ "blocks": [
5
+ {
6
+ "opcode": "configureRelay",
7
+ "blockType": "COMMAND",
8
+ "arguments": [
9
+ {
10
+ "id": "ENDPOINT",
11
+ "type": "STRING"
12
+ }
13
+ ]
14
+ },
15
+ {
16
+ "opcode": "connect",
17
+ "blockType": "COMMAND",
18
+ "arguments": [
19
+ {
20
+ "id": "MICROPHONE",
21
+ "type": "STRING",
22
+ "menu": "onOff"
23
+ }
24
+ ]
25
+ },
26
+ {
27
+ "opcode": "connectionState",
28
+ "blockType": "REPORTER",
29
+ "arguments": []
30
+ },
31
+ {
32
+ "opcode": "currentModel",
33
+ "blockType": "REPORTER",
34
+ "arguments": []
35
+ },
36
+ {
37
+ "opcode": "defineFunction",
38
+ "blockType": "HAT",
39
+ "arguments": [
40
+ {
41
+ "id": "DESCRIPTION",
42
+ "type": "STRING"
43
+ },
44
+ {
45
+ "id": "EXPORT",
46
+ "type": "STRING",
47
+ "menu": "exportModes"
48
+ },
49
+ {
50
+ "id": "NAME",
51
+ "type": "STRING"
52
+ },
53
+ {
54
+ "id": "SCHEMA",
55
+ "type": "STRING"
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "opcode": "disconnect",
61
+ "blockType": "COMMAND",
62
+ "arguments": []
63
+ },
64
+ {
65
+ "opcode": "functionArgument",
66
+ "blockType": "REPORTER",
67
+ "arguments": [
68
+ {
69
+ "id": "PATH",
70
+ "type": "STRING"
71
+ }
72
+ ]
73
+ },
74
+ {
75
+ "opcode": "functionArgumentsJson",
76
+ "blockType": "REPORTER",
77
+ "arguments": []
78
+ },
79
+ {
80
+ "opcode": "isConnected",
81
+ "blockType": "BOOLEAN",
82
+ "arguments": []
83
+ },
84
+ {
85
+ "opcode": "isRelayPaired",
86
+ "blockType": "BOOLEAN",
87
+ "arguments": []
88
+ },
89
+ {
90
+ "opcode": "lastError",
91
+ "blockType": "REPORTER",
92
+ "arguments": []
93
+ },
94
+ {
95
+ "opcode": "lastResponseText",
96
+ "blockType": "REPORTER",
97
+ "arguments": []
98
+ },
99
+ {
100
+ "opcode": "pairRelay",
101
+ "blockType": "COMMAND",
102
+ "arguments": [
103
+ {
104
+ "id": "CODE",
105
+ "type": "STRING"
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "opcode": "resetUsage",
111
+ "blockType": "COMMAND",
112
+ "arguments": []
113
+ },
114
+ {
115
+ "opcode": "returnValue",
116
+ "blockType": "COMMAND",
117
+ "arguments": [
118
+ {
119
+ "id": "VALUE",
120
+ "type": "STRING"
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "opcode": "sendText",
126
+ "blockType": "COMMAND",
127
+ "arguments": [
128
+ {
129
+ "id": "TEXT",
130
+ "type": "STRING"
131
+ }
132
+ ]
133
+ },
134
+ {
135
+ "opcode": "sessionElapsed",
136
+ "blockType": "REPORTER",
137
+ "arguments": []
138
+ },
139
+ {
140
+ "opcode": "setInstructions",
141
+ "blockType": "COMMAND",
142
+ "arguments": [
143
+ {
144
+ "id": "TEXT",
145
+ "type": "STRING"
146
+ }
147
+ ]
148
+ },
149
+ {
150
+ "opcode": "setModel",
151
+ "blockType": "COMMAND",
152
+ "arguments": [
153
+ {
154
+ "id": "MODEL",
155
+ "type": "STRING",
156
+ "menu": "models"
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ "opcode": "setOutputMode",
162
+ "blockType": "COMMAND",
163
+ "arguments": [
164
+ {
165
+ "id": "MODE",
166
+ "type": "STRING",
167
+ "menu": "outputModes"
168
+ }
169
+ ]
170
+ },
171
+ {
172
+ "opcode": "setSessionTimeLimit",
173
+ "blockType": "COMMAND",
174
+ "arguments": [
175
+ {
176
+ "id": "SECONDS",
177
+ "type": "NUMBER"
178
+ }
179
+ ]
180
+ },
181
+ {
182
+ "opcode": "setVoice",
183
+ "blockType": "COMMAND",
184
+ "arguments": [
185
+ {
186
+ "id": "VOICE",
187
+ "type": "STRING",
188
+ "menu": "voices"
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "opcode": "usageValue",
194
+ "blockType": "REPORTER",
195
+ "arguments": [
196
+ {
197
+ "id": "FIELD",
198
+ "type": "STRING",
199
+ "menu": "usageFields"
200
+ }
201
+ ]
202
+ },
203
+ {
204
+ "opcode": "whenResponseDone",
205
+ "blockType": "HAT",
206
+ "arguments": []
207
+ },
208
+ {
209
+ "opcode": "whenSessionTimeLimitReached",
210
+ "blockType": "HAT",
211
+ "arguments": []
212
+ }
213
+ ],
214
+ "menus": [
215
+ {
216
+ "id": "exportModes",
217
+ "acceptReporters": false
218
+ },
219
+ {
220
+ "id": "models",
221
+ "acceptReporters": true
222
+ },
223
+ {
224
+ "id": "onOff",
225
+ "acceptReporters": false
226
+ },
227
+ {
228
+ "id": "outputModes",
229
+ "acceptReporters": false
230
+ },
231
+ {
232
+ "id": "usageFields",
233
+ "acceptReporters": false
234
+ },
235
+ {
236
+ "id": "voices",
237
+ "acceptReporters": true
238
+ }
239
+ ]
240
+ }