robopark 3.3.36 → 3.3.37
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/dist/robopark/add-robot.js +2 -2
- package/dist/robopark/add-robot.js.map +1 -1
- package/dist/robopark/kiosk-browser.js +145 -0
- package/dist/robopark/kiosk-browser.js.map +1 -0
- package/dist/robopark/start.js +295 -0
- package/dist/robopark/start.js.map +1 -0
- package/dist/robopark/voice-list.js +23 -12
- package/dist/robopark/voice-list.js.map +1 -1
- package/dist/robopark-cli.js +21 -0
- package/dist/robopark-cli.js.map +1 -1
- package/package.json +7 -3
- package/scheduler/main.py +150 -30
- package/ui/standalone/.next/BUILD_ID +1 -1
- package/ui/standalone/.next/app-build-manifest.json +72 -72
- package/ui/standalone/.next/app-path-routes-manifest.json +18 -18
- package/ui/standalone/.next/build-manifest.json +2 -2
- package/ui/standalone/.next/server/app/api/robovoice/robots/[robotId]/media-health/route.js +1 -1
- package/ui/standalone/.next/server/app/fed/[...path]/route.js +2 -2
- package/ui/standalone/.next/server/app/fed/media/robots/[robotId]/video_feed/route.js +1 -1
- package/ui/standalone/.next/server/app/robopark/[...path]/route.js +1 -1
- package/ui/standalone/.next/server/app/robopark/api/robots/[robotId]/stream/route.js +1 -1
- package/ui/standalone/.next/server/app-paths-manifest.json +18 -18
- package/ui/standalone/.next/server/pages/500.html +1 -1
- package/scheduler/__pycache__/main.cpython-312.pyc +0 -0
- package/ui/standalone/.next/server/chunks/5123.js +0 -11
- package/ui/standalone/.next/server/chunks/7661.js +0 -11
- package/ui/standalone/.next/static/ULHwbueNr3RGevy8FSrTW/_buildManifest.js +0 -1
- package/ui/standalone/.next/static/ULHwbueNr3RGevy8FSrTW/_ssgManifest.js +0 -1
- package/ui/standalone/.next/static/Xg-e8h70WpdFcsZ2vcfOG/_buildManifest.js +0 -1
- package/ui/standalone/.next/static/Xg-e8h70WpdFcsZ2vcfOG/_ssgManifest.js +0 -1
- package/ui/standalone/.next/static/chunks/app/(app)/voice/page-d98593eea4888404.js +0 -1
- package/ui/standalone/.next/static/chunks/app/_not-found/page-9f0acae7481c60bb.js +0 -1
- package/ui/standalone/.next/static/chunks/app/layout-4829e027e68fded4.js +0 -1
- package/ui/standalone/.next/static/chunks/app/voice-tester/page-f5ad3acef9248b78.js +0 -1
- package/ui/standalone/.next/static/chunks/main-app-f2b2a716b0f3924b.js +0 -1
- package/ui/standalone/.next/static/gGysrZrp8HXGK_0MbZa9v/_buildManifest.js +0 -1
- package/ui/standalone/.next/static/gGysrZrp8HXGK_0MbZa9v/_ssgManifest.js +0 -1
- package/ui/standalone/.next/static/tDI_bBJ7vZjqqxcXg1GZn/_buildManifest.js +0 -1
- package/ui/standalone/.next/static/tDI_bBJ7vZjqqxcXg1GZn/_ssgManifest.js +0 -1
- package/ui/standalone/.next/static/zAWQgn-m46BFpT3z33lh-/_buildManifest.js +0 -1
- package/ui/standalone/.next/static/zAWQgn-m46BFpT3z33lh-/_ssgManifest.js +0 -1
- /package/ui/standalone/.next/static/{KwY1YC79lI9nQqOVYXOmY → 8E9-VDckMmTbkbuwnaatU}/_buildManifest.js +0 -0
- /package/ui/standalone/.next/static/{KwY1YC79lI9nQqOVYXOmY → 8E9-VDckMmTbkbuwnaatU}/_ssgManifest.js +0 -0
|
@@ -7,6 +7,17 @@
|
|
|
7
7
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
8
8
|
"static/chunks/app/_not-found/page-cfd7daa82d71540c.js"
|
|
9
9
|
],
|
|
10
|
+
"/layout": [
|
|
11
|
+
"static/chunks/webpack-5252e5254da079b5.js",
|
|
12
|
+
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
13
|
+
"static/chunks/1255-404bb8de49c90395.js",
|
|
14
|
+
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
15
|
+
"static/css/3f478a573f9be82e.css",
|
|
16
|
+
"static/css/51560c4af1d5a21f.css",
|
|
17
|
+
"static/chunks/144d3bae-bd5d150c0cab972e.js",
|
|
18
|
+
"static/chunks/9880-53262785284464cc.js",
|
|
19
|
+
"static/chunks/app/layout-fcce963da1d8220f.js"
|
|
20
|
+
],
|
|
10
21
|
"/api/device-character/route": [
|
|
11
22
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
12
23
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
@@ -28,13 +39,6 @@
|
|
|
28
39
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
29
40
|
"static/chunks/app/api/models/route-0952b44bda5bfb6d.js"
|
|
30
41
|
],
|
|
31
|
-
"/api/prewarm/route": [
|
|
32
|
-
"static/chunks/webpack-5252e5254da079b5.js",
|
|
33
|
-
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
34
|
-
"static/chunks/1255-404bb8de49c90395.js",
|
|
35
|
-
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
36
|
-
"static/chunks/app/api/prewarm/route-0952b44bda5bfb6d.js"
|
|
37
|
-
],
|
|
38
42
|
"/api/prompt/route": [
|
|
39
43
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
40
44
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
@@ -42,16 +46,12 @@
|
|
|
42
46
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
43
47
|
"static/chunks/app/api/prompt/route-0952b44bda5bfb6d.js"
|
|
44
48
|
],
|
|
45
|
-
"/
|
|
49
|
+
"/api/prewarm/route": [
|
|
46
50
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
47
51
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
48
52
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
49
53
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
50
|
-
"static/
|
|
51
|
-
"static/css/51560c4af1d5a21f.css",
|
|
52
|
-
"static/chunks/144d3bae-bd5d150c0cab972e.js",
|
|
53
|
-
"static/chunks/9880-53262785284464cc.js",
|
|
54
|
-
"static/chunks/app/layout-fcce963da1d8220f.js"
|
|
54
|
+
"static/chunks/app/api/prewarm/route-0952b44bda5bfb6d.js"
|
|
55
55
|
],
|
|
56
56
|
"/api/reload-tools/route": [
|
|
57
57
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -74,6 +74,13 @@
|
|
|
74
74
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
75
75
|
"static/chunks/app/api/robopark/robots/[robotId]/operations/route-0952b44bda5bfb6d.js"
|
|
76
76
|
],
|
|
77
|
+
"/api/robopark/sessions/[sessionId]/end/route": [
|
|
78
|
+
"static/chunks/webpack-5252e5254da079b5.js",
|
|
79
|
+
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
80
|
+
"static/chunks/1255-404bb8de49c90395.js",
|
|
81
|
+
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
82
|
+
"static/chunks/app/api/robopark/sessions/[sessionId]/end/route-0952b44bda5bfb6d.js"
|
|
83
|
+
],
|
|
77
84
|
"/api/robopark/transcripts/[sessionId]/route": [
|
|
78
85
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
79
86
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
@@ -81,12 +88,12 @@
|
|
|
81
88
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
82
89
|
"static/chunks/app/api/robopark/transcripts/[sessionId]/route-0952b44bda5bfb6d.js"
|
|
83
90
|
],
|
|
84
|
-
"/api/
|
|
91
|
+
"/api/setup/complete/route": [
|
|
85
92
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
86
93
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
87
94
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
88
95
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
89
|
-
"static/chunks/app/api/
|
|
96
|
+
"static/chunks/app/api/setup/complete/route-0952b44bda5bfb6d.js"
|
|
90
97
|
],
|
|
91
98
|
"/api/setup/status/route": [
|
|
92
99
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -95,19 +102,19 @@
|
|
|
95
102
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
96
103
|
"static/chunks/app/api/setup/status/route-0952b44bda5bfb6d.js"
|
|
97
104
|
],
|
|
98
|
-
"/api/setup/
|
|
105
|
+
"/api/setup/test-groq/route": [
|
|
99
106
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
100
107
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
101
108
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
102
109
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
103
|
-
"static/chunks/app/api/setup/
|
|
110
|
+
"static/chunks/app/api/setup/test-groq/route-0952b44bda5bfb6d.js"
|
|
104
111
|
],
|
|
105
|
-
"/api/setup/test-
|
|
112
|
+
"/api/setup/test-hass/route": [
|
|
106
113
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
107
114
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
108
115
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
109
116
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
110
|
-
"static/chunks/app/api/setup/test-
|
|
117
|
+
"static/chunks/app/api/setup/test-hass/route-0952b44bda5bfb6d.js"
|
|
111
118
|
],
|
|
112
119
|
"/api/setup/test-n8n/route": [
|
|
113
120
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -116,33 +123,33 @@
|
|
|
116
123
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
117
124
|
"static/chunks/app/api/setup/test-n8n/route-0952b44bda5bfb6d.js"
|
|
118
125
|
],
|
|
119
|
-
"/api/
|
|
126
|
+
"/api/test-tts/route": [
|
|
120
127
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
121
128
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
122
129
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
123
130
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
124
|
-
"static/chunks/app/api/
|
|
131
|
+
"static/chunks/app/api/test-tts/route-0952b44bda5bfb6d.js"
|
|
125
132
|
],
|
|
126
|
-
"/api/
|
|
133
|
+
"/api/voices/route": [
|
|
127
134
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
128
135
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
129
136
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
130
137
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
131
|
-
"static/chunks/app/api/
|
|
138
|
+
"static/chunks/app/api/voices/route-0952b44bda5bfb6d.js"
|
|
132
139
|
],
|
|
133
|
-
"/api/test-
|
|
140
|
+
"/api/setup/test-ollama/route": [
|
|
134
141
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
135
142
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
136
143
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
137
144
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
138
|
-
"static/chunks/app/api/test-
|
|
145
|
+
"static/chunks/app/api/setup/test-ollama/route-0952b44bda5bfb6d.js"
|
|
139
146
|
],
|
|
140
|
-
"/api/
|
|
147
|
+
"/api/wake-word/models/route": [
|
|
141
148
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
142
149
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
143
150
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
144
151
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
145
|
-
"static/chunks/app/api/
|
|
152
|
+
"static/chunks/app/api/wake-word/models/route-0952b44bda5bfb6d.js"
|
|
146
153
|
],
|
|
147
154
|
"/api/wake-word/status/route": [
|
|
148
155
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -158,12 +165,12 @@
|
|
|
158
165
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
159
166
|
"static/chunks/app/api/wake-word/upload/route-0952b44bda5bfb6d.js"
|
|
160
167
|
],
|
|
161
|
-
"/api/
|
|
168
|
+
"/api/kiosk-hardware/route": [
|
|
162
169
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
163
170
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
164
171
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
165
172
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
166
|
-
"static/chunks/app/api/
|
|
173
|
+
"static/chunks/app/api/kiosk-hardware/route-0952b44bda5bfb6d.js"
|
|
167
174
|
],
|
|
168
175
|
"/api/model-status/route": [
|
|
169
176
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -172,13 +179,6 @@
|
|
|
172
179
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
173
180
|
"static/chunks/app/api/model-status/route-0952b44bda5bfb6d.js"
|
|
174
181
|
],
|
|
175
|
-
"/api/kiosk-hardware/route": [
|
|
176
|
-
"static/chunks/webpack-5252e5254da079b5.js",
|
|
177
|
-
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
178
|
-
"static/chunks/1255-404bb8de49c90395.js",
|
|
179
|
-
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
180
|
-
"static/chunks/app/api/kiosk-hardware/route-0952b44bda5bfb6d.js"
|
|
181
|
-
],
|
|
182
182
|
"/api/connection-details/route": [
|
|
183
183
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
184
184
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
@@ -193,12 +193,12 @@
|
|
|
193
193
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
194
194
|
"static/chunks/app/api/robopark/character-ai/route-0952b44bda5bfb6d.js"
|
|
195
195
|
],
|
|
196
|
-
"/api/robopark/
|
|
196
|
+
"/api/robopark/device-access/route": [
|
|
197
197
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
198
198
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
199
199
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
200
200
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
201
|
-
"static/chunks/app/api/robopark/
|
|
201
|
+
"static/chunks/app/api/robopark/device-access/route-0952b44bda5bfb6d.js"
|
|
202
202
|
],
|
|
203
203
|
"/api/robopark/camera-token/route": [
|
|
204
204
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -207,61 +207,61 @@
|
|
|
207
207
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
208
208
|
"static/chunks/app/api/robopark/camera-token/route-0952b44bda5bfb6d.js"
|
|
209
209
|
],
|
|
210
|
-
"/api/robopark/
|
|
210
|
+
"/api/robopark/live-rooms/route": [
|
|
211
211
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
212
212
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
213
213
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
214
214
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
215
|
-
"static/chunks/app/api/robopark/
|
|
215
|
+
"static/chunks/app/api/robopark/live-rooms/route-0952b44bda5bfb6d.js"
|
|
216
216
|
],
|
|
217
|
-
"/api/robopark/
|
|
217
|
+
"/api/robopark/monitor-token/route": [
|
|
218
218
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
219
219
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
220
220
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
221
221
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
222
|
-
"static/chunks/app/api/robopark/
|
|
222
|
+
"static/chunks/app/api/robopark/monitor-token/route-0952b44bda5bfb6d.js"
|
|
223
223
|
],
|
|
224
|
-
"/api/robopark/
|
|
224
|
+
"/api/robopark/servers/[serverId]/metrics/route": [
|
|
225
225
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
226
226
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
227
227
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
228
228
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
229
|
-
"static/chunks/app/api/robopark/
|
|
229
|
+
"static/chunks/app/api/robopark/servers/[serverId]/metrics/route-0952b44bda5bfb6d.js"
|
|
230
230
|
],
|
|
231
|
-
"/api/robopark/
|
|
231
|
+
"/api/robopark/robots/route": [
|
|
232
232
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
233
233
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
234
234
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
235
235
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
236
|
-
"static/chunks/app/api/robopark/
|
|
236
|
+
"static/chunks/app/api/robopark/robots/route-0952b44bda5bfb6d.js"
|
|
237
237
|
],
|
|
238
|
-
"/api/robopark/
|
|
238
|
+
"/api/robopark/servers/route": [
|
|
239
239
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
240
240
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
241
241
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
242
242
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
243
|
-
"static/chunks/app/api/robopark/
|
|
243
|
+
"static/chunks/app/api/robopark/servers/route-0952b44bda5bfb6d.js"
|
|
244
244
|
],
|
|
245
|
-
"/api/robopark/servers/route": [
|
|
245
|
+
"/api/robopark/servers/[serverId]/route": [
|
|
246
246
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
247
247
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
248
248
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
249
249
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
250
|
-
"static/chunks/app/api/robopark/servers/route-0952b44bda5bfb6d.js"
|
|
250
|
+
"static/chunks/app/api/robopark/servers/[serverId]/route-0952b44bda5bfb6d.js"
|
|
251
251
|
],
|
|
252
|
-
"/api/robopark/
|
|
252
|
+
"/api/robopark/sessions/route": [
|
|
253
253
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
254
254
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
255
255
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
256
256
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
257
|
-
"static/chunks/app/api/robopark/
|
|
257
|
+
"static/chunks/app/api/robopark/sessions/route-0952b44bda5bfb6d.js"
|
|
258
258
|
],
|
|
259
|
-
"/api/
|
|
259
|
+
"/api/robovoice/robots/[robotId]/media-health/route": [
|
|
260
260
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
261
261
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
262
262
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
263
263
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
264
|
-
"static/chunks/app/api/
|
|
264
|
+
"static/chunks/app/api/robovoice/robots/[robotId]/media-health/route-0952b44bda5bfb6d.js"
|
|
265
265
|
],
|
|
266
266
|
"/api/settings/route": [
|
|
267
267
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -270,12 +270,12 @@
|
|
|
270
270
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
271
271
|
"static/chunks/app/api/settings/route-0952b44bda5bfb6d.js"
|
|
272
272
|
],
|
|
273
|
-
"/api/
|
|
273
|
+
"/api/robopark/vision-caption/route": [
|
|
274
274
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
275
275
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
276
276
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
277
277
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
278
|
-
"static/chunks/app/api/
|
|
278
|
+
"static/chunks/app/api/robopark/vision-caption/route-0952b44bda5bfb6d.js"
|
|
279
279
|
],
|
|
280
280
|
"/api/robopark/robots/[robotId]/voice-engine/route": [
|
|
281
281
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -284,19 +284,19 @@
|
|
|
284
284
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
285
285
|
"static/chunks/app/api/robopark/robots/[robotId]/voice-engine/route-0952b44bda5bfb6d.js"
|
|
286
286
|
],
|
|
287
|
-
"/api/
|
|
287
|
+
"/api/turn-credentials/route": [
|
|
288
288
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
289
289
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
290
290
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
291
291
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
292
|
-
"static/chunks/app/api/
|
|
292
|
+
"static/chunks/app/api/turn-credentials/route-0952b44bda5bfb6d.js"
|
|
293
293
|
],
|
|
294
|
-
"/api/
|
|
294
|
+
"/api/robopark/transcripts/route": [
|
|
295
295
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
296
296
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
297
297
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
298
298
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
299
|
-
"static/chunks/app/api/
|
|
299
|
+
"static/chunks/app/api/robopark/transcripts/route-0952b44bda5bfb6d.js"
|
|
300
300
|
],
|
|
301
301
|
"/camera-grid/route": [
|
|
302
302
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -312,19 +312,19 @@
|
|
|
312
312
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
313
313
|
"static/chunks/app/robopark/[...path]/route-0952b44bda5bfb6d.js"
|
|
314
314
|
],
|
|
315
|
-
"/
|
|
315
|
+
"/api/wake/route": [
|
|
316
316
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
317
317
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
318
318
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
319
319
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
320
|
-
"static/chunks/app/
|
|
320
|
+
"static/chunks/app/api/wake/route-0952b44bda5bfb6d.js"
|
|
321
321
|
],
|
|
322
|
-
"/
|
|
322
|
+
"/fed/media/robots/[robotId]/video_feed/route": [
|
|
323
323
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
324
324
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
325
325
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
326
326
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
327
|
-
"static/chunks/app/
|
|
327
|
+
"static/chunks/app/fed/media/robots/[robotId]/video_feed/route-0952b44bda5bfb6d.js"
|
|
328
328
|
],
|
|
329
329
|
"/robopark/api/robots/[robotId]/stream/route": [
|
|
330
330
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -333,19 +333,19 @@
|
|
|
333
333
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
334
334
|
"static/chunks/app/robopark/api/robots/[robotId]/stream/route-0952b44bda5bfb6d.js"
|
|
335
335
|
],
|
|
336
|
-
"/
|
|
336
|
+
"/tailnet/route": [
|
|
337
337
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
338
338
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
339
339
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
340
340
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
341
|
-
"static/chunks/app/
|
|
341
|
+
"static/chunks/app/tailnet/route-0952b44bda5bfb6d.js"
|
|
342
342
|
],
|
|
343
|
-
"/
|
|
343
|
+
"/fed/[...path]/route": [
|
|
344
344
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
345
345
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
346
346
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
347
347
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
348
|
-
"static/chunks/app/
|
|
348
|
+
"static/chunks/app/fed/[...path]/route-0952b44bda5bfb6d.js"
|
|
349
349
|
],
|
|
350
350
|
"/vendor/livekit-client.umd.js/route": [
|
|
351
351
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -368,19 +368,19 @@
|
|
|
368
368
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
369
369
|
"static/chunks/app/robopark/api/[...path]/route-0952b44bda5bfb6d.js"
|
|
370
370
|
],
|
|
371
|
-
"/
|
|
371
|
+
"/voice-tester/page": [
|
|
372
372
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
373
373
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
374
374
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
375
375
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
376
|
-
"static/chunks/app/
|
|
376
|
+
"static/chunks/app/voice-tester/page-ae699e048e0eb834.js"
|
|
377
377
|
],
|
|
378
|
-
"/
|
|
378
|
+
"/robopark/page": [
|
|
379
379
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
380
380
|
"static/chunks/4bd1b696-f785427dddbba9fb.js",
|
|
381
381
|
"static/chunks/1255-404bb8de49c90395.js",
|
|
382
382
|
"static/chunks/main-app-a1f59168303c7f84.js",
|
|
383
|
-
"static/chunks/app/
|
|
383
|
+
"static/chunks/app/robopark/page-0952b44bda5bfb6d.js"
|
|
384
384
|
],
|
|
385
385
|
"/(app)/layout": [
|
|
386
386
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
{
|
|
2
|
+
"/_not-found/page": "/_not-found",
|
|
2
3
|
"/api/device-character/route": "/api/device-character",
|
|
3
4
|
"/api/download-piper-model/route": "/api/download-piper-model",
|
|
4
5
|
"/api/models/route": "/api/models",
|
|
5
|
-
"/api/prewarm/route": "/api/prewarm",
|
|
6
6
|
"/api/prompt/route": "/api/prompt",
|
|
7
|
-
"/
|
|
7
|
+
"/api/prewarm/route": "/api/prewarm",
|
|
8
8
|
"/api/reload-tools/route": "/api/reload-tools",
|
|
9
9
|
"/api/robopark/devices/[deviceId]/control/route": "/api/robopark/devices/[deviceId]/control",
|
|
10
10
|
"/api/robopark/robots/[robotId]/operations/route": "/api/robopark/robots/[robotId]/operations",
|
|
11
|
-
"/api/robopark/transcripts/[sessionId]/route": "/api/robopark/transcripts/[sessionId]",
|
|
12
11
|
"/api/robopark/sessions/[sessionId]/end/route": "/api/robopark/sessions/[sessionId]/end",
|
|
13
|
-
"/api/
|
|
12
|
+
"/api/robopark/transcripts/[sessionId]/route": "/api/robopark/transcripts/[sessionId]",
|
|
14
13
|
"/api/setup/complete/route": "/api/setup/complete",
|
|
14
|
+
"/api/setup/status/route": "/api/setup/status",
|
|
15
15
|
"/api/setup/test-groq/route": "/api/setup/test-groq",
|
|
16
|
-
"/api/setup/test-n8n/route": "/api/setup/test-n8n",
|
|
17
|
-
"/api/setup/test-ollama/route": "/api/setup/test-ollama",
|
|
18
16
|
"/api/setup/test-hass/route": "/api/setup/test-hass",
|
|
17
|
+
"/api/setup/test-n8n/route": "/api/setup/test-n8n",
|
|
19
18
|
"/api/test-tts/route": "/api/test-tts",
|
|
20
19
|
"/api/voices/route": "/api/voices",
|
|
20
|
+
"/api/setup/test-ollama/route": "/api/setup/test-ollama",
|
|
21
|
+
"/api/wake-word/models/route": "/api/wake-word/models",
|
|
21
22
|
"/api/wake-word/status/route": "/api/wake-word/status",
|
|
22
23
|
"/api/wake-word/upload/route": "/api/wake-word/upload",
|
|
23
|
-
"/api/wake-word/models/route": "/api/wake-word/models",
|
|
24
24
|
"/favicon.ico/route": "/favicon.ico",
|
|
25
|
-
"/api/model-status/route": "/api/model-status",
|
|
26
25
|
"/api/kiosk-hardware/route": "/api/kiosk-hardware",
|
|
26
|
+
"/api/model-status/route": "/api/model-status",
|
|
27
27
|
"/api/connection-details/route": "/api/connection-details",
|
|
28
28
|
"/api/robopark/character-ai/route": "/api/robopark/character-ai",
|
|
29
|
-
"/api/robopark/live-rooms/route": "/api/robopark/live-rooms",
|
|
30
|
-
"/api/robopark/camera-token/route": "/api/robopark/camera-token",
|
|
31
29
|
"/api/robopark/device-access/route": "/api/robopark/device-access",
|
|
30
|
+
"/api/robopark/camera-token/route": "/api/robopark/camera-token",
|
|
31
|
+
"/api/robopark/live-rooms/route": "/api/robopark/live-rooms",
|
|
32
|
+
"/api/robopark/monitor-token/route": "/api/robopark/monitor-token",
|
|
32
33
|
"/api/robopark/servers/[serverId]/metrics/route": "/api/robopark/servers/[serverId]/metrics",
|
|
33
34
|
"/api/robopark/robots/route": "/api/robopark/robots",
|
|
34
|
-
"/api/robopark/monitor-token/route": "/api/robopark/monitor-token",
|
|
35
|
-
"/api/robopark/sessions/route": "/api/robopark/sessions",
|
|
36
35
|
"/api/robopark/servers/route": "/api/robopark/servers",
|
|
37
36
|
"/api/robopark/servers/[serverId]/route": "/api/robopark/servers/[serverId]",
|
|
38
|
-
"/api/robopark/
|
|
39
|
-
"/api/settings/route": "/api/settings",
|
|
37
|
+
"/api/robopark/sessions/route": "/api/robopark/sessions",
|
|
40
38
|
"/api/robovoice/robots/[robotId]/media-health/route": "/api/robovoice/robots/[robotId]/media-health",
|
|
39
|
+
"/api/settings/route": "/api/settings",
|
|
40
|
+
"/api/robopark/vision-caption/route": "/api/robopark/vision-caption",
|
|
41
41
|
"/api/robopark/robots/[robotId]/voice-engine/route": "/api/robopark/robots/[robotId]/voice-engine",
|
|
42
|
-
"/api/robopark/transcripts/route": "/api/robopark/transcripts",
|
|
43
42
|
"/api/turn-credentials/route": "/api/turn-credentials",
|
|
43
|
+
"/api/robopark/transcripts/route": "/api/robopark/transcripts",
|
|
44
44
|
"/camera-grid/route": "/camera-grid",
|
|
45
45
|
"/robopark/[...path]/route": "/robopark/[...path]",
|
|
46
|
-
"/fed/media/robots/[robotId]/video_feed/route": "/fed/media/robots/[robotId]/video_feed",
|
|
47
46
|
"/api/wake/route": "/api/wake",
|
|
47
|
+
"/fed/media/robots/[robotId]/video_feed/route": "/fed/media/robots/[robotId]/video_feed",
|
|
48
48
|
"/robopark/api/robots/[robotId]/stream/route": "/robopark/api/robots/[robotId]/stream",
|
|
49
|
-
"/fed/[...path]/route": "/fed/[...path]",
|
|
50
49
|
"/tailnet/route": "/tailnet",
|
|
50
|
+
"/fed/[...path]/route": "/fed/[...path]",
|
|
51
51
|
"/vendor/livekit-client.umd.js/route": "/vendor/livekit-client.umd.js",
|
|
52
52
|
"/(app)/opengraph-image-xg4ifa/route": "/opengraph-image-xg4ifa",
|
|
53
53
|
"/robopark/api/[...path]/route": "/robopark/api/[...path]",
|
|
54
|
-
"/robopark/page": "/robopark",
|
|
55
54
|
"/voice-tester/page": "/voice-tester",
|
|
55
|
+
"/robopark/page": "/robopark",
|
|
56
56
|
"/(app)/page": "/",
|
|
57
57
|
"/(app)/voice/page": "/voice"
|
|
58
58
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"devFiles": [],
|
|
6
6
|
"ampDevFiles": [],
|
|
7
7
|
"lowPriorityFiles": [
|
|
8
|
-
"static/
|
|
9
|
-
"static/
|
|
8
|
+
"static/8E9-VDckMmTbkbuwnaatU/_buildManifest.js",
|
|
9
|
+
"static/8E9-VDckMmTbkbuwnaatU/_ssgManifest.js"
|
|
10
10
|
],
|
|
11
11
|
"rootMainFiles": [
|
|
12
12
|
"static/chunks/webpack-5252e5254da079b5.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=7142,a.ids=[7142],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3421:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(71237),e=c(55088),f=c(17679);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},25011:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{GET:()=>y,dynamic:()=>v,runtime:()=>w});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(82680);let v="force-dynamic",w="nodejs";async function x(a){let b=Date.now();try{let c=await fetch(a,{cache:"no-store",signal:AbortSignal.timeout(2500)});return{ok:c.ok,status:c.status,latency_ms:Date.now()-b}}catch(a){return{ok:!1,error:a instanceof Error?a.message:String(a),latency_ms:Date.now()-b}}}async function y(a,b){let{robotId:c}=await b.params,d=(0,u.b)(c);if(!d)return Response.json({ok:!1,error:"robot not registered"},{status:404});let[e,f]=await Promise.all([x("http://"+d.host+":"+d.visionPort+"/api/media/inventory"),x("http://"+d.host+":"+d.audioPort+"/devices")]);return Response.json({ok:e.ok&&f.ok,robot:d,vision:e,audio:f,room:"robopark-"+d.deviceId},{status:e.ok&&f.ok?200:503})}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/robovoice/robots/[robotId]/media-health/route",pathname:"/api/robovoice/robots/[robotId]/media-health",filename:"route",bundlePath:"app/api/robovoice/robots/[robotId]/media-health/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"C:\\Users\\yunge\\OneDrive\\Desktop\\ROBOVOICE-main\\frontend\\app\\api\\robovoice\\robots\\[robotId]\\media-health\\route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){var d;let e="/api/robovoice/robots/[robotId]/media-health/route";"/index"===e&&(e="/");let g=await z.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||z.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===z.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>z.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>z.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await z.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},82680:(a,b,c)=>{"use strict";c.d(b,{b:()=>e});let d=[{id:"bmw",name:"BMW",deviceId:"dev_0422e545",host:process.env.ROBOVOICE_BMW_HOST||"192.168.0.178",visionPort:5e3,audioPort:8e3,aliases:["bmw","dev_0422e545"]}];function e(a){let b=decodeURIComponent(a).trim().toLowerCase();return(function(){let a=process.env.ROBOVOICE_ROBOTS_JSON;if(!a)return d;try{let b=JSON.parse(a);if(!Array.isArray(b))throw Error("expected a JSON array");return b.map(a=>({id:String(a.id||a.name).toLowerCase(),name:String(a.name||a.id),deviceId:String(a.deviceId||a.device_id||a.id),host:String(a.host||a.ip),visionPort:Number(a.visionPort||a.vision_port||5e3),audioPort:Number(a.audioPort||a.audio_port||8e3),aliases:Array.from(new Set([a.id,a.name,a.deviceId,a.device_id,...a.aliases||[]].filter(Boolean).map(String)))}))}catch(a){return console.error("Invalid ROBOVOICE_ROBOTS_JSON:",a),d}})().find(a=>[a.id,a.name,a.deviceId,...a.aliases].some(a=>String(a).toLowerCase()===b))}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},95736:(a,b,c)=>{"use strict";a.exports=c(44870)},96487:()=>{}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[5873],()=>b(b.s=25011));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=7142,a.ids=[7142],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3421:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(71237),e=c(55088),f=c(17679);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},25011:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{GET:()=>y,dynamic:()=>v,runtime:()=>w});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(82680);let v="force-dynamic",w="nodejs";async function x(a){let b=Date.now();try{let c=await fetch(a,{cache:"no-store",signal:AbortSignal.timeout(2500)});return{ok:c.ok,status:c.status,latency_ms:Date.now()-b}}catch(a){return{ok:!1,error:a instanceof Error?a.message:String(a),latency_ms:Date.now()-b}}}async function y(a,b){let{robotId:c}=await b.params,d=(0,u.bR)(c);if(!d)return Response.json({ok:!1,error:"robot not registered"},{status:404});let[e,f]=await Promise.all([x("http://"+d.host+":"+d.visionPort+"/api/media/inventory"),x("http://"+d.host+":"+d.audioPort+"/devices")]);return Response.json({ok:e.ok&&f.ok,robot:d,vision:e,audio:f,room:"robopark-"+d.deviceId},{status:e.ok&&f.ok?200:503})}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/robovoice/robots/[robotId]/media-health/route",pathname:"/api/robovoice/robots/[robotId]/media-health",filename:"route",bundlePath:"app/api/robovoice/robots/[robotId]/media-health/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"C:\\Users\\yunge\\OneDrive\\Desktop\\ROBOVOICE-main\\frontend\\app\\api\\robovoice\\robots\\[robotId]\\media-health\\route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){var d;let e="/api/robovoice/robots/[robotId]/media-health/route";"/index"===e&&(e="/");let g=await z.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||z.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===z.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>z.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>z.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await z.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},36228:(a,b,c)=>{"use strict";c.d(b,{n_:()=>i,wn:()=>k,z4:()=>h});var d=c(73024);let e=process.env.ROBOPARK_CONTROL_URL||"http://host.docker.internal:47913",f=process.env.ROBOPARK_SCHEDULER_URL||"http://host.docker.internal:8080",g=function(){if(process.env.ROBOPARK_CONTROL_TOKEN)return process.env.ROBOPARK_CONTROL_TOKEN.trim();let a=process.env.ROBOPARK_CONTROL_TOKEN_FILE;if(!a)return"";try{return(0,d.readFileSync)(a,"utf8").trim()}catch{return""}}();function h(){return f.replace(/\/+$/,"")}function i(){return g}let j=new Set(["connection","keep-alive","proxy-authenticate","proxy-authorization","te","trailers","transfer-encoding","upgrade","content-length"]);async function k(a,b){let c,d=new URL(a.url),h=d.searchParams.get("token");d.searchParams.delete("token");let i=b.startsWith("/robopark/"),k=new URL((i?b.slice(9):b)+d.search,i?f:e);!g&&h&&k.searchParams.set("token",h);let l=new Headers;for(let b of["accept","content-type","if-match","if-none-match"]){let c=a.headers.get(b);c&&l.set(b,c)}let m=a.headers.get("authorization");m&&l.set("authorization",m),g&&l.set("authorization","Bearer "+g);let n=a.method.toUpperCase(),o="GET"===n||"HEAD"===n?void 0:await a.arrayBuffer(),p=new AbortController,q=setTimeout(()=>p.abort(),7e3);try{c=await fetch(k,{method:n,headers:l,body:o&&o.byteLength?o:void 0,cache:"no-store",redirect:"manual",signal:p.signal})}catch(b){clearTimeout(q);let a=b instanceof Error?b.message:String(b);return Response.json({ok:!1,error:"RoboPark control upstream unavailable",detail:a,upstream:k.origin},{status:502,headers:{"cache-control":"no-store"}})}clearTimeout(q);let r=new Headers;return c.headers.forEach((a,b)=>{j.has(b.toLowerCase())||r.set(b,a)}),r.set("cache-control","no-store"),r.set("x-robopark-control-source",k.origin),new Response(c.body,{status:c.status,statusText:c.statusText,headers:r})}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},78335:()=>{},82680:(a,b,c)=>{"use strict";c.d(b,{QX:()=>i,bR:()=>f});var d=c(36228);let e=[{id:"bmw",name:"BMW",deviceId:"dev_0422e545",host:process.env.ROBOVOICE_BMW_HOST||"192.168.0.178",visionPort:5e3,audioPort:8e3,aliases:["bmw","dev_0422e545"]}];function f(a){let b=decodeURIComponent(a).trim().toLowerCase();return(function(){let a=process.env.ROBOVOICE_ROBOTS_JSON;if(!a)return e;try{let b=JSON.parse(a);if(!Array.isArray(b))throw Error("expected a JSON array");return b.map(a=>({id:String(a.id||a.name).toLowerCase(),name:String(a.name||a.id),deviceId:String(a.deviceId||a.device_id||a.id),host:String(a.host||a.ip),visionPort:Number(a.visionPort||a.vision_port||5e3),audioPort:Number(a.audioPort||a.audio_port||8e3),aliases:Array.from(new Set([a.id,a.name,a.deviceId,a.device_id,...a.aliases||[]].filter(Boolean).map(String)))}))}catch(a){return console.error("Invalid ROBOVOICE_ROBOTS_JSON:",a),e}})().find(a=>[a.id,a.name,a.deviceId,...a.aliases].some(a=>String(a).toLowerCase()===b))}async function g(a){let b=(0,d.n_)();try{let c=await fetch((0,d.z4)()+a,{cache:"no-store",headers:b?{authorization:"Bearer "+b}:{},signal:AbortSignal.timeout(2500)});if(!c.ok)return null;return await c.json()}catch{return null}}function h(a){let b=String(a.lan_ip||a.tailscale_ip||a.last_seen_ip||"").trim();return b?{id:String(a.id),name:String(a.name||a.id),deviceId:String(a.id),host:b,visionPort:5e3,audioPort:8e3,aliases:[String(a.id),String(a.name||a.id)]}:null}async function i(a){let b=decodeURIComponent(a).trim();if(!b)return null;let c=await g("/api/devices/"+encodeURIComponent(b));if(c?.id)return h(c);let d=await g("/api/devices");if(!Array.isArray(d))return null;let e=b.toLowerCase(),f=d.find(a=>String(a.id)===b||String(a.name||"").toLowerCase()===e);return f?h(f):null}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},95736:(a,b,c)=>{"use strict";a.exports=c(44870)},96487:()=>{}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[5873],()=>b(b.s=25011));module.exports=c})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(()=>{var a={};a.id=7204,a.ids=[7204],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},36228:(a,b,c)=>{"use strict";c.d(b,{
|
|
1
|
+
(()=>{var a={};a.id=7204,a.ids=[7204],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},36228:(a,b,c)=>{"use strict";c.d(b,{n_:()=>i,wn:()=>k,z4:()=>h});var d=c(73024);let e=process.env.ROBOPARK_CONTROL_URL||"http://host.docker.internal:47913",f=process.env.ROBOPARK_SCHEDULER_URL||"http://host.docker.internal:8080",g=function(){if(process.env.ROBOPARK_CONTROL_TOKEN)return process.env.ROBOPARK_CONTROL_TOKEN.trim();let a=process.env.ROBOPARK_CONTROL_TOKEN_FILE;if(!a)return"";try{return(0,d.readFileSync)(a,"utf8").trim()}catch{return""}}();function h(){return f.replace(/\/+$/,"")}function i(){return g}let j=new Set(["connection","keep-alive","proxy-authenticate","proxy-authorization","te","trailers","transfer-encoding","upgrade","content-length"]);async function k(a,b){let c,d=new URL(a.url),h=d.searchParams.get("token");d.searchParams.delete("token");let i=b.startsWith("/robopark/"),k=new URL((i?b.slice(9):b)+d.search,i?f:e);!g&&h&&k.searchParams.set("token",h);let l=new Headers;for(let b of["accept","content-type","if-match","if-none-match"]){let c=a.headers.get(b);c&&l.set(b,c)}let m=a.headers.get("authorization");m&&l.set("authorization",m),g&&l.set("authorization","Bearer "+g);let n=a.method.toUpperCase(),o="GET"===n||"HEAD"===n?void 0:await a.arrayBuffer(),p=new AbortController,q=setTimeout(()=>p.abort(),7e3);try{c=await fetch(k,{method:n,headers:l,body:o&&o.byteLength?o:void 0,cache:"no-store",redirect:"manual",signal:p.signal})}catch(b){clearTimeout(q);let a=b instanceof Error?b.message:String(b);return Response.json({ok:!1,error:"RoboPark control upstream unavailable",detail:a,upstream:k.origin},{status:502,headers:{"cache-control":"no-store"}})}clearTimeout(q);let r=new Headers;return c.headers.forEach((a,b)=>{j.has(b.toLowerCase())||r.set(b,a)}),r.set("cache-control","no-store"),r.set("x-robopark-control-source",k.origin),new Response(c.body,{status:c.status,statusText:c.statusText,headers:r})}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},76760:a=>{"use strict";a.exports=require("node:path")},78335:()=>{},81510:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>M,patchFetch:()=>L,routeModule:()=>H,serverHooks:()=>K,workAsyncStorage:()=>I,workUnitAsyncStorage:()=>J});var d={};c.r(d),c.d(d,{GET:()=>F,POST:()=>G,dynamic:()=>z});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(51455),v=c(76760),w=c(10641),x=c(99435),y=c(36228);let z="force-dynamic",A=(process.env.INFINICODE_MESH_URL||process.env.ROBOPARK_HUB_URL||process.env.FEDERATION_URL||"").replace(/\/+$/,""),B=(process.env.ROBOPARK_SCHEDULER_URL||"http://host.docker.internal:8080").replace(/\/+$/,"");async function C(){try{return(await fetch(`${B}/api/settings`,{cache:"no-store",signal:AbortSignal.timeout(4e3)})).ok}catch{return!1}}async function D(a,b){let c=function(a,b){if(!A)return null;let c=new URL(`/fed/${b}${a.nextUrl.search}`,`${A}/`);return c.origin===a.nextUrl.origin?null:c}(a,b);if(!c)return null;try{let b,d=new Headers,e=a.headers.get("authorization");e&&d.set("authorization",e);let f=a.headers.get("content-type");f&&d.set("content-type",f);let g=new AbortController,h=setTimeout(()=>g.abort(),12e3);try{b=await fetch(c,{method:a.method,headers:d,body:"GET"===a.method||"HEAD"===a.method?void 0:await a.arrayBuffer(),cache:"no-store",signal:g.signal})}finally{clearTimeout(h)}let i=new Headers;return i.set("Content-Type",b.headers.get("content-type")||"application/json"),i.set("Cache-Control","no-store"),new Response(b.body,{status:b.status,headers:i})}catch{return null}}async function E(){try{let a=await (0,u.readFile)((0,v.join)(process.cwd(),"public","robopark-control.html"),"utf8");return a.match(/<meta name="robopark-ui-build" content="([^"]+)">/)?.[1]||"robovoice-control"}catch{return"robovoice-control"}}async function F(a,b){let c=(await b.params).path.join("/");if("ui-build"===c)return w.NextResponse.json({build:await E(),source:"robovoice-control"});if("network-info"===c){let b=a.headers.get("x-forwarded-proto")?.split(",")[0].trim(),c=a.headers.get("x-forwarded-host")?.split(",")[0].trim(),d=b||a.nextUrl.protocol.replace(":","")||"https",e=c?`${d}://${c}`:a.nextUrl.origin,f=process.env.ROBOPARK_LAN_URL||"",g=!f||/:\/\/0\.0\.0\.0(?::|\/|$)/.test(f)?e:f,h=c?.endsWith(".ts.net")?e:process.env.ROBOPARK_TAILSCALE_URL||"";return w.NextResponse.json({lan:g,tail:h,tail_dns:h||process.env.ROBOPARK_TAILSCALE_DNS||"",control_url:e,source:"robovoice-control"})}let d=await D(a,c);if(d)return d;let e=await (0,y.wn)(a,`/fed/${c}`);if(502!==e.status)return e;if("stream"===c){let a,b=new TextEncoder;return new Response(new ReadableStream({start(c){c.enqueue(b.encode(": robovoice standalone stream ready\n\n")),a=setInterval(()=>{try{c.enqueue(b.encode(`event: heartbeat
|
|
2
2
|
data: ${JSON.stringify({t:"heartbeat",n:"robovoice-control",ts:Date.now(),d:{standalone:!0}})}
|
|
3
3
|
|
|
4
|
-
`))}catch{a&&clearInterval(a)}},15e3)},cancel(){a&&clearInterval(a)}}),{headers:{"Content-Type":"text/event-stream; charset=utf-8","Cache-Control":"no-cache, no-transform",Connection:"keep-alive"}})}if("status"===c){let a=await (0,x.U)(),b=Date.now(),c=await C();return w.NextResponse.json({self:{nodeId:"robovoice-control",displayName:"RoboVoice Control Center",role:"hub",version:process.env.npm_package_version||"development",platform:process.platform,arch:process.arch,capabilities:["voice","dashboard"],workers:[],commands:[],providers:["robovoice","elevenlabs"],startedAt:b},role:{role:"hub",site:process.env.ROBOPARK_SITE||"Local control"},nodes:[],hardware:null,runs:[],agents:[],activity:[],control:{readonly:!c,schedulerLinked:c,registrySource:a.registry_source},ts:b})}return w.NextResponse.json({ok:!1,disabled:!0,error:`Mesh endpoint /fed/${c} requires INFINICODE_MESH_URL`},{status:503})}async function G(a,b){let c=(await b.params).path.join("/"),d=await D(a,c);if(d)return d;let e=await (0,y.
|
|
4
|
+
`))}catch{a&&clearInterval(a)}},15e3)},cancel(){a&&clearInterval(a)}}),{headers:{"Content-Type":"text/event-stream; charset=utf-8","Cache-Control":"no-cache, no-transform",Connection:"keep-alive"}})}if("status"===c){let a=await (0,x.U)(),b=Date.now(),c=await C();return w.NextResponse.json({self:{nodeId:"robovoice-control",displayName:"RoboVoice Control Center",role:"hub",version:process.env.npm_package_version||"development",platform:process.platform,arch:process.arch,capabilities:["voice","dashboard"],workers:[],commands:[],providers:["robovoice","elevenlabs"],startedAt:b},role:{role:"hub",site:process.env.ROBOPARK_SITE||"Local control"},nodes:[],hardware:null,runs:[],agents:[],activity:[],control:{readonly:!c,schedulerLinked:c,registrySource:a.registry_source},ts:b})}return w.NextResponse.json({ok:!1,disabled:!0,error:`Mesh endpoint /fed/${c} requires INFINICODE_MESH_URL`},{status:503})}async function G(a,b){let c=(await b.params).path.join("/"),d=await D(a,c);if(d)return d;let e=await (0,y.wn)(a,`/fed/${c}`);return 502!==e.status?e:w.NextResponse.json({ok:!1,readonly:!0,error:"No Infinicode mesh upstream is configured"},{status:503})}let H=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/fed/[...path]/route",pathname:"/fed/[...path]",filename:"route",bundlePath:"app/fed/[...path]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"C:\\Users\\yunge\\OneDrive\\Desktop\\ROBOVOICE-main\\frontend\\app\\fed\\[...path]\\route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:I,workUnitAsyncStorage:J,serverHooks:K}=H;function L(){return(0,g.patchFetch)({workAsyncStorage:I,workUnitAsyncStorage:J})}async function M(a,b,c){var d;let e="/fed/[...path]/route";"/index"===e&&(e="/");let g=await H.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),E=!!(y.dynamicRoutes[D]||y.routes[C]);if(E&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let F=null;!E||H.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===H.isDev||!E,I=E&&!G,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:G,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>H.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>H.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!E)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await H.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await H.handleResponse({req:a,nextConfig:w,cacheKey:F,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!E)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&E||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await H.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),E)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},96487:()=>{},99435:(a,b,c)=>{"use strict";c.d(b,{U:()=>l});var d=c(51455),e=c(76760);let f=(process.env.WEBHOOK_URL||"http://agent:8889").replace(/\/+$/,""),g=null,h=0,i=null;function j(a,b){return{...a,characters:Array.isArray(a.characters)?a.characters:[],device_registry:a.device_registry&&"object"==typeof a.device_registry?a.device_registry:{},registry_source:b}}async function k(){for(let a of[process.env.CAAL_SETTINGS_PATH,process.env.ROBOVOICE_SETTINGS_PATH,(0,e.resolve)(process.cwd(),"..","settings.json"),(0,e.resolve)(process.cwd(),"settings.json")].filter(a=>!!a))try{let b=JSON.parse(await (0,d.readFile)(a,"utf8"));return j(b,"persisted-snapshot")}catch{}return j({},"empty")}async function l(){if(g&&Date.now()<h)return g;if(i)return i;i=(async()=>{try{let a=await fetch(`${f}/settings`,{cache:"no-store",signal:AbortSignal.timeout(1500)});if(!a.ok)throw Error(`Settings registry returned ${a.status}`);let b=await a.json();return g=null,h=0,j(b.settings||b,"live-agent")}catch{return g=await k(),h=Date.now()+15e3,g}})();try{return await i}finally{i=null}}}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[5873,1428,1692],()=>b(b.s=81510));module.exports=c})();
|